Entering edit mode
4.3 years ago
MAPK
★
2.1k
Hi Everyone,
I have several hundreds of cram files. I need to extract some bed regions from these files. Is there a way to extract bed regions from cram without unwrapping them to BAM? My final output should be BAM file for selected regions for each sample.
Hi Pierre, I am starting with CRAM not BAM.
fixed
Added
-b
to your command to avoid unheadered SAM output :)ah yes ! thanks you ! :-)
How is the solution addressing this requirement?
Not sure why this gives me error, but @ATpoint's answer works great.