

set -ex



rsem-prepare-reference 2>&1 | grep reference_name > /dev/null
rsem-for-ebseq-find-DE 2>&1 | grep Usage > /dev/null
rsem-bam2wig foo bar foobar 2>&1 | grep "Cannot open foo" > /dev/null
which rsem-for-ebseq-calculate-clustering-info
exit 0
