Changes between Version 17 and Version 18 of SOPs/variant_calling
- Timestamp:
- 07/13/17 15:15:12 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SOPs/variant_calling
v17 v18 61 61 In our experience, "-B" (disable BAQ) or "-E" (recalculate BAQ) works better than the default method, which can remove some obvious variants. 62 62 {{{ 63 samtools mpileup -d100000 -t DP, DPR,DV,DP4,INFO/DPR,SP -Buf /nfs/genomes/sgd_2010/bwa/sacCer3.fa A_reads.bt2.sorted_unique.bam | bcftools call -O b -v -c - >| A_reads.bt2.sorted_unique.raw.bcf63 samtools mpileup -d100000 -t DP,AD,DV,ADF,ADR,INFO/AD,SP -Buf /nfs/genomes/sgd_2010/bwa/sacCer3.fa A_reads.bt2.sorted_unique.bam | bcftools call -O b -v -c - >| A_reads.bt2.sorted_unique.raw.bcf 64 64 #in bcftools call: -m for multi-allelic, -c for bi-alleleic 65 65 }}} 66 66 Call variants (multiple sample vs. reference) using a set of BAM files 67 67 {{{ 68 samtools mpileup -d100000 -t DP, DPR,DV,DP4,INFO/DPR,SP -Buf /nfs/genomes/sgd_2010/bwa/sacCer3.fa *_reads.bt2.sorted_unique.bam | bcftools call -O b -v -c - >| ALL_reads.bt2.sorted_unique.raw.bcf68 samtools mpileup -d100000 -t DP,AD,DV,ADF,ADR,INFO/AD,SP -Buf /nfs/genomes/sgd_2010/bwa/sacCer3.fa *_reads.bt2.sorted_unique.bam | bcftools call -O b -v -c - >| ALL_reads.bt2.sorted_unique.raw.bcf 69 69 }}} 70 70