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
spades-software [2016/08/15 13:30] – [Information] joguyaspades-software [2022/09/20 07:38] (current) aorth
Line 4: Line 4:
 ===== Information ===== ===== Information =====
  
-  * Version: 3.6.0+  * Version: 3.15 (3.15.5)
   * Added: September, 2014   * Added: September, 2014
-  * Updated: August2016 +  * Updated: September2022 
-  * Link: http://bioinf.spbau.ru/spades+  * Link: https://github.com/ablab/spades
  
 ===== Usage ===== ===== Usage =====
Line 13: Line 13:
 See versions of spades which are available: See versions of spades which are available:
 <code>$ module avail spades</code> <code>$ module avail spades</code>
 +
 +Load one version into your environment and run it:
 +<code>$ module load spades/3.15
 +$ spades.py --help
 +$ spades.py --test</code>
  
 === Example batch job === === Example batch job ===
Line 21: Line 26:
 #SBATCH -J spades #SBATCH -J spades
  
-module load spades/3.6.0+module load spades/3.13.0
  
 readonly DATADIR=~/data/bfusca readonly DATADIR=~/data/bfusca
Line 34: 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 41: Line 46:
 Notes from the sysadmin during installation: Notes from the sysadmin during installation:
  
-<code>$ sudo yum install cmake28.x86_64 +<code>$ cd /tmp 
-$ cd /tmp +$ wget https://github.com/ablab/spades/releases/download/v3.15.5/SPAdes-3.15.5-Linux.tar.gz 
-$ wget http://spades.bioinf.spbau.ru/release3.5.0/SPAdes-3.5.0.tar.gz +$ tar xf SPAdes-3.15.5-Linux.tar.gz 
-$ tar xf SPAdes-3.5.0.tar.gz +$ sudo mv /export/apps/spades/3.15 /export/apps/spades/3.15.bak 
-$ cd SPAdes-3.5.0 +sed -i '1s/python/python3/' SPAdes-3.15.5-Linux/bin/spades.py 
-$ scl enable devtoolset-2 bash +$ sudo cp -r SPAdes-3.15.5-Linux /export/apps/spades/3.15</code>
-$ sudo mkdir -p /export/apps/spades/3.5.0 +
-$ sudo chown aorth:aorth /export/apps/spades/3.5.0 +
-PREFIX=/export/apps/spades/3.5.0 ./spades_compile.sh +
-$ sudo chown -R root:root /export/apps/spades/3.5.0</code> +
- +
-===== Running ===== +
-After loading the module, consult the built-in help:+
  
-<code>spades.py --help</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!
spades-software.1471267803.txt.gz · Last modified: 2016/08/15 13:30 by joguya