This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Failed to open filename / unable to read - Ubuntu

Hii, i've been trying using primersearch from emboss on ubuntu but this keeps getting me the same error

primersearch -seqall filename.fna -infile filename.txt -mismatchpercent 10 -outfile filename.primersearch


Error: Failed to open filename 'filename'
Error: Unable to read sequence 'filename'

The files are in the desktop, what is being done wrong?

ubuntu

1 answer

you know that The files are in the desktop, but the command does not. So like this primersearch -seqall ~/filename.fna ... Note ~ means home dir i Linux.

OP will end up running your exact command and complaining about that. I think it's best to give them a whole example instead of giving them a partial lead. @Camp, use ~/Desktop/filename.fna and ~/Desktop/filename.txt.

you are right, I unconsciously think it is in the home but it is actually on the Desktop of the home.

I did the first and notice it was home so i moved the files there, but it worked so is good! Thank you!

I did exactly that! I'm beggining with linux now so i take suggestions to the teeth hahah thank you for your input @Ram

Log in to answer this question.