0
|
1 <tool id="tool_template" name="tool name" version="1.0.0">
|
|
2 <requirements>
|
|
3 <requirement type="package" version="1.15.0.6-0">pandoc</requirement>
|
|
4 <requirement type="package" version="1.20.0">r-getopt</requirement>
|
|
5 <requirement type="package" version="1.3">r-rmarkdown</requirement>
|
|
6 <requirement type="package" version="0.3.5">r-htmltools</requirement>
|
|
7 <requirement type="package" version="0.5.0">r-dplyr</requirement>
|
9
|
8 <requirement type="package" version="v0.9.8">xorg-libxrender</requirement>
|
0
|
9 </requirements>
|
|
10 <description>some descriptions about the tool.</description>
|
|
11 <stdio>
|
|
12 <regex source="stderr" match="XXX" level="warning" description="Check the warnings_and_errors.txt file for more details."/>
|
|
13 </stdio>
|
2
|
14 <command><![CDATA[ Rscript '${__tool_directory__}/tool_template_render.R'
|
|
15 -e $echo
|
|
16 -r $report
|
|
17 -d $report.files_path
|
|
18 -s $sink_message
|
|
19 -t '${__tool_directory__}/tool_template.Rmd'
|
7
|
20
|
|
21 -A $input_field_numbers
|
|
22 -B $input_file
|
|
23 -O $output_txt
|
0
|
24 ]]></command>
|
|
25 <inputs>
|
|
26 <param type="boolean" name="echo" label="Display analysis code in report?" optional="False" checked="False" truevalue="TRUE" falsevalue="FALSE"/>
|
8
|
27 <param type="text" name="input_field_numbers" optional="False"/>
|
|
28 <param type="data" name="input_file" optional="False"/>
|
0
|
29 </inputs>
|
|
30 <outputs>
|
|
31 <data name="report" format="html" label="tool name report" hidden="false"/>
|
|
32 <data name="sink_message" format="txt" label="Warnings and Errors" from_work_dir="warnings_and_errors.txt" hidden="false"/>
|
5
|
33 <data name="output_txt" format="txt" hidden="false"/>
|
0
|
34 </outputs>
|
|
35 <help><![CDATA[some help text]]></help>
|
|
36 <citations>
|
1
|
37 <citation type="bibtex"><![CDATA[
|
0
|
38 @article{allaire2016rmarkdown,
|
|
39 title={rmarkdown: Dynamic Documents for R, 2016},
|
|
40 author={Allaire, J and Cheng, Joe and Xie, Yihui and McPherson, Jonathan and Chang, Winston and Allen, Jeff
|
|
41 and Wickham, Hadley and Atkins, Aron and Hyndman, Rob},
|
|
42 journal={R package version 0.9},
|
|
43 volume={6},
|
|
44 year={2016}
|
|
45 ]]></citation>
|
|
46 </citations>
|
|
47 </tool>
|