Closed Jeltje closed 8 years ago
This looks like an issue with pysam. Are you using virtualenv with marginAlign (pysam==0.8.2.1)? If not, could you check your pysam version? Pysam can have significant variations within versions.
We are working on speeding marginStats as well as containerize it to reduce dependence on version specific libraries.
Yes, that did it. I have 0.9.1.3
on my system. Thanks!
I ran marginAlign on nanopore data. Full disclosure: my database was Gencode transcripts, not genome, but it seemed to work just fine (the sam header was just really, really long). But when I tried marginStats on the output, I kept getting this
index out of range
error. I played some with the code, but I can't seem to find the problem.Minimal example input here:
marginStats test.sam test.fastq tx.fa --identity
Full error: