hello, im sorry for the naive question, i hadn't used blast remotely, until this year. So, i want to run blast against all nt databses. i don't understand how to call the database. should i call the directori were i have the nts? Thanks
hello, im sorry for the naive question, i hadn't used blast remotely, until this year. So, i want to run blast against all nt databses. i don't understand how to call the database. should i call the directori were i have the nts? Thanks
The path to the directory + "nt". Suppose you files are located in the folder /path/blastdb
, such as
ls /path/blastdb/
Returns:
/path/blastdb/nt.00.nhd
/path/blastdb/nt.00.nhi
/path/blastdb/nt.00.nhr
/path/blastdb/nt.00.nin
...
/path/blastdb/nt.nal
So you have to use -db /path/blastdb/nt
.
I'm so sorry to boder you, i've already download the nt databases and then i tryied to do the blast:
blastn -query sample.fasta -db /path/blastdb/nt -task megablast -outfmt 6 –max_target_seqs 10 > Resultado.txt
however, i have this error: No alias or index file found for nucleotide database
Thanks very much
When i do ls /path/blastdb/nt it outputs the lists: (example)
C:\ncbi-blast-2.8.0+\bin\all_nt\nt.60.nhd
C:\ncbi-blast-2.8.0+\bin\all_nt\nt.60.nhi
C:\ncbi-blast-2.8.0+\bin\all_nt\nt.60.nhr
C:\ncbi-blast-2.8.0+\bin\all_nt\nt.60.nin
C:\ncbi-blast-2.8.0+\bin\all_nt\nt.60.nnd
C:\ncbi-blast-2.8.0+\bin\all_nt\nt.60.nni
C:\ncbi-blast-2.8.0+\bin\all_nt\nt.60.nog
C:\ncbi-blast-2.8.0+\bin\all_nt\nt.60.nsd
C:\ncbi-blast-2.8.0+\bin\all_nt\nt.60.nsi
C:\ncbi-blast-2.8.0+\bin\all_nt\nt.60.nsq
C:\ncbi-blast-2.8.0+\bin\all_nt\nt.nal
when i do:ls /path/blastdb/nt.nal
example
C:\ncbi-blast-2.8.0+\bin\all_nt\nt.nal
Thank you for the time
First, try:
blastn -query sample.fasta -db C:\ncbi-blast-2.8.0+\bin\all_nt\nt -task megablast -outfmt 6 –max_target_seqs 10 > Resultado.txt
or:
blastn -query sample.fasta -db C:\ncbi-blast-2.8.0+\bin\all_nt\nt.nal -task megablast -outfmt 6 –max_target_seqs 10 > Resultado.txt
But don't do bioinformatics on cmd.exe
, use the linux subsystem for windows, or use linux - the later, in my opinion, is the best alternative.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
On the off-chance that you actually want to use
blast+
installed locally but with databases located at NCBI, you would need to add-db blastb -remote
to your command line.