Mercurial > repos > jjohnson > trinityrnaseq
comparison trinityrnaseq.xml @ 4:d5580071d910
Update commandline to detect successful completion
author | Jim Johnson <jj@umn.edu> |
---|---|
date | Mon, 11 Nov 2013 11:08:56 -0600 |
parents | a9d882069cd4 |
children | 09c1e388c20c |
comparison
equal
deleted
inserted
replaced
3:a9d882069cd4 | 4:d5580071d910 |
---|---|
38 --min_kmer_cov $additional_params.min_kmer_cov --max_reads_per_graph $additional_params.max_reads_per_graph --bflyHeapSpaceMax $additional_params.bflyHeapSpaceMax | 38 --min_kmer_cov $additional_params.min_kmer_cov --max_reads_per_graph $additional_params.max_reads_per_graph --bflyHeapSpaceMax $additional_params.bflyHeapSpaceMax |
39 #if $additional_params.bfly_opts != 'None': | 39 #if $additional_params.bfly_opts != 'None': |
40 --bfly_opts " $additional_params.bfly_opts " | 40 --bfly_opts " $additional_params.bfly_opts " |
41 #end if | 41 #end if |
42 #end if | 42 #end if |
43 | 43 |
44 | 44 ## direct output to the log file |
45 ## direct to output | 45 | tee $trinity_log |
46 | tee $trinity_log | grep -q 'All commands completed successfully.' | 46 ## Check output for success message (direct grep output to dev null, -q option quits early leaving tee error messages) |
47 | 47 | grep 'All commands completed successfully.' > /dev/null |
48 ## Print the stats to output to provide info on galaxy history item | |
49 && \$TRINITY_HOME/util/TrinityStats.pl trinity_out_dir/Trinity.fasta | |
48 </command> | 50 </command> |
49 <inputs> | 51 <inputs> |
50 <param name="JM" type="select" label="JM" help="Amount of memory to allocate to Jellyfish for Kmer catalog construction"> | 52 <param name="JM" type="select" label="JM" help="Amount of memory to allocate to Jellyfish for Kmer catalog construction"> |
51 <option value="1G">1G</option> | 53 <option value="1G">1G</option> |
52 <option value="10G">10G</option> | 54 <option value="10G">10G</option> |
113 <exit_code range="1:" level="fatal" description="Failed" /> | 115 <exit_code range="1:" level="fatal" description="Failed" /> |
114 <regex match="command not found" | 116 <regex match="command not found" |
115 source="both" | 117 source="both" |
116 level="fatal" | 118 level="fatal" |
117 description="Trinity.pl not found" /> | 119 description="Trinity.pl not found" /> |
118 <regex match="Error" | |
119 source="both" | |
120 level="fatal" | |
121 description="A trinity process failed" /> | |
122 </stdio> | 120 </stdio> |
123 <outputs> | 121 <outputs> |
124 <data format="txt" name="trinity_log" label="${tool.name} on ${on_string}: log" /> | 122 <data format="txt" name="trinity_log" label="${tool.name} on ${on_string}: log" /> |
125 <data format="fasta" name="assembled_transcripts" label="${tool.name} on ${on_string}: Assembled Transcripts" from_work_dir="trinity_out_dir/Trinity.fasta"/> | 123 <data format="fasta" name="assembled_transcripts" label="${tool.name} on ${on_string}: Assembled Transcripts" from_work_dir="trinity_out_dir/Trinity.fasta"/> |
126 </outputs> | 124 </outputs> |