Trim alignment from .sam file based on a specific tab-delimiter .bed file
0
0
Entering edit mode
3.6 years ago
khanhlpbao • 0

Hi, I have seen multiple ways to trim out alignment from .bam file based on a blacklist .bed file. However, I want to trim alignments directly from .sam file based on the blacklist .bed file I already has. Does anyway to me to do this? Thank you very much

sam • 934 views
ADD COMMENT
0
Entering edit mode

However, I want to trim alignments directly from .sam file based on the blacklist .bed file I already has

so, what's wrong with the multiple methods you saw ?

ADD REPLY
0
Entering edit mode

I just don't want to convert the sam to bam to trim alignments and then reconvert it to sam. The process is time-consuming and cost a lot of memory on hard drive

ADD REPLY
0
Entering edit mode

I just don't want to convert the sam to bam to trim alignments and then reconvert it to sam.

which tools are you referring to ?

by the way. There is no way to edit a BAM in place. You always have to write a new file (BAM or SAM).

ADD REPLY

Login before adding your answer.

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