Question: nr database Diamond
1
gravatar for Dave Th
11 months ago by
Dave Th10
Dave Th10 wrote:

Hi guys,

I want to use DIAMOND for my metagenome Functional analysis. As the instruction, I have to download NCBI nr database (ftp://ftp.ncbi.nlm.nih.gov/blast/db/). Unfortunately, my internet connection is not very stable, so I have to download a multiple nr file nr.**.tar.gz instead of a nr single gz file using these code:

wget 'ftp://ftp.ncbi.nih.gov/blast/db/nr.01.tar.gz';
cat nr.**.tar.gz | tar -zxvi -f - -C

After that, I got a lot of file in my output directory (~180Gb). I wonder how I can combine all these file into a single nr.faa just like in the DIAMOND manual.

Thank you all.

Dave

protein alignment • 1.9k views
ADD COMMENTlink modified 11 months ago by h.mon29k • written 11 months ago by Dave Th10
4
gravatar for h.mon
11 months ago by
h.mon29k
Brazil
h.mon29k wrote:

DIAMOND needs its own database, it does not work with blast databases - which is what you are downloading. You have to download the NR fasta file, then:

wget ftp://ftp.ncbi.nlm.nih.gov/blast/db/FASTA/nr.gz
diamond makedb --in nr.gz -d nr
ADD COMMENTlink modified 11 months ago • written 11 months ago by h.mon29k
1

DIAMOND also needs more RAM than BLAST+. Something to keep in mind.

ADD REPLYlink written 11 months ago by genomax78k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2107 users visited in the last hour