blast makedb database creation error
0
0
Entering edit mode
5.0 years ago
star715 ▴ 40

I wanted to create a blast database using the command:

makeblastdb -in filename.fasta -input_type fasta -dbtype prot -parse_seqids -out filename.fasta -title xyz

but I got an error saying

BLAST Database creation error: Near line 65951, the local id is too long. Its length is 51 but the maximum allowed local id length is 50. Please find and correct all local ids.

How can I correct this?

blast database • 6.8k views
ADD COMMENT
0
Entering edit mode

start with checking the ID on the line mentioned and see how that looks. If the stretch of chars before the first space is indeed >50 chars long you will need to shorten it. Important is to shorted it in such a way that is stays unique in your file of course.

ADD REPLY
0
Entering edit mode

It may work if you drop parse_seqids, you may not need it depending on what you plan to do downstream

ADD REPLY
0
Entering edit mode

If you are actually using or need seqids, make sure that there is a space between the id and the description part.

ADD REPLY

Login before adding your answer.

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