comparison DESeq_results.xml @ 0:7231d7e8d3ed draft

planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_deseq2 commit 9285c2b8ad41a486dde2a87600a6b8267841c8b5-dirty
author mingchen0919
date Tue, 08 Aug 2017 10:43:18 -0400
parents
children 15a5fb1a2ac8
comparison
equal deleted inserted replaced
-1:000000000000 0:7231d7e8d3ed
1 <tool id="DESeq_results" name="DESeq2: Results" version="1.0.0">
2 <requirements>
3 <requirement type="package" version="1.14.1">bioconductor-deseq2</requirement>
4 <requirement type="package" version="1.20.0">r-getopt</requirement>
5 <requirement type="package" version="1.2">r-rmarkdown</requirement>
6 <requirement type="package" version="1.8.4">r-plyr</requirement>
7 <requirement type="package" version="1.1.0">r-stringr</requirement>
8 <requirement type="package" version="0.4.0">r-highcharter</requirement>
9 <requirement type="package" version="0.2">r-dt</requirement>
10 <requirement type="package" version="1.4.2">r-reshape2</requirement>
11 <requirement type="package" version="4.5.6">r-plotly</requirement>
12 <requirement type="package" version="0.2.0.1">r-formattable</requirement>
13 <requirement type="package" version="0.3.5">r-htmltools</requirement>
14 <requirement type="package" version="1.0.8">r-pheatmap</requirement>
15 </requirements>
16 <description>
17 An R Markdown tool to display DESeq analysis.
18 </description>
19 <stdio>
20 <regex match="Execution halted"
21 source="both"
22 level="fatal"
23 description="Execution halted." />
24 <regex match="Error in"
25 source="both"
26 level="fatal"
27 description="An undefined error occured, please check your intput carefully and contact your administrator." />
28 <regex match="Fatal error"
29 source="both"
30 level="fatal"
31 description="An undefined error occured, please check your intput carefully and contact your administrator." />
32 </stdio>
33 <command>
34 <![CDATA[
35
36 Rscript '${__tool_directory__}/DESeq_results_render.R'
37
38 ## 1. input data
39 -e $echo
40 -w $deseq_workspace
41 -c "$contrast_group"
42 -t $treatment
43 -k $condition
44
45 #set $groups = []
46 #for $c_group in $clustering_groups
47 #if str($c_group.group)
48 #set $groups = $groups + [str($c_group.group)]
49 #end if
50 #end for
51 #set $groups = ','.join($groups)
52 -m "$groups"
53
54 ## 2. output report and report site directory
55 -o $deseq_results
56 -d $deseq_results.files_path
57
58 ## 3. Rmd templates sitting in the tool directory
59
60 ## _site.yml and index.Rmd template files
61 -D '${__tool_directory__}/DESeq_results.Rmd'
62
63
64
65 ]]>
66 </command>
67 <inputs>
68 <param type="data" name="deseq_workspace" format="rdata" multiple="false" label="Workspace from tool DESeq2: DESeq" />
69 <param type="data" name="sample_table" format="tabular" multiple="false" label="Sample table file" />
70 <param type="data_column" name="contrast_group" data_ref="sample_table" use_header_names="true"
71 optional="false"
72 label="Group for result contrast"
73 help=""/>
74 <param type="text" name="treatment" label="Treatment level" />
75 <param type="text" name="condition" label="Condition level" />
76
77 <repeat name="clustering_groups" title="Gene clustering groups" min="1">
78 <param type="data_column" name="group" data_ref="sample_table" use_header_names="true"
79 optional="false"
80 label="A phenotype column from the sample table" />
81 </repeat>
82
83 <param type="boolean" name="echo" truevalue="TRUE" falsevalue="FALSE" checked="false" label="Display analysis code in report?" />
84 </inputs>
85 <outputs>
86 <data name="deseq_results" format="html" label="DESeq Results" />
87 </outputs>
88 </tool>