spades-software
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
spades-software [2014/10/08 09:32] – aorth | spades-software [2025/05/30 07:39] (current) – aorth | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
+ | SPAdes – St. Petersburg genome assembler – is intended for both standard isolates and single-cell MDA bacteria assemblies. | ||
===== Information ===== | ===== Information ===== | ||
- | * Version: | + | * Version: |
* Added: September, 2014 | * Added: September, 2014 | ||
- | * Link: http://bioinf.spbau.ru/spades | + | |
+ | | ||
===== Usage ===== | ===== Usage ===== | ||
- | === See versions | + | See versions which are available: |
- | < | + | < |
+ | |||
+ | Load one version into your environment and run it: | ||
+ | < | ||
+ | $ spades.py --help | ||
+ | $ spades.py --test</ | ||
=== Example batch job === | === Example batch job === | ||
Line 16: | Line 23: | ||
< | < | ||
#SBATCH -p highmem | #SBATCH -p highmem | ||
- | #SBATCH -n 6 | + | #SBATCH -n 8 |
#SBATCH -J spades | #SBATCH -J spades | ||
- | module load spades/3.1.1 | + | module load spades/3.15 |
readonly DATADIR=~/ | readonly DATADIR=~/ | ||
Line 27: | Line 34: | ||
mkdir -p ${OUTDIR} | mkdir -p ${OUTDIR} | ||
- | # run spades with 6 CPUs on mammoth (because 10/16 are already allocated) | + | # 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}/ | + | spades.py -k 27 -1 ${DATADIR}/ |
echo | echo | ||
- | echo " | + | echo " |
echo | echo | ||
echo " | echo " | ||
Line 39: | Line 46: | ||
Notes from the sysadmin during installation: | Notes from the sysadmin during installation: | ||
- | < | + | < |
- | cd /tmp | + | $ wget https://github.com/ |
- | wget http://spades.bioinf.spbau.ru/release3.1.1/SPAdes-3.1.1.tar.gz | + | $ tar xf SPAdes-4.2.0-Linux.tar.gz |
- | cd SPAdes-3.1.1 | + | $ sudo cp -r SPAdes-4.2.0-Linux / |
- | sed -i ' | + | |
- | scl enable devtoolset-1.1 bash | + | |
- | sudo mkdir -p / | + | |
- | sudo chown aorth:aorth / | + | |
- | PREFIX=/ | + | |
- | sudo chown -R root: | + | |
- | + | ||
- | ===== Running ===== | + | |
- | After loading the module, consult the built-in help: | + | |
- | < | + | Note: if you get the error '' |
spades-software.1412760765.txt.gz · Last modified: by aorth