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 :-)
Not clear why you need Perl for this task. Can't you just run makeblastdb from the command line?
I tried directly on the command line but it says: makeblastdb: command not found I am in the bin dir, and makeblastdb is in there!
Which operating system?