ParBLiSS / FastANI

Fast Whole-Genome Similarity (ANI) Estimation
Apache License 2.0
374 stars 67 forks source link

Filenames do not support blank #50

Closed cihga39871 closed 4 years ago

cihga39871 commented 5 years ago

Filenames do not support blank.

fastANI -q "/abcdef/aa.fa" -r "/a b/bb.fa" -o "123"

>>>>>>>>>>>>>>>>>>
Reference = [/a]
Query = [b/bb.fa/abcdef/aa.fa]
Kmer size = 16
Fragment length = 3000
Threads = 1
ANI output file = 111
>>>>>>>>>>>>>>>>>>
ERROR, skch::validateInputFiles, Could not open b/bb.fa/abcdef/aa.fa
cjain7 commented 5 years ago

I don't recommend using spaces in directory or file names :) I'm using a widely used C++ command line parser called clipp, can't do much there..

cjain7 commented 5 years ago

May be you can use escape character to help it recognize space.. should be worth giving it a try. fastANI -q "/abcdef/aa.fa" -r "/a\ b/bb.fa" -o "123"