Extract the mapped portion of the read sequence
1
1
Entering edit mode
2.9 years ago
rubic ▴ 270

Probably an easy one.

I'm interested in extracting from a bam file only the portions (i.e., sequence) of a read that match and mismatch the reference, i.e., excluding the clipped positions.

Any idea?

bam RNA-Seq cigar • 592 views
ADD COMMENT
1
Entering edit mode
2.9 years ago
ATpoint 85k

Unsurprisingly Pierre Lindenbaum has a jvarkit extension for just that:

Remove Soft Clipped Bases

ADD COMMENT

Login before adding your answer.

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