Source

DunnHowisonZapata2013 / 07-load-Hydra.sh

#!/bin/sh
#SBATCH -t 24:00:00
#SBATCH -c 8
#SBATCH --mem=20g
#SBATCH -C e5-2600

ID=NCBI_HYDMAG

export BIOLITE_RESOURCES="database=$PWD/biolite.sqlite,agalma_database=$PWD/agalma.sqlite,outdir=$PWD/analyses,threads=8,memory=20g"

set -e

mkdir -p scratch
cd scratch

module load agalma/0.3.3

agalma postassemble --id $ID --skip exemplars
agalma load --id $ID --previous $ID --generic