[bug] Poor quality / unmappeable samples cause snippy-core
to fail with a confusing erorr message
#494
Labels
bug
Something isn't working
Description
If a sample is poor quality or contains reads that don't map well against the reference, it will produce a very "gappy" alignment. Since
snippy-core
runssnp-sites -c
it will exclude all sites where there is at least one gap in the column, which means that when a very gappy sample is included in the alignment,snp-sites -c
will conclude that there are no variants in the alignment andsnippy-core
will crash (with the error message:Steps to Reproduce
Given some samples that include either poor quality samples or perhaps samples that don't map well to this reference:
Expected Behavior
The error here is actually in
snippy-core
so perhaps needs fixing upstream butbactopia
could perhaps catch this error message and display more user friendly feedback (or usetrimal -sident
to identify poor candidates for inclusion in the alignment).Execution Environment
Additional Information
The upstream error comes from this part of
snippy-core
. This behaviour has led to at least one issue on thesnippy
Github: tseemann/snippy#434The text was updated successfully, but these errors were encountered: