Entering edit mode
4.8 years ago
sahilbioinf0
•
0
I managed to download a nr ref sequence from ncbi ftp using the command..
wget 'ftp://ftp.ncbi.nlm.nih.gov/blast/db/nr.*.tar.gz'
cat nr.*.tar.gz | tar -zxvi -f - -C .
I have also created database using this command:
makeblastdb -dbtype prot -out /home/ska/Downloads/Nr/nr -in /home/namita/Downloads/Nr/nr -parse_seqids
When I used this command:
blastp -db /home/namita/Downloads/Nr/nr -word_size 7 -query /home/ska/Downloads/sequence.fasta -out /home/namita/Downloads/analysis/MF.txt -outfmt 6 -max_target_seqs 2
I am getting this error:
BLAST Database error: No alias or index file found for nucleotide database [/home/namita/Downloads/Nr/nr] in search path [/home/ska/Downloads/ncbi-blast-2.6.0+/bin:$/home/ska/Downloads/Nr/nr:]
Please help ??
When you download preformatted databases you don't need to do
makeblastdb
. Just unarchive allnr*
files and keep them in the same directory. Use the basename of the index when you search.But when I unarchived it I only get single file of 143.2 gb.
You should not do this
cat nr..tar.gz
. Just get the files and unarchive.Drag+drop pictures to the website does not equal uploading them. See instructions on how to upload images here: How to add images to a Biostars post