Mercurial > repos > sanbi-uwc > trimmomatic
view trimmomatic_BASE_16831.sh @ 4:642a39a927c9 draft
planemo upload for repository https://github.com/SANBI-SA/galaxy-tools/tree/master/tools/trimmomatic commit b30cac62484ba664a19a02a6817752f4f2b140bf
| author | sanbi-uwc |
|---|---|
| date | Mon, 23 Jan 2017 07:46:47 -0500 |
| parents | |
| 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 ## #
