Changes between Version 4 and Version 5 of SOPs/variant_calling
- Timestamp:
- 10/17/13 13:25:04 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SOPs/variant_calling
v4 v5 38 38 }}} 39 39 40 Get uniquely mapping reads 40 Get uniquely mapping reads (?) 41 41 {{{ 42 42 samtools view -h A_reads.bt2.bam | grep -v XS:i: | samtools view -bS - > A_reads.bt2.sorted_unique.bam 43 }}} 44 45 Remove duplicated reads assumed to be PCR artifacts (?) 46 {{{ 47 # paired-end reads 48 samtools rmdup A_reads.bt2.sorted.bam A_reads.bt2.sorted.noDups.bam 49 # single-end reads 50 samtools rmdup -s A_reads.bt2.sorted.bam A_reads.bt2.sorted.noDups.bam 43 51 }}} 44 52