Closed royfrancis closed 5 years ago
Hello! .fna
format is basically FASTA - please replace extensions of your sample files to .fna.gz
and everything should work properly. In the next release we will add checking for the presence of .fasta/.fasta.gz
files as well.
That worked. Thanks!
I am not sure why you want to hard code a file extension. Isn't it easier to let users provide a full name to a FASTA file regardless of the extension. You could probably do an internal sanity check if the file ends in .fa
, .fasta
, .fna
or ends in .gz
.
Hardcoded extensions are because different kmer-db modes require different file formats and we wanted samples files to be portable between modes.
I have two samples
NC_000913.3.fasta.gz
andNC_002655.2.fasta.gz
. Mysamples.txt
looks likeI am running the following command in the same directory as the samples:
kmer-db-1.13 build samples.txt kmdb
Processing samples failed. Is this
.fna
format anything special or is it just.fasta/.fasta.gz
files?