User Tools

Site Tools


spades-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
Last revisionBoth sides next revision
spades-software [2017/12/25 20:45] aorthspades-software [2022/02/21 17:48] aorth
Line 4: Line 4:
 ===== Information ===== ===== Information =====
  
-  * Version: 3.10.1+  * Version: 3.15 (3.15.4)
   * Added: September, 2014   * Added: September, 2014
-  * Updated: July2017 +  * Updated: February2022 
-  * Link: http://cab.spbu.ru/software/spades/+  * Link: https://github.com/ablab/spades
  
 ===== Usage ===== ===== Usage =====
Line 14: Line 14:
 <code>$ module avail spades</code> <code>$ module avail spades</code>
  
-After loading the module, consult the built-in help+Load one version into your environment and run it
-<code>$ spades.py --help</code>+<code>$ module load spades/3.15 
 +$ spades.py --help 
 +$ spades.py --test</code>
  
 === Example batch job === === Example batch job ===
Line 24: Line 26:
 #SBATCH -J spades #SBATCH -J spades
  
-module load spades/3.6.1+module load spades/3.13.0
  
 readonly DATADIR=~/data/bfusca readonly DATADIR=~/data/bfusca
Line 37: Line 39:
  
 echo echo
-echo "Remember to check (and clean!) output directory on mammoth:"+echo "Remember to check (and clean!) output directory on compute07:"
 echo echo
 echo "  ${OUTDIR}"</code> echo "  ${OUTDIR}"</code>
Line 45: Line 47:
  
 <code>$ cd /tmp <code>$ cd /tmp
-$ wget  http://cab.spbu.ru/files/release3.11.1/SPAdes-3.11.1.tar.gz +$ wget https://github.com/ablab/spades/releases/download/v3.15.4/SPAdes-3.15.4.tar.gz 
-$ tar xf SPAdes-3.11.1.tar.gz +$ tar xf SPAdes-3.15.4.tar.gz  
-$ cd SPAdes-3.11.1 +$ cd SPAdes-3.15.4 
-$ sudo mkdir /export/apps/spades/3.11.1 +$ sudo chown aorth /export/apps/spades/3.15 
-$ sudo chown aorth /export/apps/spades/3.11.1 +$ sudo mkdir -p /export/apps/spades/3.15 
-$ PREFIX=/export/apps/spades/3.11.1 ./spades_compile.sh +$ scl enable devtoolset-7 bash 
-$ sudo chown -R root:root /export/apps/spades/3.11.1</code>+$ module load python/3.
 +$ sed -i 's/^cmake/cmake3/' spades_compile.sh 
 +$ PREFIX=/export/apps/spades/3.15 ./spades_compile.sh -j 4 
 +$ sudo chown -R root:root /export/apps/spades/3.15</code>
  
 Note: if you get the error ''Exception caught basic_string::_S_construct null not valid'' you need to call the spades.py script, not the spades binary! Note: if you get the error ''Exception caught basic_string::_S_construct null not valid'' you need to call the spades.py script, not the spades binary!
spades-software.txt · Last modified: 2022/09/20 07:38 by aorth