Makeblastdb error: file does not match input format type, default input type is FASTA
1
0
Entering edit mode
8.7 years ago
lessismore ★ 1.4k

Hey all,

i have a problem in creating a database with this file. ftp://ftp.ncbi.nlm.nih.gov/repository/UniGene/Triticum_aestivum/Ta.seq.all.gz

i run

makeblastdb -in Ta.seq.all -title Ta_unigene -dbtype nucl -out Ta_database

it gives the error mentioned: file does not match input format type, default input type is FASTA

Could anybody help me ?

I checked if there are spaces after ">" I checked every entry starts with "^>"

Thank you in advance

blast • 6.8k views
ADD COMMENT
0
Entering edit mode

What version of blast are you using?
I was able to make the database using the exact command you have above with blast v.2.3.0. No errors.

ADD REPLY
0
Entering edit mode

blastn: 2.2.30+ Package: blast 2.2.30, build Aug 28 2015 11:17:27

ADD REPLY
0
Entering edit mode

Ta.seq.all file has this extra line up at the beginning of the file. You could try to remove it and then see if that works.

# Set containing 407 members  /gb=JP820949 /gi=359554132 /len=2058

Otherwise try and upgrade blast to the latest version.

ADD REPLY
0
Entering edit mode

Already did, nothing changed.

ADD REPLY
1
Entering edit mode

I am able to reproduce the error with Blast v.2.2.30. But that does not help you.
Like I said above that file worked with a newer version of blast. I would suggest that you upgrade, if you can.

ADD REPLY
0
Entering edit mode

*nix or Windows? I imagine the file has *nix encoded linebreaks so it would look like >seqasassasa>seqsadsdsadsa>.. to Windows

ADD REPLY
0
Entering edit mode

it's linux ubuntu. Should probably update something?

ADD REPLY
2
Entering edit mode

Update blast to the latest.

ADD REPLY
0
Entering edit mode

Or if it's about the extra line on top, just

tail -n +2 Ta.seq.all > Ta.seq.all.mod

And then makeblastdb with that file. But really, keeping blast up-to-date is a rather good idea..

ADD REPLY
1
Entering edit mode

@lessismore tried that already and said that did not work.

ADD REPLY
1
Entering edit mode
8.7 years ago
lessismore ★ 1.4k

Thank you guys. it was a problem of Blast version. With the latest one it worked.

ADD COMMENT

Login before adding your answer.

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