Open Coppini opened 3 years ago
Longshot uses the input reads to estimate sequencing error rates so it will not work well for files with very few reads. Can you not use the -A flag?
Yes, I believe that would be better as well. I'm using the existing Artic pipeline as mentioned, but already opened an issue with them concerning this problem. https://github.com/artic-network/fieldbioinformatics/issues/91
Thank you either way.
I'm having problems with Longshot when running the Artic pipeline (even after updating Longshot to v0.4.3, since Artic still uses v0.4.1), in this command:
The BAM file I'm using there has only one read, with few bases, resulting in a very small coverage. This was expected, since these were negative samples, where we shouldn't be finding (Sars-Cov-2) reads. Longshot ends up erroring with the following messages:
It seems the problem comes from the
-A
flag:Since
Mean read coverage = 0.03
, it calculatesMax coverage = 0.03+5*sqrt(0.03) = 0.89602540378
, and rounds down to0
.Would it be possible to have
-A
round the maximum coverage up, instead of down?