modkit icon indicating copy to clipboard operation
modkit copied to clipboard

Suggestion: warn that modkit pileup doesn't accept gzip-ed reference

Open CLeib opened this issue 7 months ago • 2 comments

Hi,

When running modkit pileup with a reference fasta I kept getting the message "fetching sequence failed, got illegal characters in sequence" for each read. It took me a while to figure out that the reason for that is that a fa.gz reference is not handled correctly.
I'd like to suggest that the program give a warning at the beginning of the run if the file format is not correct, or even just add a warning to the user guide (especially since some other nanoporetech programs do accept fa.gz files).

Hope you'll take this into consideration, Thanks, Chen

CLeib avatar May 14 '25 13:05 CLeib

I agree. Also allowing .gz references is probably a good idea.

ArtRand avatar May 19 '25 14:05 ArtRand

Same here

xscapintime avatar May 29 '25 09:05 xscapintime