Mercurial > repos > pjbriggs > trimmomatic
view trimmomatic.sh @ 2:e7c8359dfa23 draft
Uploaded version 0.32.2 (now uses GALAXY_SLOTS).
| author | pjbriggs |
|---|---|
| date | Wed, 22 Apr 2015 09:28:59 -0400 |
| parents | a2e6088d1165 |
| children |
line wrap: on
line source
#!/bin/sh # # Shell wrapper to run Trimmomatic jar file as a Galaxy tool echo Arguments: for i in $@ ; do echo "*" $i done java $@ 2>&1 | tee trimmomatic.log status=$? echo "Exit status: $status" # Check for successful completion if [ -z "$(tail -1 trimmomatic.log | grep "Completed successfully")" ] ; then echo "Trimmomatic did not finish successfully" >&2 exit 1 fi exit $status ## #
