Our Sponsors



Download BioinformaticsOnline(BOL) Apps in your chrome browser.




Question: Question: How to extract all the reads mapped at specific region in a genome?

Poonam Mahapatra
2492 days ago

Question: How to extract all the reads mapped at specific region in a genome?

 I want to extract all the reads mapped at chr5: 200-6000. 

Answers
0

samtools index your.bam
samtools view your.bam "chr5:200-6000" > output.bam

That would output all reads in chr5 between 200-6000 bp.