Most represented reads in SAM file
0
0
Entering edit mode
7.1 years ago
Picasa ▴ 640

Hi,

I am looking for your help.

I have a SAM file (with paired reads that I have mapped against a reference) and I would like to extract the paired read which is the most represented (or most abundant). I want to select the paired read the most covered for a particular reference.

Is there a tool for this ?

Thanks.

sam reads representated • 807 views
ADD COMMENT
0
Entering edit mode

what's your criteria for "most represented" ? very same sequence ? match the same overlapping segment ? ...

ADD REPLY
0
Entering edit mode

Yes same sequences (at 100%).

ADD REPLY
0
Entering edit mode

Mapping to the same location for both reads?

Answer would depend largely on what aligner you used and how it treated multi-mappers. ( e.g. with bbmap using the option ambig=all would be needed to get all locations where a read-pair aligns). Aligners may not report all alignments by default.

ADD REPLY
0
Entering edit mode

Sorry I forgot to mention that I use BWA with the option -M

And yes mapping the same location (because the same reads).

ADD REPLY

Login before adding your answer.

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