Mercurial > repos > dfornika > snippy
annotate test-data/fna_ref_b_testing/snps.log @ 20:3bbfe41787af draft
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
| author | dfornika |
|---|---|
| date | Fri, 08 Mar 2019 20:46:56 -0500 |
| parents | |
| children |
| rev | line source |
|---|---|
|
20
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
1 ### cd /home/dfornika/Code/tools-iuc/tools/snippy/test-data |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
2 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
3 ### /home/dfornika/miniconda3/envs/snippy-4.3.6/bin/snippy --outdir fna_ref_b_testing --cpus 1 --ref reference.fasta --mapqual 60 --mincov 2 --minfrac 0.9 --minqual 60.0 --R1 b_1.fastq --R2 b_2.fastq |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
4 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
5 ### samtools faidx reference/ref.fa |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
6 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
7 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
8 ### bwa index reference/ref.fa |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
9 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
10 [bwa_index] Pack FASTA... 0.00 sec |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
11 [bwa_index] Construct BWT for the packed sequence... |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
12 [bwa_index] 0.00 seconds elapse. |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
13 [bwa_index] Update BWT... 0.00 sec |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
14 [bwa_index] Pack forward-only FASTA... 0.00 sec |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
15 [bwa_index] Construct SA from BWT and Occ... 0.00 sec |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
16 [main] Version: 0.7.17-r1188 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
17 [main] CMD: bwa index reference/ref.fa |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
18 [main] Real time: 0.009 sec; CPU: 0.003 sec |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
19 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
20 ### mkdir -p reference/genomes && cp -f reference/ref.fa reference/genomes/ref.fa |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
21 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
22 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
23 ### ln -sf reference/ref.fa . |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
24 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
25 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
26 ### ln -sf reference/ref.fa.fai . |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
27 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
28 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
29 ### mkdir -p reference/ref && gzip -c reference/ref.gff > reference/ref/genes.gff.gz |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
30 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
31 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
32 ### bwa mem -Y -M -R '@RG\tID:fna_ref_b_testing\tSM:fna_ref_b_testing' -t 1 reference/ref.fa /home/dfornika/Code/tools-iuc/tools/snippy/test-data/b_1.fastq /home/dfornika/Code/tools-iuc/tools/snippy/test-data/b_2.fastq | samclip --max 10 --ref reference/ref.fa.fai | samtools sort -n -l 0 -T /tmp/snippy.8702. --threads 1 -m 8000M | samtools fixmate -m - - | samtools sort -l 0 -T /tmp/snippy.8702. --threads 1 -m 8000M | samtools markdup -T /tmp/snippy.8702. -r -s - - > snps.bam |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
33 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
34 READ 10 WRITTEN 2 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
35 EXCLUDED 0 EXAMINED 10 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
36 PAIRED 10 SINGLE 0 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
37 DULPICATE PAIR 8 DUPLICATE SINGLE 0 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
38 DUPLICATE TOTAL 8 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
39 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
40 ### samtools index snps.bam |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
41 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
42 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
43 ### fasta_generate_regions.py reference/ref.fa.fai 1000 > reference/ref.txt |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
44 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
45 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
46 ### freebayes-parallel reference/ref.txt 1 -p 2 -P 0 -C 2 --min-repeat-entropy 1.5 --strict-vcf -q 13 -m 60 --min-coverage 2 -F 0.05 -f reference/ref.fa snps.bam > snps.raw.vcf |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
47 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
48 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
49 ### bcftools view --include 'FMT/GT="1/1" && QUAL>=60.0 && FMT/DP>=2 && (FMT/AO)/(FMT/DP)>=0.9' snps.raw.vcf | vt normalize -r reference/ref.fa - | bcftools annotate --remove '^INFO/TYPE,^INFO/DP,^INFO/RO,^INFO/AO,^INFO/AB,^FORMAT/GT,^FORMAT/DP,^FORMAT/RO,^FORMAT/AO,^FORMAT/QR,^FORMAT/QA,^FORMAT/GL' > snps.filt.vcf |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
50 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
51 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
52 ### cp snps.filt.vcf snps.vcf |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
53 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
54 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
55 ### /home/dfornika/miniconda3/envs/snippy-4.3.6/bin/snippy-vcf_to_tab --gff reference/ref.gff --ref reference/ref.fa --vcf snps.vcf > snps.tab |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
56 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
57 Loading reference: reference/ref.fa |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
58 Loaded 1 sequences. |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
59 Loading features: reference/ref.gff |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
60 Parsing variants: snps.vcf |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
61 Converted 1 SNPs to TAB format. |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
62 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
63 ### /home/dfornika/miniconda3/envs/snippy-4.3.6/bin/snippy-vcf_extract_subs snps.filt.vcf > snps.subs.vcf |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
64 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
65 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
66 ### bcftools convert -Oz -o snps.vcf.gz snps.vcf |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
67 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
68 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
69 ### bcftools index -f snps.vcf.gz |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
70 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
71 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
72 ### bcftools consensus -f reference/ref.fa -o snps.consensus.fa snps.vcf.gz |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
73 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
74 Note: the --sample option not given, applying all records regardless of the genotype |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
75 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
76 ### bcftools convert -Oz -o snps.subs.vcf.gz snps.subs.vcf |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
77 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
78 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
79 ### bcftools index -f snps.subs.vcf.gz |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
80 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
81 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
82 ### bcftools consensus -f reference/ref.fa -o snps.consensus.subs.fa snps.subs.vcf.gz |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
83 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
84 Note: the --sample option not given, applying all records regardless of the genotype |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
85 |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
86 ### rm -f snps.subs.vcf.gz snps.subs.vcf.gz.csi snps.subs.vcf.gz.tbi |
|
3bbfe41787af
planemo upload commit bf653fc1bf39312caf070843fbde7b2570330917-dirty
dfornika
parents:
diff
changeset
|
87 |
