Closed callumparr closed 4 years ago
Hi @callumparr
Thanks for reporting the issue. I think I just fixed it in version 0.2. Can you please check ?
Thanks
Hey it still gives error on that library. I've checked other libraries and there doesn't seem to be an issue so I guess there is just something quirky about the BAM file generated.
Damn! It looks like some of your primary reads have an alignment score of 0 (AS tag). I did not know it was possible. Anyway I just pushed a hotfix (v0.2.1) that should solve the issue for good Can you run NanoCount in verbose mode ? You should see reads in the category "Reads with zero score".
Thank you for your efforts. It now runs on that library. This was the DEBUG output.
Parse Bam file and filter low quality hits
[DEBUG]: Summary of reads parsed in input bam file
[DEBUG]: Mapped hits: 3,102,305
[DEBUG]: Valid best hit: 1,346,053
[DEBUG]: Valid secondary hit: 1,254,780
[DEBUG]: Invalid secondary hit: 412,875
[DEBUG]: Wrong strand hits: 44,852
[DEBUG]: Best hit with low query fraction aligned: 31,192
[DEBUG]: Reads too short: 3
[DEBUG]: Reads with zero score: 1
Generate initial read/transcript compatibility index
Great. I don't quite understand why the aligner allows a primary read with an alignment score of 0 but, hey, this is the joy of bioinformatics.
Thanks for reporting the issue
Its all rather worrying.
I have started process my sequencing libraries for direct RNA with master of pores and it ran smoothly through my first library. Then when I process the next one it failed at the count job.
https://github.com/biocorecrg/master_of_pores/issues/60#issue-610633267
I downloaded NanoCount and ran through manually and it gives same error:
I ran flagstat and I cannot see issue with the BAM file generated.