annotate DESeq_visualization.xml @ 14:433d641ed7e5 draft default tip

Uploaded
author mingchen0919
date Mon, 07 Aug 2017 20:52:49 -0400
parents b50f1063a621
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
1 <tool id="DESeq_visualization" name="DESeq2: Visualization" version="1.0.0">
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
2 <requirements>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
3 <requirement type="package" version="1.14.1">bioconductor-deseq2</requirement>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
4 <requirement type="package" version="1.20.0">r-getopt</requirement>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
5 <requirement type="package" version="1.2">r-rmarkdown</requirement>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
6 <requirement type="package" version="1.8.4">r-plyr</requirement>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
7 <requirement type="package" version="1.1.0">r-stringr</requirement>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
8 <requirement type="package" version="0.4.0">r-highcharter</requirement>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
9 <requirement type="package" version="0.2">r-dt</requirement>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
10 <requirement type="package" version="1.4.2">r-reshape2</requirement>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
11 <requirement type="package" version="4.5.6">r-plotly</requirement>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
12 <requirement type="package" version="0.2.0.1">r-formattable</requirement>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
13 <requirement type="package" version="0.3.5">r-htmltools</requirement>
13
b50f1063a621 Uploaded
mingchen0919
parents: 10
diff changeset
14 <requirement type="package" version="1.0.8">r-pheatmap</requirement>
6
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
15 </requirements>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
16 <description>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
17 An R Markdown tool to visualize DESeq analysis results.
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
18 </description>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
19 <stdio>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
20 <regex match="Execution halted"
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
21 source="both"
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
22 level="fatal"
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
23 description="Execution halted." />
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
24 <regex match="Error in"
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
25 source="both"
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
26 level="fatal"
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
27 description="An undefined error occured, please check your intput carefully and contact your administrator." />
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
28 <regex match="Fatal error"
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
29 source="both"
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
30 level="fatal"
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
31 description="An undefined error occured, please check your intput carefully and contact your administrator." />
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
32 </stdio>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
33 <command>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
34 <![CDATA[
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
35
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
36 Rscript '${__tool_directory__}/DESeq_visualization_render.R'
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
37
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
38 ## 1. input data
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
39 -e $echo
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
40 -w $deseq_workspace
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
41
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
42 #set $pca_groups = []
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
43 #for $group in $intgroups_pca
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
44 #if str($group.intgroup)
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
45 #set $pca_groups = $pca_groups + [str($group.intgroup)]
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
46 #end if
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
47 #end for
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
48 #set $pca_groups = ','.join($pca_groups)
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
49 -p "$pca_groups"
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
50
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
51 #set $mds_groups = []
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
52 #for $group in $intgroups_mds
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
53 #if str($group.intgroup)
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
54 #set $mds_groups = $mds_groups + [str($group.intgroup)]
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
55 #end if
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
56 #end for
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
57 #set $mds_groups = ','.join($mds_groups)
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
58 -m "$mds_groups"
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
59
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
60 ## 2. output report and report site directory
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
61 -o $deseq_visualization
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
62 -d $deseq_visualization.files_path
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
63
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
64
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
65 ## 3. Rmd templates sitting in the tool directory
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
66
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
67 ## _site.yml and index.Rmd template files
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
68 -D '${__tool_directory__}/DESeq_visualization.Rmd'
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
69
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
70
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
71
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
72 ]]>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
73 </command>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
74 <inputs>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
75 <param type="data" name="deseq_workspace" format="rdata" multiple="false" label="Workspace from tool DESeq2: DESeq" />
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
76 <param type="data" name="sample_table" format="tabular" multiple="false" label="Sample table file" />
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
77 <repeat name="intgroups_pca" title="Interest groups for PCA plot" min="1">
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
78 <param type="data_column" name="intgroup" data_ref="sample_table" use_header_names="true"
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
79 optional="false"
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
80 label="Interest group for PCA plot"
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
81 help=""/>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
82 </repeat>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
83 <repeat name="intgroups_mds" title="Interest groups for MDS plot" min="1">
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
84 <param type="data_column" name="intgroup" data_ref="sample_table" use_header_names="true"
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
85 optional="false"
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
86 label="Interest group for MDS plot"
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
87 help=""/>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
88 </repeat>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
89 <param type="boolean" name="echo" truevalue="TRUE" falsevalue="FALSE" checked="false" label="Display analysis code in report?" />
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
90 </inputs>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
91 <outputs>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
92 <data name="deseq_visualization" format="html" label="DESeq Visualization" />
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
93 </outputs>
f1e4bfc58975 Uploaded
mingchen0919
parents:
diff changeset
94 </tool>