How to remove a chr from a bam file?
1
1
Entering edit mode
5.9 years ago
mbk0asis ▴ 620

Hi.

If you want to remove reads mapped on a certain chr, how would you do that?

I know 'samtools' can extract reads on a chr. Extraction of each chr and combining chr data I want would solve the problem, but I have multiple bam files to run it. 

So, if anyone of you know how to REMOVE a single chr (e.g. chr1 only), please tell me.

Thank you!

RNA-Seq samtools • 7.0k views
ADD COMMENT
6
Entering edit mode
ADD COMMENT
0
Entering edit mode

Thanks! It's the answer I wanted.

ADD REPLY
0
Entering edit mode

I've moved Ashutosh's comment to an answer. Please accept it.

ADD REPLY

Login before adding your answer.

Traffic: 2413 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6