1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
#!/bin/sh
#
# Description:
# Read in an alignment that has a separator of '='
# between the sequence name and coords but don't strip.
# the coords from the alignment name. Save without saving
# coords; the coords should still appear in the saved
# output because they were part of the name.
RC=0
test_name=`basename $0`
test_dir=`dirname $0`
data_dir=$test_dir/../../../data
results_file="$test_dir/$test_name""_results"
# Run belvu and check if there are any differences to the saved results
diffs=`belvu -z '=' -R -C -o MSF $data_dir/PF02171_seed_separator.stock >&1 | diff "$results_file" -`
# If there were any problems or differences, set RC
if [ $? -ne 0 -o "$diffs" != "" ]
then
print "$test_name FAILED"
RC=1
fi
exit $RC
|