annotate DESeq_results.xml @ 12:143a71fa7fdb draft

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