Open superbobry opened 10 years ago
If you change that line to test .startswith('@') and open a pull request, I'll be glad to accept. I'd rather not depend on pysam.
Yup, I've already tried this and ended up with a KeyError
in pafasta
.
gsnap-meth.py
script seems to work however. Is there a reason for keeping it separately from the rest of the project?
Hmm, can you send the traceback for the KeyError after changing
re: gsnap-meth: I wrote that later and didn't test it fully. As far as I know it is working, but use with caution. I wanted to check it to make sure paired-end was working as expected. I had reports that it did but as I remember, there was a couple more cases I wanted to check.
-Brent
On Mon, Nov 11, 2013 at 7:30 AM, Sergei Lebedev notifications@github.comwrote:
Yup, I've already tried this and ended up with a KeyError in pafasta.
gsnap-meth.py script seems to work however. Is there a reason for keeping it separately from the rest of the project?
— Reply to this email directly or view it on GitHubhttps://github.com/brentp/methylcode/issues/7#issuecomment-28203809 .
I'm using
MethylCoder
from GitHub withgsnap
:It seems that the parser isn't expecting SAM header. Have you considered using a separate library for reading and writing SAM files, i. e.
pysam
?