#!/bin/bash
set -e

echo 'make to get required binaries'
make

echo 'Test for sample data'
python3 ./ErrorCorrection.py -o output/sample_data.fastq sample_data.txt

echo 'Run with 4 threads'
python3 ./ErrorCorrection.py --ncpu 4 -o output/sample_data.fastq sample_data.txt

echo 'cleaning up ...'
make clean
rm -rf tmp/ log/ output/ 
