|
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
|
|
|
3 </description>
|
|
|
4 <requirements>
|
|
|
5 <requirement type="package" version="1.15.0.6-0">pandoc</requirement>
|
|
|
6 <requirement type="package" version="1.20.0">r-getopt</requirement>
|
|
|
7 <requirement type="package" version="1.6">r-rmarkdown</requirement>
|
|
|
8 <requirement type="package" version="5.22.2.1">perl</requirement>
|
|
|
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
|
|
|
16 Rscript '${__tool_directory__}/'split_fasta_render.R
|
|
|
17
|
|
|
18 -o '$report'
|
|
|
19 -d '$report.files_path'
|
|
|
20 -s '$sink_message'
|
|
|
21 -A '$fasta_input'
|
|
|
22 -B '$number'
|
|
|
23 ]]></command>
|
|
|
24 <inputs>
|
|
|
25 <param type="data" name="fasta_input" label="FASTA input" optional="False" multiple="False"/>
|
|
|
26 <param type="integer" name="number" label="Number" help="The number of files the FASTA file will be split into"
|
|
|
27 optional="False" value="200" min="1"/>
|
|
|
28 </inputs>
|
|
|
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[
|
|
|
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 }
|
|
|
46 ]]></citation>
|
|
|
47 <citation type="bibtex"><![CDATA[
|
|
|
48 @book{xie2015dynamic,
|
|
|
49 title={Dynamic Documents with R and knitr},
|
|
|
50 author={Xie, Yihui},
|
|
|
51 volume={29},
|
|
|
52 year={2015},
|
|
|
53 publisher={CRC Press}
|
|
|
54 }
|
|
|
55 ]]></citation>
|
|
|
56 </citations>
|
|
|
57 </tool>
|