User Tools

Site Tools


This is an old revision of the document!

Table of Contents


SPAdes – St. Petersburg genome assembler – is intended for both standard isolates and single-cell MDA bacteria assemblies.



See versions of spades which are available:

$ module avail spades

After loading the module, consult the built-in help:

$ --help

Example batch job

#!/bin/env bash
#SBATCH -p highmem
#SBATCH -n 8
#SBATCH -J spades

module load spades/3.6.1

readonly DATADIR=~/data/bfusca
readonly OUTDIR=/var/scratch/aorth-spades-oct8

# create output directory
mkdir -p ${OUTDIR}

# run spades with 8 CPUs on mammoth (it has 16 logical CPUs, but only 8 are physical)
# run spades with 384 GB of RAM (default is 250, but it ran out of memory before) -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 "Remember to check (and clean!) output directory on mammoth:"
echo "  ${OUTDIR}"


Notes from the sysadmin during installation:

$ cd /tmp
$ wget
$ tar xf SPAdes-3.10.1-Linux.tar.gz
$ sudo mkdir /export/apps/spades/3.10.1
$ sudo cp -rv SPAdes-3.10.1-Linux/* /export/apps/spades/3.10.1
spades-software.1499351852.txt.gz · Last modified: 2017/07/06 14:37 by aorth