Mercurial > repos > mingchen0919 > rmarkdown_collection_builder
changeset 38:c0db152f07b5 draft
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit 51c9df9f3f883537269f8928f92052457b29f744-dirty
author | mingchen0919 |
---|---|
date | Tue, 26 Sep 2017 01:20:16 -0400 |
parents | c57b5760a0b9 |
children | b1fd5c521def |
files | collection_paired.Rmd collection_paired.xml collection_paired_render.R |
diffstat | 1 files changed, 53 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/collection_paired.xml Tue Sep 26 01:03:39 2017 -0400 +++ b/collection_paired.xml Tue Sep 26 01:20:16 2017 -0400 @@ -0,0 +1,53 @@ +<tool id="rmarkdown_collection_paired" name="Collection type: list:paired" version="1.0.0"> + <requirements> + <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.2">r-rmarkdown</requirement> + <requirement type="package" version="0.3.5">r-htmltools</requirement> + <requirement type="package" version="0.5.0">r-dplyr</requirement> + </requirements> + <description> + Create a 'list:paired' dataset collection from a set of files in Galaxy history. + </description> + <stdio> + <regex match="Execution halted" + source="both" + level="fatal" + description="Execution halted." /> + <regex match="Error in" + source="both" + level="fatal" + description="An undefined error occured, please check your intput carefully and contact your administrator." /> + <regex match="Fatal error" + source="both" + level="fatal" + description="An undefined error occured, please check your intput carefully and contact your administrator." /> + </stdio> + <command> + <![CDATA[ + Rscript '${__tool_directory__}/collection_paired_render.R' + -L $forward_file_list + -R $reverse_file_list + -e $echo + -f $format + + -r $report + -d $report.files_path + + -t '${__tool_directory__}/collection_paired.Rmd' + ]]> + </command> + <inputs> + <param type="data" name="forward_file_list" multiple="true" label="forward inputs"/> + <param type="data" name="reverse_file_list" multiple="true" label="reverse inputs"/> + <param type="text" name="format" label="the format of input files (e.g., fastq, fastqsanger, fasta)"/> + + <param type="boolean" name="echo" truevalue="TRUE" falsevalue="FALSE" checked="false" label="Display analysis code in report?" /> + </inputs> + <outputs> + <data format="html" name="report" label="Collection builder (list:paired collection)" /> + <collection type="list:paired" name="list_collection"> + <discover_datasets pattern="(?P<identifier_0>[^_]+)_(?P<identifier_1>[^_]+)\.fq" ext="fastqsanger" directory="files_directory"/> + </collection> + </outputs> +</tool> \ No newline at end of file