diamond-software
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
diamond-software [2016/11/23 13:12] – created joguya | diamond-software [2022/03/14 15:01] – aorth | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Information ===== | ===== Information ===== | ||
- | * Latest | + | * Version: |
* Added: November, 2016 | * Added: November, 2016 | ||
- | * Link: http://ab.inf.uni-tuebingen.de/software/diamond/ | + | |
+ | | ||
| | ||
===== Usage ===== | ===== Usage ===== | ||
- | See which versions | + | See which versions are available: |
- | < | + | < |
- | </ | + | |
- | Load diamond | + | Load one version into your environment and run it: |
- | < | + | < |
+ | $ diamond</ | ||
+ | |||
+ | An example SLURM submission script might look like: | ||
+ | |||
+ | < | ||
+ | #SBATCH -p batch | ||
+ | #SBATCH -n 4 | ||
+ | #SBATCH -J diamond | ||
+ | |||
+ | # Load diamond module | ||
+ | module load diamond/0.9.9 | ||
+ | |||
+ | # Set up environment | ||
+ | export DATADIR=/ | ||
+ | export WORKDIR=/ | ||
+ | |||
+ | # Create and change to working directory | ||
+ | mkdir -p $WORKDIR | ||
+ | cd $WORKDIR | ||
+ | |||
+ | diamond blastx -p 4 -q $DATADIR/ | ||
+ | |||
+ | Make sure to match the number of CPUs in your SLURM request ('' | ||
===== Installation ====== | ===== Installation ====== | ||
- | Notes from the sysadmin during installation:< | + | Notes from the sysadmin during installation: |
- | $ cd /tmp/ | + | |
- | $ wget https:// | + | < |
- | $ tar -xvf diamond-linux64.tar.gz | + | $ wget http:// |
- | $ sudo mkdir -p / | + | $ sudo mkdir -p / |
- | $ sudo cp diamond | + | $ tar xf diamond-linux64.tar.gz |
- | </ | + | $ sudo cp diamond |
+ | |||
+ | Diamond requires specially formatted databases, which you create using the '' | ||
+ | |||
+ | < | ||
+ | $ diamond | ||
+ | $ sudo mkdir -p /export/data/bio/diamond | ||
+ | $ sudo cp nr.dmnd /export/ |
diamond-software.txt · Last modified: 2022/03/17 09:10 by aorth