Changes between Version 42 and Version 43 of SOPs/miningSAMBAM


Ignore:
Timestamp:
02/07/20 10:27:55 (5 years ago)
Author:
gbell
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SOPs/miningSAMBAM

    v42 v43  
    204204bcftools call -O v -c Mapped_reads.variants.bcf | vcfutils.pl vcf2fq -d 2 >| Mapped_reads.consensus.fq
    205205}}}
     206
     207=== Convert BAM to BED format ===
     208
     209This 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
     214bam2bed < Mapped_reads.bam > Mapped_reads.bam
     215}}}