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 [2019/02/14 23:57] aorthspades-software [2025/05/30 07:39] (current) aorth
Line 4: Line 4:
 ===== Information ===== ===== Information =====
  
-  * Version: 3.13.0+  * Version: 4.2.0
   * Added: September, 2014   * Added: September, 2014
-  * Updated: February2019+  * Updated: May2025
   * Link: https://github.com/ablab/spades   * Link: https://github.com/ablab/spades
  
 ===== Usage ===== ===== Usage =====
  
-See versions of spades which are available:+See versions which are available:
 <code>$ module avail spades</code> <code>$ module avail spades</code>
  
 Load one version into your environment and run it: Load one version into your environment and run it:
-<code>$ module load spades/3.13.0 +<code>$ module load spades/4.2.0 
-$ spades.py --help</code>+$ spades.py --help 
 +$ spades.py --test</code>
  
 === Example batch job === === Example batch job ===
Line 25: Line 26:
 #SBATCH -J spades #SBATCH -J spades
  
-module load spades/3.6.1+module load spades/3.15
  
 readonly DATADIR=~/data/bfusca readonly DATADIR=~/data/bfusca
Line 33: Line 34:
 mkdir -p ${OUTDIR} mkdir -p ${OUTDIR}
  
-# run spades with 8 CPUs on mammoth (it has 16 logical CPUs, but only 8 are physical)+# run spades with 8 CPU threads
 # run spades with 384 GB of RAM (default is 250, but it ran out of memory before) # run spades with 384 GB of RAM (default is 250, but it ran out of memory before)
 spades.py -k 27 -1 ${DATADIR}/1_S1_L001_R1_001_val_1.fastq.gz -2 ${DATADIR}/1_S1_L001_R2_001_val_2.fastq.gz -o ${OUTDIR} -t 8 -m 384 spades.py -k 27 -1 ${DATADIR}/1_S1_L001_R1_001_val_1.fastq.gz -2 ${DATADIR}/1_S1_L001_R2_001_val_2.fastq.gz -o ${OUTDIR} -t 8 -m 384
  
 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 46: Line 47:
  
 <code>$ cd /tmp <code>$ cd /tmp
-$ wget https://github.com/ablab/spades/releases/download/v3.13.0/SPAdes-3.13.0.tar.gz +$ wget https://github.com/ablab/spades/releases/download/v4.2.0/SPAdes-4.2.0-Linux.tar.gz 
-$ tar xf SPAdes-3.13.0.tar.gz +$ tar xf SPAdes-4.2.0-Linux.tar.gz 
-$ cd SPAdes-3.13.0 +$ sudo cp -r SPAdes-4.2.0-Linux /export/apps/spades/4.2.0</code>
-$ sudo mkdir /export/apps/spades/3.13.0 +
-$ sudo chown aorth /export/apps/spades/3.13.0 +
-$ sudo yum install centos-release-scl cmake +
-$ sudo yum install devtoolset-6-gcc.x86_64 devtoolset-6-gcc-c++.x86_64 +
-$ PREFIX=/export/apps/spades/3.13.0 ./spades_compile.sh +
-$ sudo chown -R root:root /export/apps/spades/3.13.0</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.1550188667.txt.gz · Last modified: by aorth