-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Give helpful error message when no reads align #84
Comments
Hey, so if I see it correctly an exit status 1 has been implemented when 0 reads align? The issue with exit 1 in this case is that there can be genuine use cases where 0 reads align such as:
When Kallisto then exits with an exit status 1 it becomes difficult to implement pipelines (bash or nextflow) around around these use cases as there is no way to differentiate between 0 mapping reads and e.g. an index issue. The only way to currently do this is to simply ignore exit status 1, which I seems dangerous as other, unexpected issues might give rise to the same exit status. |
Currently, we do not check at the end of a run if no reads aligned. As a result, some people have been getting 0 reads mapping and 'nan' everywhere in their results. We should error, and give a helpful message such as: 'no reads mapped, you should probably check that your k is less than the read length by at least %.'
The text was updated successfully, but these errors were encountered: