I have the same issue and I tried to solved it as you suggest so I run this from my bin directory:
/Users/laboratoriovirologia/Documents/SPAdes-3.11.1-Darwin/bin/metaspades.py --continue k55 -o /Users/laboratoriovirologia/documents/SPAdes-3.11.1-Darwin/bin/02spades_H3
but I got the same error:
== Error == Please specify option (e.g. -1, -2, -s, etc) for the following paths: k55
I also tried specifying the files just as I wrote the command when I started the analysis but adding --continue k55:
/Users/laboratoriovirologia/Documents/SPAdes-3.11.1-Darwin/bin/metaspades.py --continue k55 --pe1-1 /Users/laboratoriovirologia/Documents/SPAdes-3.11.1-Darwin/bin/Mose_8/H3TQ30_forward_paired.fq.gz --pe1-2 /Users/laboratoriovirologia/Documents/SPAdes-3.11.1-Darwin/bin/Mose_8/H3TQ30_reverse_paired.fq.gz -o /Users/laboratoriovirologia/documents/SPAdes-3.11.1-Darwin/bin/02spades_H3
I got the same error: == Error == Please specify option (e.g. -1, -2, -s, etc) for the following paths: k55
I am in a loop, also tried just to write -o 02spades_H3 without the pwd and same error.
What could be the problem?
In your command line you are not specifying paths to reads. Where are your reads locates?
If you are running SPAdes with
--continueor--restart-from, one do not need specify input files, they will be read from the previous run logs. However, looking carefully at the error message, it seems SPAdes did not understand filenames, and I guess they contain spaces.and so forth.