sffinfo - not a valid sff file


I have just started using Mothur to create sff.txt files from sff files.

I used:

sffinfo(sff=FCR16V105.sff, sfftxt=T)

and the error was:

Extracting info from ~/Plate2/FCR16V105.sff …
Magic Number is not correct, not a valid .sff file
It took 0 secs to extract 0.
Output File Names:

i have used Matlab commands sffinfo and sffread to verify that the file is uncorrupted and a genuine SFF file.

Any help or pointers would be useful.



I was using a pathname after the sff=

I used set.dir to fix the input file folder and then could just use the filename after sff=

It seems to work fine now