User Tools

Site Tools


This is an old revision of the document!


Unicycler is an assembly pipeline for bacterial genomes.



See versions of unicycler which are available:

$ module avail unicycler

Load one version into your environment and run it:

$ module load unicycler/0.47.0
$ unicycler

Example Batch Job

#!/usr/bin/env bash
#SBATCH -p batch
#SBATCH -n 4
#SBATCH -J unicycler

module load unicycler/0.4.7

readonly DATADIR=~/sample_data
readonly OUTDIR=/var/scratch/2019-02-15-aorth-unicycler

# create output directory on compute node
mkdir -p ${OUTDIR}

# run unicycler with the number of threads allocated by SLURM
unicycler -t ${SLURM_NTASKS} -1 ${DATADIR}/short_reads_1.fastq.gz -2 ${DATADIR}/short_reads_2.fastq.gz -o ${OUTDIR}

echo "Remember to check (and clean!) output directory on ${SLURM_JOB_NODELIST}:"
echo "  ${OUTDIR}"


Notes from the sysadmin during installation:

$ cd /tmp
$ wget
$ unzip
$ cd Unicycler-0.4.7
$ sudo yum install centos-release-scl
$ sudo yum install devtoolset-6-gcc.x86_64 devtoolset-6-gcc-c++.x86_64 python36 python36-setuptools
$ scl enable devtoolset-6 bash
$ sudo mkdir -p /export/apps/unicycler/0.4.7
$ sudo chown aorth /export/apps/unicycler/0.4.7
$ python36 install --prefix=/export/apps/unicycler/0.4.7
$ sudo chown -R root:root /export/apps/unicycler/0.4.7

The devtoolset is used because Unicycler requires a GCC compiler newer than 4.9.1.

unicycler-software.1550254868.txt.gz · Last modified: 2019/02/15 18:21 by aorth