Failed to open filename / unable to read - Ubuntu
1
0
Entering edit mode
2.7 years ago
Camp • 0

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 • 2.1k views
ADD COMMENT
2
Entering edit mode
2.7 years ago
Zhilong Jia ★ 2.2k

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.

ADD COMMENT
3
Entering edit mode

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.

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 2802 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6