Splitting human bam file into fixed regions
0
0
Entering edit mode
22 months ago
irfanwustl ▴ 80

I have a bam file for the human whole genome. I want to split the bam file into multiple bam files, each having a fixed number of bases. How can I do this efficiently? I know I can generate a bed file with fixed regions, then run samtools view. Any other better way?

Bam • 566 views
ADD COMMENT
0
Entering edit mode

I want to split the bam file into multiple bam

why would you want to do this. What is the "next step" ?

ADD REPLY
0
Entering edit mode

Sound like an XY problem:

https://xyproblem.info/

I would recommend talking about the problem you think the above is a solution to.

ADD REPLY

Login before adding your answer.

Traffic: 2544 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