annotate test-data/test/snps.log @ 2:2d400172381a draft

Added more dependencies
author simon-gladman
date Mon, 06 Jun 2016 00:42:26 -0400
parents 0801bffdfcc8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
1
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
2 ### samtools faidx reference/ref.fa
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
3
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
4
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
5 ### bwa index reference/ref.fa
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
6
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
7 [bwa_index] Pack FASTA... 0.04 sec
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
8 [bwa_index] Construct BWT for the packed sequence...
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
9 [bwa_index] 2.34 seconds elapse.
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
10 [bwa_index] Update BWT... 0.04 sec
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
11 [bwa_index] Pack forward-only FASTA... 0.03 sec
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
12 [bwa_index] Construct SA from BWT and Occ... 0.61 sec
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
13 [main] Version: 0.7.12-r1039
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
14 [main] CMD: bwa index reference/ref.fa
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
15 [main] Real time: 3.079 sec; CPU: 3.060 sec
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
16
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
17 ### (bwa mem -v 2 -M -R '@RG ID:snps SM:snps' -t 1 reference/ref.fa /Users/Simon/code/galaxy-wrappers/snippy/test-data/reads_1.fq /Users/Simon/code/galaxy-wrappers/snippy/test-data/reads_2.fq | samtools view -@ 1 -q 60 -F 3844 -S -b -u -T ref.fa - | samtools sort -@ 1 - snps)
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
18
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
19 [samfaipath] fail to read file ref.fa.
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
20 [M::mem_pestat] skip orientation FF as there are not enough pairs
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
21 [M::mem_pestat] analyzing insert size distribution for orientation FR...
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
22 [M::mem_pestat] (25, 50, 75) percentile: (429, 488, 536)
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
23 [M::mem_pestat] low and high boundaries for computing mean and std.dev: (215, 750)
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
24 [M::mem_pestat] mean and std.dev: (479.53, 81.93)
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
25 [M::mem_pestat] low and high boundaries for proper pairs: (108, 857)
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
26 [M::mem_pestat] skip orientation RF as there are not enough pairs
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
27 [M::mem_pestat] skip orientation RR as there are not enough pairs
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
28 [main] Version: 0.7.12-r1039
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
29 [main] CMD: bwa mem -v 2 -M -R @RG ID:snps SM:snps -t 1 reference/ref.fa /Users/Simon/code/galaxy-wrappers/snippy/test-data/reads_1.fq /Users/Simon/code/galaxy-wrappers/snippy/test-data/reads_2.fq
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
30 [main] Real time: 0.268 sec; CPU: 0.262 sec
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
31
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
32 ### samtools index snps.bam
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
33
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
34
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
35 ### samtools depth -q 20 snps.bam | bgzip > snps.depth.gz
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
36
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
37
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
38 ### tabix -s 1 -b 2 -e 2 snps.depth.gz
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
39
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
40
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
41 ### fasta_generate_regions.py reference/ref.fa.fai 1397543 > reference/ref.txt
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
42
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
43
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
44 ### freebayes-parallel reference/ref.txt 1 -p 1 -q 20 -m 60 -F 0.9 -C 10 -V -f reference/ref.fa snps.bam > snps.raw.vcf
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
45
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
46 WARNING(freebayes): Could not find any mapped reads in target region gi|15829254|ref|NC_002695.1|:1397543..2795086
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
47
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
48 ### vcffilter -f 'DP > 9' -f 'QUAL > 10' snps.raw.vcf > snps.vcf
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
49
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
50
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
51 ### bgzip -c snps.vcf > snps.vcf.gz
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
52
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
53
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
54 ### tabix -p vcf snps.vcf.gz
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
55
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
56
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
57 ### /usr/local/Cellar/snippy/2.6/bin/snippy-vcf_to_tab --gff reference/ref.gff --ref reference/ref.fa --vcf snps.vcf > snps.tab
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
58
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
59 Loading reference: reference/ref.fa
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
60 Loaded 1 sequences.
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
61 Loading features: reference/ref.gff
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
62 Parsing variants: snps.vcf
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
63 Converted 0 SNPs to TAB format.
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
64
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
65 ### vcf-consensus snps.vcf.gz < reference/ref.fa > snps.consensus.fa
0801bffdfcc8 Initial upload
simon-gladman
parents:
diff changeset
66