

set -ex



rgi database -v | grep "3.1.4" > /dev/null 2>&1
rgi load -h > /dev/null 2>&1
rgi auto_load -h > /dev/null 2>&1
rgi main -h > /dev/null 2>&1
rgi tab -h > /dev/null 2>&1
rgi parser -h > /dev/null 2>&1
rgi clean -h > /dev/null 2>&1
rgi galaxy -h > /dev/null 2>&1
rgi bwt -h > /dev/null 2>&1
rgi kmer_build -h > /dev/null 2>&1
rgi kmer_query -h > /dev/null 2>&1
wget --quiet --output-document=homolog.fasta https://raw.githubusercontent.com/arpcard/rgi/master/tests/inputs/homolog.fasta | rgi main -i homolog.fasta  -o output --debug -a diamond --clean > /dev/null 2>&1
exit 0
