Get fasta sequence protein with idfecth, ERROR: Output
1
0
Entering edit mode
7.0 years ago
Buffo ★ 2.4k

I have a list of accession numbers in txt file, like this:

P50395 
P15924 
Q86YZ3 
P60842

And I want to get a fasta file with all fasta sequences, I have done it before with idfecth but this time something goes wrong, and I canĀ“t find a solution, my line:

idfetch -G my_list.txt -t 5

Result:

Invalid value(s) [13] in VisibleString [P50395# ...]
[idfetch] ERROR: Output

Any suggestions?

software error accession idfecth get_fasta • 1.4k views
ADD COMMENT
1
Entering edit mode

works for me! Probably you have some hidden non-printable characters in the my_list.txt file. Try with other manually created list

ADD REPLY
0
Entering edit mode

This is manually created :(, and still not working.

ADD REPLY
0
Entering edit mode

try different version of idfetch then!

ADD REPLY
1
Entering edit mode

Even when it was a manually created text list (with a python parser script), indeed it had a non-printable characters that idfetch cannot translate. That was the error.

ADD REPLY
0
Entering edit mode

Happy that it got resolved :)

ADD REPLY
0
Entering edit mode
7.0 years ago
$ echo -e "P50395\nP15924\nQ86YZ3\nP60842" | while read F; do curl "http://www.uniprot.org/uniprot/${F}.fasta" ; done
ADD COMMENT
0
Entering edit mode

Thanks pierre, but my list have more than 300 access numbers.

ADD REPLY

Login before adding your answer.

Traffic: 2495 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