annotate DESeq_visualization.xml @ 12:143a71fa7fdb draft

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