Entering edit mode
11.6 years ago
lin.barnum
▴
230
I would like to extract consensus sequence of only the mapped regions from a BAM file. I have a bam file which contains only a few regions that are mapped, most of my regions are completely unmapped. How could I go about this?
Thanks,
You might find this thread or this link useful for your purpose.
How to generate a consensus fasta sequence from SAM tools pileup?
http://chipster.csc.fi/manual/samtools-consensus.html