comparison split_fasta.xml @ 1:ecf34bd52987 draft

update
author mingchen0919
date Mon, 09 Apr 2018 13:32:55 -0400
parents 3918528c19b4
children 38435c74e795
comparison
equal deleted inserted replaced
0:3918528c19b4 1:ecf34bd52987
1 <tool id="statonlab_fasta_splitter" name="statonlab_fasta_splitter" version="1.0.0"> 1 <tool id="statonlab_fasta_splitter" name="statonlab_fasta_splitter" version="1.0.0">
2 <description>Split a single FASTA file into multiple smaller FASTA files&#xD; 2 <description>Split a single FASTA file into multiple smaller FASTA files&#xD;
3 </description> 3 </description>
4 <requirements> 4 <requirements>
5 <requirement type="package" version="1.15.0.6-0">pandoc</requirement> 5 <requirement type="package" version="1.15.0.6-0">pandoc</requirement><requirement type="package" version="1.20.0">r-getopt</requirement><requirement type="package" version="1.6">r-rmarkdown</requirement><requirement type="package" version="5.22.2.1">perl</requirement></requirements>
6 <requirement type="package" version="1.20.0">r-getopt</requirement> 6 <stdio>
7 <requirement type="package" version="1.6">r-rmarkdown</requirement> 7 <regex match="XXX" source="stderr" level="warning" description="Check the warnings_and_errors.txt file for more details."/></stdio>
8 <requirement type="package" version="5.22.2.1">perl</requirement> 8 <command><![CDATA[export TOOL_DIR='${__tool_directory__}' &&
9 </requirements>
10 <stdio>
11 <regex match="XXX" source="stderr" level="warning"
12 description="Check the warnings_and_errors.txt file for more details."/>
13 </stdio>
14 <command><![CDATA[export TOOL_DIR='${__tool_directory__}' &&
15 9
16 Rscript '${__tool_directory__}/'split_fasta_render.R 10 Rscript '${__tool_directory__}/'split_fasta_render.R
17 11
18 -o '$report' 12 -o '$report'
19 -d '$report.files_path' 13 -d '$report.files_path'
20 -s '$sink_message' 14 -s '$sink_message'
21 -A '$fasta_input' 15 -A '$fasta_input'
22 -B '$number' 16 -B '$number'
23 ]]></command> 17 ]]></command>
24 <inputs> 18 <inputs>
25 <param type="data" name="fasta_input" label="FASTA input" optional="False" multiple="False"/> 19 <param type="data" name="fasta_input" label="FASTA input" optional="False" multiple="False"/><param type="integer" name="number" label="Number" help="The number of files the FASTA file will be split into" optional="False" value="200" min="1"/></inputs>
26 <param type="integer" name="number" label="Number" help="The number of files the FASTA file will be split into" 20 <outputs>
27 optional="False" value="200" min="1"/> 21 <data name="report" format="html" label="${tool.name} report on ${on_string}" hidden="false"/><data name="sink_message" format="txt" label="${tool.name} log on ${on_string}" from_work_dir="warnings_and_errors.txt" hidden="false"/><collection name="list_collection" type="list" label="${tool.name} on ${on_string}"><discover_datasets pattern="__name_and_ext__" directory="fasta_files" visible="true"/></collection></outputs>
28 </inputs> 22 <citations>
29 <outputs>
30 <data format="html" name="report" label="tool report"/>
31 <data format="txt" name="sink_message" label="Warnings and Errors" from_work_dir="warnings_and_errors.txt"/>
32 <collection name="list_collection" type="list" label="${tool.name} on ${on_string}">
33 <discover_datasets pattern="__name_and_ext__" directory="fasta_files" visible="true"/>
34 </collection>
35 </outputs>
36 <citations>
37 <citation type="bibtex"><![CDATA[ 23 <citation type="bibtex"><![CDATA[
38 @article{allaire2016rmarkdown, 24 @article{allaire2016rmarkdown,
39 title={rmarkdown: Dynamic Documents for R, 2016}, 25 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 26 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}, 27 and Wickham, Hadley and Atkins, Aron and Hyndman, Rob},
42 journal={R package version 0.9}, 28 journal={R package version 0.9},
43 volume={6}, 29 volume={6},
44 year={2016} 30 year={2016}
45 } 31 }
46 ]]></citation> 32 ]]></citation><citation type="bibtex"><![CDATA[
47 <citation type="bibtex"><![CDATA[
48 @book{xie2015dynamic, 33 @book{xie2015dynamic,
49 title={Dynamic Documents with R and knitr}, 34 title={Dynamic Documents with R and knitr},
50 author={Xie, Yihui}, 35 author={Xie, Yihui},
51 volume={29}, 36 volume={29},
52 year={2015}, 37 year={2015},
53 publisher={CRC Press} 38 publisher={CRC Press}
54 } 39 }
55 ]]></citation> 40 ]]></citation></citations>
56 </citations>
57 </tool> 41 </tool>