view abyss/abyss_wrapper.sh @ 0:92636934a189 default tip

Migrated tool version 1.0.0 from old tool shed archive to new tool shed repository
author edward-kirton
date Tue, 07 Jun 2011 17:49:27 -0400
parents
children
line wrap: on
line source

#!/bin/bash

if [ $# -ne 3 ]
then
    echo "ERROR: Expected exactly 3 arguments; got: $*" 1>&2
    exit 1
fi

CMD=`ABYSS -k$1 $2 -o $3 2>&1`
if [ $? -ne 0 ]
then
{
    echo "COMMAND FAILURE: $CMD" 1>&2
    exit $?
}
fi