Closed fgypas closed 4 years ago
Maybe the first 5 reads are fine, but within the selected region, they are somehow messed up. Can you run the simple loop without the islice (and perhaps without the print), to see if you get through the whole file without error?
Hi @simon-anders
Thanks for the quick reply. I looped over the file without a problem.
I uploaded here an example file: bam: https://drive.google.com/open?id=1WPWGUCi9oD-hfbvq9CqVkKTi3OG4BCl1 bai: https://drive.google.com/open?id=1zx0z7esY00Lalvg1oTW0alM7AkTSIibX
You can get the error by running:
for aln in bam_reader.fetch(region="1:14362-15362"):
print(aln)
Thank you in advance Foivos
This was a bug in the parser. It was fixed in the latest master, which will be released in a few days. You can already install from the github master for the fix. Closing.
Hi
I (want to) use HTSeq (0.11.2) to fetch some PACbio reads, that were mapped with minimap2. You can find an example file at the end. When I try the following example:
I get the following error:
Do you know what is the issue? Should I use HTSeq to fetch PACbio reads? When I try the following it's working fine:
Example of mapped read:
Thank you in advance Foivos