Mercurial > repos > mingchen0919 > one_command_liners
comparison extract_fields.xml @ 2:f1f549e6d0bc draft
initial tool
author | mingchen0919 |
---|---|
date | Thu, 22 Feb 2018 23:41:47 -0500 |
parents | da18ae80603c |
children | e1d225154d4a |
comparison
equal
deleted
inserted
replaced
1:da18ae80603c | 2:f1f549e6d0bc |
---|---|
8 </requirements> | 8 </requirements> |
9 <description>some descriptions about the tool.</description> | 9 <description>some descriptions about the tool.</description> |
10 <stdio> | 10 <stdio> |
11 <regex source="stderr" match="XXX" level="warning" description="Check the warnings_and_errors.txt file for more details."/> | 11 <regex source="stderr" match="XXX" level="warning" description="Check the warnings_and_errors.txt file for more details."/> |
12 </stdio> | 12 </stdio> |
13 <command><![CDATA[ | 13 <command><![CDATA[ Rscript '${__tool_directory__}/tool_template_render.R' |
14 Rscript '${__tool_directory__}/tool_template_render.R' | |
15 -e $echo | 14 -e $echo |
15 -i $input_txt | |
16 -r $report | 16 -r $report |
17 -d $report.files_path | 17 -d $report.files_path |
18 -s $sink_message | 18 -s $sink_message |
19 -t '${__tool_directory__}/tool_template.Rmd' | 19 -t '${__tool_directory__}/tool_template.Rmd' |
20 ]]></command> | 20 ]]></command> |
21 <inputs> | 21 <inputs> |
22 <param type="boolean" name="echo" label="Display analysis code in report?" optional="False" checked="False" truevalue="TRUE" falsevalue="FALSE"/> | 22 <param type="boolean" name="echo" label="Display analysis code in report?" optional="False" checked="False" truevalue="TRUE" falsevalue="FALSE"/> |
23 <param type="data" name="input_txt" optional="False" format="txt"/> | |
23 </inputs> | 24 </inputs> |
24 <outputs> | 25 <outputs> |
25 <data name="report" format="html" label="tool name report" hidden="false"/> | 26 <data name="report" format="html" label="tool name report" hidden="false"/> |
26 <data name="sink_message" format="txt" label="Warnings and Errors" from_work_dir="warnings_and_errors.txt" hidden="false"/> | 27 <data name="sink_message" format="txt" label="Warnings and Errors" from_work_dir="warnings_and_errors.txt" hidden="false"/> |
27 </outputs> | 28 </outputs> |