annotate rmarkdown_report.xml @ 0:b8c76b06d724 draft

planemo upload
author mingchen0919
date Fri, 09 Nov 2018 13:29:21 -0500
parents
children e0828838e0f3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
1 <tool id="aurora_dustmasker" name="aurora_dustmasker" version="1.0.0">
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
2 <description>Low complexity region masker based on Symmetric DUST algorithm</description>
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
3 <requirements>
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
4 <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="2.7.1">blast</requirement></requirements>
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
5 <command><![CDATA[ ######### each aurora tool generates a html file and have an files path directory associated with it.
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
6 mkdir -p $report.files_path &&
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
7
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
8 ######### three important paths:
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
9 ######### 1. path to tool installation directory
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
10 ######### 2. path to report html
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
11 ######### 3. path to files_path directory associated with the report output.
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
12 export TOOL_INSTALL_DIR='${__tool_directory__}' &&
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
13 export REPORT='$report' &&
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
14 export REPORT_FILES_PATH='$report.files_path' &&
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
15
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
16 ############ create a hidden file to store r markdown rendering log
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
17 touch $report.files_path/r_rendering.log.txt &&
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
18
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
19 ############ finally run the render.R script
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
20 Rscript '${__tool_directory__}/rmarkdown_report_render.R'
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
21
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
22 -o $report
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
23 -d $report.files_path
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
24
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
25 -A $input_fasta
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
26 -B $level
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
27 -C $linker
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
28 -D $input_format
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
29 -E $output_format
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
30 -F $parse_seqids
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
31
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
32 -G $out
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
33
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
34
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
35 ]]></command>
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
36 <inputs>
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
37 <param type="data" name="input_fasta" argument="-in" label="Input file name" optional="False" format="fasta,fa"/><param type="integer" name="level" argument="-level" label="DUST level (score threshold for subwindows)" optional="False" value="20"/><param type="integer" name="linker" argument="-linker" label="DUST linker (how close masked intervals should be to get merged together)." optional="False" value="1"/><param type="integer" name="window_length" argument="window" label="DUST window length" optional="False" value="64"/><param type="select" name="input_format" label="Input format (possible values: fasta, blastdb)" optional="False" multiple="False"><option value="input_format_fasta" selected="true">fasta</option><option value="input_format_blastdb" selected="false">blastdb</option></param><param type="select" name="output_format" argument="-outfmt" label="Output format" optional="False" multiple="False"><option value="output_acclist" selected="false">acclist</option><option value="output_fasta" selected="false">fasta</option><option value="output_interval" selected="false">interval</option><option value="output_maskinfo_asn1_bin" selected="false">maskinfo_asn1_bin</option><option value="output_maskinfo_asn1_text" selected="false">maskinfo_asn1_text</option><option value="output_maskinfo_xml" selected="false">maskinfo_xml</option><option value="output_seqloc_asn1_bin" selected="false">output_seqloc_asn1_bin</option><option value="output_seqloc_asn1_text" selected="false">seqloc_asn1_text</option><option value="output_seqloc_xml" selected="false">seqloc_xml</option></param><param type="boolean" name="parse_seqids" argument="-parse_seqids" label="Parse Seq-ids in FASTA input" optional="False" truevalue="NO_ARGUMENT_YES" falsevalue="NO_ARGUMENT_NO"/></inputs>
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
38 <outputs>
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
39 <data format="html" name="report" label="${tool.name} report on ${on_string}"/><data name="out" label="${tool.name} on ${on_string}" hidden="false"/></outputs>
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
40 <citations>
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
41 <citation type="bibtex"><![CDATA[
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
42 @article{allaire2016rmarkdown,
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
43 title={rmarkdown: Dynamic Documents for R, 2016},
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
44 author={Allaire, J and Cheng, Joe and Xie, Yihui and McPherson, Jonathan and Chang, Winston and Allen, Jeff
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
45 and Wickham, Hadley and Atkins, Aron and Hyndman, Rob},
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
46 journal={R package version 0.9},
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
47 volume={6},
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
48 year={2016}
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
49 }
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
50 ]]></citation><citation type="bibtex"><![CDATA[
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
51 @book{xie2015dynamic,
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
52 title={Dynamic Documents with R and knitr},
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
53 author={Xie, Yihui},
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
54 volume={29},
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
55 year={2015},
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
56 publisher={CRC Press}
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
57 }
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
58 ]]></citation><citation type="bibtex"><![CDATA[
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
59 @online{jstree,
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
60 author={Bozhanov, Ivan},
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
61 year = 2018,
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
62 url = {https://www.jstree.com/}
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
63 }
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
64 ]]></citation></citations>
b8c76b06d724 planemo upload
mingchen0919
parents:
diff changeset
65 </tool>