annotate DESeq.xml @ 9:2633469383fe draft

Uploaded
author mingchen0919
date Mon, 07 Aug 2017 18:26:20 -0400
parents 3f84334c3de8
children 4aeffaeaaa5c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
1 <tool id="DESeq" name="DESeq2: DESeq" version="1.0.0">
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
2 <requirements>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
3 <requirement type="package" version="1.14.1">bioconductor-deseq2</requirement>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
4 <requirement type="package" version="1.20.0">r-getopt</requirement>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
5 <requirement type="package" version="1.2">r-rmarkdown</requirement>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
6 <requirement type="package" version="1.8.4">r-plyr</requirement>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
7 <requirement type="package" version="1.1.0">r-stringr</requirement>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
8 <requirement type="package" version="0.4.0">r-highcharter</requirement>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
9 <requirement type="package" version="0.2">r-dt</requirement>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
10 <requirement type="package" version="1.4.2">r-reshape2</requirement>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
11 <requirement type="package" version="4.5.6">r-plotly</requirement>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
12 <requirement type="package" version="0.2.0.1">r-formattable</requirement>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
13 <requirement type="package" version="0.3.5">r-htmltools</requirement>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
14 </requirements>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
15 <description>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
16 An R Markdown tool to perform DESeq analysis.
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
17 </description>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
18 <stdio>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
19 <regex match="Execution halted"
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
20 source="both"
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
21 level="fatal"
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
22 description="Execution halted." />
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
23 <regex match="Error in"
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
24 source="both"
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
25 level="fatal"
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
26 description="An undefined error occured, please check your intput carefully and contact your administrator." />
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
27 <regex match="Fatal error"
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
28 source="both"
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
29 level="fatal"
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
30 description="An undefined error occured, please check your intput carefully and contact your administrator." />
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
31 </stdio>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
32 <command>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
33 <![CDATA[
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
34 ## Add tools to PATH
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
35 export PATH=/opt/R-3.2.5/bin:\$PATH &&
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
36
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
37 Rscript '${__tool_directory__}/DESeq_render.R'
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
38
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
39 ## 1. input data
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
40 -e $echo
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
41 -c $count_files
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
42 -s $sample_table
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
43 -p "$design_formula"
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
44
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
45 ## 2. output report and report site directory
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
46 -o $DESeq
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
47 -d $DESeq.files_path
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
48 -w $deseq_workspace
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
49
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
50 ## 3. Rmd templates sitting in the tool directory
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
51
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
52 ## _site.yml and index.Rmd template files
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
53 -D '${__tool_directory__}/DESeq.Rmd'
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
54
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
55
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
56
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
57 ]]>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
58 </command>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
59 <inputs>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
60 <param type="data" name="count_files" format="tabular" multiple="true" label="Count files from htseq-count" />
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
61 <param type="data" name="sample_table" format="tabular" multiple="false" label="sample table file"
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
62 help="The sample table file contains a table. The first column is the sample name, the second column is
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
63 the count file name and the rest of columns are treatment columns. The file names in this table have
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
64 to be in the same order as the count files uploaded in the previous step. "/>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
65 <param type="text" name="design_formula" value="~ condition_1 + condition_2" label="Design formula"
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
66 help="The simplest design formula for differential expression would be ~ condition, where condition
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
67 is a column in colData(dds) that specifies which of two (or more groups) the samples belong to">
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
68 <sanitizer>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
69 <valid initial="default">
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
70 <add preset="string.printable"/>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
71 <add value="~"/>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
72 </valid>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
73 </sanitizer>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
74 </param>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
75 <param type="boolean" name="echo" truevalue="TRUE" falsevalue="FALSE" checked="false" label="Display analysis code in report?" />
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
76 </inputs>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
77 <outputs>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
78 <data name="DESeq" format="html" label="DESeq Analysis" />
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
79 <data name="deseq_workspace" format="rdata" label="R workspace: DESeq analysis" />
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
80 </outputs>
3f84334c3de8 Uploaded
mingchen0919
parents:
diff changeset
81 </tool>