Kleborate icon indicating copy to clipboard operation
Kleborate copied to clipboard

FASTA parser issue

Open cgps-admin opened this issue 3 years ago • 1 comments

One of our users has managed to trigger a bug in the Kleborate FASTA parsing. If the headers take the following format, Kleborate falls over fairly quickly (I'm not sure of the error as it is swallowed by our wrapper):

>genome_id #1
ATATAT...
>genome_id #2
ATATATTT...
>genome_id #3
CGTACG...

Presumably, the unique part of the header is discarded during parsing, and only the part before the space is being used to identify the contigs. Running `sed -i 's/ /_/g' was enough to "fix" the files and get them running.

cgps-admin avatar Sep 28 '22 11:09 cgps-admin

Thanks, should be possible for us to fix in a future update. But in the meantime sounds like there's a simple solution on user side, so I'll leave this issue open for easy visibility to other users in case they encounter the same issue.

katholt avatar Sep 28 '22 12:09 katholt