Quantcast
Channel: Post Feed
Viewing all articles
Browse latest Browse all 41826

Makeblastdb Help

$
0
0

Hi,

I feel I'm being really dumb here, so please excuse me! I have a file of fasta sequences which I want to make into a blast databse for standalone blast.

I haev the fasta file saved in the bin folder of ncbi-blast-2.2.25+ I make the following perl code:

#!/bin/perl -w

makeblastdb
-in "Mydb.fasta"
-parse_seqids
-dbtype prot;

I get the following error message when I run the script:

Unquoted string "makeblastdb" may clash with future reserved word at make_blast.pl line 7. String found where operator expected at make_blast.pl line 7, near "in "viral_db.fasta"" (Do you need to predeclare in?) syntax error at make_blast.pl line 7, near "in "viral_db.fasta"" Execution of make_blast.pl aborted due to compilation errors.

I know I must be doing something fundamentally wrong with my scripting here, but I can't see what it is!

Thanks :-)


Viewing all articles
Browse latest Browse all 41826

Trending Articles