Mercurial > repos > mingchen0919 > one_command_liners
comparison extract_fields.xml @ 5:fc9043b919b1 draft
initial tool
author | mingchen0919 |
---|---|
date | Fri, 23 Feb 2018 09:46:08 -0500 |
parents | e1d225154d4a |
children | 26a239300989 |
comparison
equal
deleted
inserted
replaced
4:e1d225154d4a | 5:fc9043b919b1 |
---|---|
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[ Rscript '${__tool_directory__}/tool_template_render.R' | 13 <command><![CDATA[ Rscript '${__tool_directory__}/tool_template_render.R' |
14 -e $echo | 14 -e $echo |
15 -A $field_numbers | 15 -A $input_field_numbers |
16 -B $input_txt | 16 -B $input_txt |
17 -O $output_txt | 17 -O $output_txt |
18 -r $report | 18 -r $report |
19 -d $report.files_path | 19 -d $report.files_path |
20 -s $sink_message | 20 -s $sink_message |
21 -t '${__tool_directory__}/tool_template.Rmd' | 21 -t '${__tool_directory__}/tool_template.Rmd' |
22 ]]></command> | 22 ]]></command> |
23 <inputs> | 23 <inputs> |
24 <param type="boolean" name="echo" label="Display analysis code in report?" optional="False" checked="False" truevalue="TRUE" falsevalue="FALSE"/> | 24 <param type="boolean" name="echo" label="Display analysis code in report?" optional="False" checked="False" truevalue="TRUE" falsevalue="FALSE"/> |
25 <param type="text" name="field_numbers" label="Field numbers" optional="False"/> | 25 <param type="text" name="input_field_numbers" label="input field numbers" optional="False"/> |
26 <param type="data" name="input_txt" label="Input text file" optional="False" format="txt"/> | 26 <param type="data" name="input_txt" label="Input text file" optional="False" format="txt"/> |
27 </inputs> | 27 </inputs> |
28 <outputs> | 28 <outputs> |
29 <data name="report" format="html" label="tool name report" hidden="false"/> | 29 <data name="report" format="html" label="tool name report" hidden="false"/> |
30 <data name="sink_message" format="txt" label="Warnings and Errors" from_work_dir="warnings_and_errors.txt" hidden="false"/> | 30 <data name="sink_message" format="txt" label="Warnings and Errors" from_work_dir="warnings_and_errors.txt" hidden="false"/> |
31 <param type="data" name="output_txt" label="Output text file" optional="False" format="txt"/> | 31 <data name="output_txt" format="txt" hidden="false"/> |
32 </outputs> | 32 </outputs> |
33 <help><![CDATA[some help text]]></help> | 33 <help><![CDATA[some help text]]></help> |
34 <citations> | 34 <citations> |
35 <citation type="bibtex"><![CDATA[ | 35 <citation type="bibtex"><![CDATA[ |
36 @article{allaire2016rmarkdown, | 36 @article{allaire2016rmarkdown, |