|
1
|
1 <tool id="split_multifasta" name="split_multifasta" version="1.0.0">
|
|
0
|
2 <description>Split a single FASTA file into multiple smaller FASTA files
|
|
|
3 </description>
|
|
|
4 <requirements>
|
|
|
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 <stdio>
|
|
|
7 <regex match="XXX" source="stderr" level="warning" description="Check the warnings_and_errors.txt file for more details."/></stdio>
|
|
|
8 <command><![CDATA[export TOOL_DIR='${__tool_directory__}' &&
|
|
|
9
|
|
|
10 Rscript '${__tool_directory__}/'split_fasta_render.R
|
|
|
11
|
|
|
12 -o '$report'
|
|
|
13 -d '$report.files_path'
|
|
|
14 -s '$sink_message'
|
|
|
15 -A '$fasta_input'
|
|
|
16 -B '$number'
|
|
|
17 ]]></command>
|
|
|
18 <inputs>
|
|
|
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>
|
|
|
20 <outputs>
|
|
|
21 <data name="report" format="html" label="${tool.name} report on ${on_string}" hidden="false"/><data name="sink_message" format="txt" label="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>
|
|
|
22 <citations>
|
|
|
23 <citation type="bibtex"><![CDATA[
|
|
|
24 @article{allaire2016rmarkdown,
|
|
|
25 title={rmarkdown: Dynamic Documents for R, 2016},
|
|
|
26 author={Allaire, J and Cheng, Joe and Xie, Yihui and McPherson, Jonathan and Chang, Winston and Allen, Jeff
|
|
|
27 and Wickham, Hadley and Atkins, Aron and Hyndman, Rob},
|
|
|
28 journal={R package version 0.9},
|
|
|
29 volume={6},
|
|
|
30 year={2016}
|
|
|
31 }
|
|
|
32 ]]></citation><citation type="bibtex"><![CDATA[
|
|
|
33 @book{xie2015dynamic,
|
|
|
34 title={Dynamic Documents with R and knitr},
|
|
|
35 author={Xie, Yihui},
|
|
|
36 volume={29},
|
|
|
37 year={2015},
|
|
|
38 publisher={CRC Press}
|
|
|
39 }
|
|
|
40 ]]></citation></citations>
|
|
|
41 </tool>
|