6
|
1 <tool id="DESeq_visualization" name="DESeq2: Visualization" 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 </requirements>
|
|
15 <description>
|
|
16 An R Markdown tool to visualize DESeq analysis results.
|
|
17 </description>
|
|
18 <stdio>
|
|
19 <regex match="Execution halted"
|
|
20 source="both"
|
|
21 level="fatal"
|
|
22 description="Execution halted." />
|
|
23 <regex match="Error in"
|
|
24 source="both"
|
|
25 level="fatal"
|
|
26 description="An undefined error occured, please check your intput carefully and contact your administrator." />
|
|
27 <regex match="Fatal error"
|
|
28 source="both"
|
|
29 level="fatal"
|
|
30 description="An undefined error occured, please check your intput carefully and contact your administrator." />
|
|
31 </stdio>
|
|
32 <command>
|
|
33 <![CDATA[
|
|
34 ## Add tools to PATH
|
|
35 export PATH=/opt/R-3.2.5/bin:\$PATH &&
|
|
36
|
|
37 Rscript '${__tool_directory__}/DESeq_visualization_render.R'
|
|
38
|
|
39 ## 1. input data
|
|
40 -e $echo
|
|
41 -w $deseq_workspace
|
|
42
|
|
43 #set $pca_groups = []
|
|
44 #for $group in $intgroups_pca
|
|
45 #if str($group.intgroup)
|
|
46 #set $pca_groups = $pca_groups + [str($group.intgroup)]
|
|
47 #end if
|
|
48 #end for
|
|
49 #set $pca_groups = ','.join($pca_groups)
|
|
50 -p "$pca_groups"
|
|
51
|
|
52 #set $mds_groups = []
|
|
53 #for $group in $intgroups_mds
|
|
54 #if str($group.intgroup)
|
|
55 #set $mds_groups = $mds_groups + [str($group.intgroup)]
|
|
56 #end if
|
|
57 #end for
|
|
58 #set $mds_groups = ','.join($mds_groups)
|
|
59 -m "$mds_groups"
|
|
60
|
|
61 ## 2. output report and report site directory
|
|
62 -o $deseq_visualization
|
|
63 -d $deseq_visualization.files_path
|
|
64
|
|
65
|
|
66 ## 3. Rmd templates sitting in the tool directory
|
|
67
|
|
68 ## _site.yml and index.Rmd template files
|
|
69 -D '${__tool_directory__}/DESeq_visualization.Rmd'
|
|
70
|
|
71
|
|
72
|
|
73 ]]>
|
|
74 </command>
|
|
75 <inputs>
|
|
76 <param type="data" name="deseq_workspace" format="rdata" multiple="false" label="Workspace from tool DESeq2: DESeq" />
|
|
77 <param type="data" name="sample_table" format="tabular" multiple="false" label="Sample table file" />
|
|
78 <repeat name="intgroups_pca" title="Interest groups for PCA plot" min="1">
|
|
79 <param type="data_column" name="intgroup" data_ref="sample_table" use_header_names="true"
|
|
80 optional="false"
|
|
81 label="Interest group for PCA plot"
|
|
82 help=""/>
|
|
83 </repeat>
|
|
84 <repeat name="intgroups_mds" title="Interest groups for MDS plot" min="1">
|
|
85 <param type="data_column" name="intgroup" data_ref="sample_table" use_header_names="true"
|
|
86 optional="false"
|
|
87 label="Interest group for MDS plot"
|
|
88 help=""/>
|
|
89 </repeat>
|
|
90 <param type="boolean" name="echo" truevalue="TRUE" falsevalue="FALSE" checked="false" label="Display analysis code in report?" />
|
|
91 </inputs>
|
|
92 <outputs>
|
|
93 <data name="deseq_visualization" format="html" label="DESeq Visualization" />
|
|
94 </outputs>
|
|
95 </tool> |