Extract the mapped portion of the read sequence
1
1
Entering edit mode
2.4 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 • 514 views
ADD COMMENT
1
Entering edit mode
2.4 years ago
ATpoint 82k

Unsurprisingly Pierre Lindenbaum has a jvarkit extension for just that:

Remove Soft Clipped Bases

ADD COMMENT

Login before adding your answer.

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