#!/bin/bash
#SBATCH --job-name=faststructure-1.0-case
#SBATCH --partition=batch
#SBATCH --time=3:00:00

module load gcc/8.2.0 python/2.7.15 py-faststructure 
module load py-cython/0.27-py-27 py-matplotlib/2.2.3-py-27
module load py-backports-functools-lru-cache/1.5-py-27


export OUTPUT_STRUCTURE=test_structure
export OUTPUT_DISTRUCT=test_distruct

##Running Structure
python $PY_FASTSTRUCTURE_ROOT/structure.py -K 2 --input=test/testdata --output=$OUTPUT_STRUCTURE

##Running Distruct
python $PY_FASTSTRUCTURE_ROOT/distruct.py -K 2 --input=$OUTPUT_STRUCTURE --output=$OUTPUT_DISTRUCT
