Changes between Version 42 and Version 43 of SOPs/miningSAMBAM
- Timestamp:
- 02/07/20 10:27:55 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SOPs/miningSAMBAM
v42 v43 204 204 bcftools call -O v -c Mapped_reads.variants.bcf | vcfutils.pl vcf2fq -d 2 >| Mapped_reads.consensus.fq 205 205 }}} 206 207 === Convert BAM to BED format === 208 209 This can be helpful for genome browser viewing, as features in a BAM file are only visible when the browser is zoomed in enough, whereas BED features are visible at any scale. 210 211 {{{ 212 # Use bam2bed from the bedtools suite 213 # Run 'bam2bed -h' to get all options 214 bam2bed < Mapped_reads.bam > Mapped_reads.bam 215 }}}