# HG changeset patch # User Jim Johnson # Date 1384189736 21600 # Node ID d5580071d9102b5372b7047d3659ec7e5d9631ad # Parent a9d882069cd406b949f884c50a247f6e04024d56 Update commandline to detect successful completion diff -r a9d882069cd4 -r d5580071d910 trinityrnaseq.xml --- a/trinityrnaseq.xml Fri Nov 08 16:11:37 2013 -0600 +++ b/trinityrnaseq.xml Mon Nov 11 11:08:56 2013 -0600 @@ -40,11 +40,13 @@ --bfly_opts " $additional_params.bfly_opts " #end if #end if - - - ## direct to output - | tee $trinity_log | grep -q 'All commands completed successfully.' - + + ## direct output to the log file + | tee $trinity_log + ## Check output for success message (direct grep output to dev null, -q option quits early leaving tee error messages) + | grep 'All commands completed successfully.' > /dev/null + ## Print the stats to output to provide info on galaxy history item + && \$TRINITY_HOME/util/TrinityStats.pl trinity_out_dir/Trinity.fasta @@ -115,10 +117,6 @@ source="both" level="fatal" description="Trinity.pl not found" /> -