Mate pair positions using pysam
0
0
Entering edit mode
9.3 years ago

I can do this for the read in pysam

pos = read.positions
# returns a list of positions

I want to do this for the mate. There is no .mpositions but there is a .mpos

Thanks!

python pysam mate-pair • 2.8k views
ADD COMMENT
0
Entering edit mode

Hello,

It seems that .mpos is deprecated by .next_reference_start now, but I still have a problem using it. If the mate read of a read exists and it is aligned to a position of the chrom, .next_reference_start returns a region of aligned mate reads or just the start?

Thanks a lot,
Fredsamhaak

ADD REPLY
0
Entering edit mode

Please make a new question horticulturesh, you've "answered" a few other questions with your own questions, which is not how this is supposed to work :P Write a new question, give as much code/data as you can, and you will get an answer :)

ADD REPLY

Login before adding your answer.

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