User Tools

Site Tools


diamond-software

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
diamond-software [2018/11/04 16:06] aorthdiamond-software [2022/03/17 09:10] (current) aorth
Line 5: Line 5:
 ===== Information ===== ===== Information =====
  
-  * Version: 0.9.9+  * Version: 2.0.14
   * Added: November, 2016   * Added: November, 2016
-  * Updated: July2017 +  * Updated: March2022 
-  * Link: http://ab.inf.uni-tuebingen.de/software/diamond/+  * Link: https://github.com/bbuchfink/diamond
      
 ===== Usage ===== ===== Usage =====
  
-See which versions of diamond are available:+See which versions are available:
 <code>$ module avail diamond</code> <code>$ module avail diamond</code>
  
-Load the diamond environment module and run it: +Load one version into your environment and run it: 
-<code>$ module load diamond/0.9.9+<code>$ module load diamond/2.0.14
 $ diamond</code> $ diamond</code>
  
Line 46: Line 46:
  
 <code>$ cd /tmp <code>$ cd /tmp
-$ wget https://github.com/bbuchfink/diamond/releases/download/v0.9.9/diamond-linux64.tar.gz+$ wget http://github.com/bbuchfink/diamond/releases/download/v2.0.14/diamond-linux64.tar.gz 
 +$ sudo mkdir -p /export/apps/diamond/2.0.14/bin
 $ tar xf diamond-linux64.tar.gz $ tar xf diamond-linux64.tar.gz
-$ sudo cp diamond diamond_manual.pdf /export/apps/diamond/0.9.9</code>+$ sudo cp diamond /export/apps/diamond/2.0.14/bin</code>
  
 Diamond requires specially formatted databases, which you create using the ''diamond makedb'' subcommand. The input must be a FASTA file, but can be gzip compressed, for example the NR database from NCBI: Diamond requires specially formatted databases, which you create using the ''diamond makedb'' subcommand. The input must be a FASTA file, but can be gzip compressed, for example the NR database from NCBI:
  
 <code>$ wget ftp://ftp.ncbi.nlm.nih.gov/blast/db/FASTA/nr.gz <code>$ wget ftp://ftp.ncbi.nlm.nih.gov/blast/db/FASTA/nr.gz
-$ diamond makedb --in nr.gz -nr+$ wget ftp://ftp.ncbi.nlm.nih.gov/pub/taxonomy/accession2taxid/prot.accession2taxid.FULL.gz 
 +$ wget ftp://ftp.ncbi.nlm.nih.gov/pub/taxonomy/taxdmp.zip 
 +$ unzip taxdmp.zip 
 +$ diamond makedb --in nr.gz --db nr --taxonmap prot.accession2taxid.FULL.gz --taxonnodes nodes.dmp --taxonnames names.dmp
 $ sudo mkdir -p /export/data/bio/diamond $ sudo mkdir -p /export/data/bio/diamond
 $ sudo cp nr.dmnd /export/data/bio/diamond</code> $ sudo cp nr.dmnd /export/data/bio/diamond</code>
diamond-software.txt · Last modified: 2022/03/17 09:10 by aorth