Generating WARNING: No newline at ending of file 'nonewline.fasta'
during construction results in a broken/incorrect index
#35
Labels
enhancement
New feature or request
I ran fulgor on broken input containing files that generate
WARNING: No newline at ending of file 'nonewline.fasta'
errors from ggcat and noticed that the index fulgor builds will be wrong after this.For example a large .fur index had size 206G on disk when generated from broken inputs but when the inputs were fixed the size grew to 281G which is closer to what I expected. Queries on the first index worked but produced results with no matches in the broken inputs.
The different index sizes also replicate on artificial data containing a file that generates the warning.
So, just as a heads-up, it might be better to abort if the inputs have this error. I've also reported this to ggcat and suggested that the warning should be an error.
The text was updated successfully, but these errors were encountered: