You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pairtools parse2 returns <class 'NotImplementedType'> when using --add-columns seq #281
I'm attempting to extract the seq fields from a bam file using pairtools parse2 by passing --add-columns 'seq'. It is returning the string <class 'NotImplementedType'> in all rows for the seq1 and seq2 columns of the output .pairs file, with the other columns looking normal. To try to debug, I modified the parse2 code to print sam.seq and sam.query_sequence on this line:
if store_seq:
print(sam.seq) # Also prints "<class 'NotImplementedType'>"
algn["seq"] = sam.seq
This displays the same thing. I can extract the sequence from the sam fields instead, but it would be convenient to have it returned directly. Thanks for any help you can offer.
Activity