annotate DGE.xml @ 3:dd69d0a22d92 default tip

Initial checkin of test data for DGE - move to your test-data directory for tests to work
author fubar
date Fri, 09 Sep 2011 01:11:38 -0400
parents ba8c9980350b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
1 <tool id="rgDGE" name="Digital differential expression" version="0.01">
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
2 <description>for RNA counts</description>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
3 <command interpreter="python">rgDGE.py --output_html "$html_file.files_path" --input_matrix "$input1" --treatcols "$Treat_cols"
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
4 --treatname "$treatment_name" --ctrlcols "$Control_cols" --ctrlname "$control_name" --output_tab "$outtab" --output_html
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
5 "$html_file" --output_dir "$html_file.files_path" --method "edgeR"
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
6 </command>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
7 <inputs>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
8 <param name="input1" type="data" format="tabular" label="Select an input matrix - rows are contigs, columns are counts for each sample"
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
9 help="Use the DGE matrix preparation tool to create these matrices from BAM files and a BED file of contigs"/>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
10 <param name="treatment_name" type="text" value="Treatment" size="50" label="Treatment Name"/>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
11 <param name="Treat_cols" label="Select columns containing treatment." type="data_column" data_ref="input1" numerical="True"
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
12 multiple="true" use_header_names="true" size="120" display="checkboxes">
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
13 <validator type="no_options" message="Please select at least one column."/>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
14 </param>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
15
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
16 <param name="control_name" type="text" value="Control" size="50" label="Control Name"/>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
17 <param name="Control_cols" label="Select columns containing control." type="data_column" data_ref="input1" numerical="True"
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
18 multiple="true" use_header_names="true" size="120" display="checkboxes">
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
19 <validator type="no_options" message="Please select at least one column."/>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
20 </param>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
21
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
22 <param name="method" type="select" label="Method" >
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
23 <option value="edgeR" selected="true">edgeR</option>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
24 <option value="DESeq">DESeq - coming soonish!</option>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
25 </param>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
26
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
27 </inputs>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
28 <outputs>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
29 <data format="tabular" name="outtab" label="${on_string}_DGE.xls"/>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
30 <data format="html" name="html_file" label="${on_string}_DGE.html"/>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
31 </outputs>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
32 <tests>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
33 <test>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
34 <param name='input1' value='DGEtest.xls' ftype='tabular' />
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
35 <param name='treatment_name' value='case' />
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
36 <param name='control_name' value='control' />
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
37 <param name='Treat_cols' value='c3,c6,c9' />
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
38 <param name='Control_cols' value='c2,c5,c8' />
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
39 <output name='outtab' file='DGEtest1out.xls' ftype='tabular' compare='diff' />
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
40 <output name='html_file' file='DGEtest1out.html' ftype='html' compare='diff' lines_diff='20' />
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
41 </test>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
42 </tests>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
43 <help>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
44 .. class:: infomark
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
45
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
46 **What it does**
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
47
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
48 Performs digital differential gene expression analysis between two groups (eg a treatment and control) each with biological replicates, from count data arranged in a matrix as a tabular file.
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
49
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
50 **Input**
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
51
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
52 A matrix consisting of non-negative integers. The matrix must have a unique header row identifiying the samples, as well as a unique set of row names
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
53 as the first column. To create appropriate input files, the "Multiple BAMs to matrix" tool takes multiple bam files containing mapped RNAseq reads mapped to a reference genome, and a BED file containing (eg Refseq) contigs. A count matrix containing contigs as rows and samples as
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
54 columns will be created and can then be used in this tool to estimate differential gene expression using methods appropriate for count data.
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
55
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
56 **Output**
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
57
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
58 A tabular file containing relative expression levels, statistical estimates of differential expression probability, the R script, log and sessionInfo, and some helpful diagnostic plots.
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
59
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
60 .. class:: infomark
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
61
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
62 **Attribution**
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
63 DGE.R was originally written by: S.Lunke and A.Kaspi.
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
64 Wrapping for Galaxy and general kibbitzing from Ross Lazarus.
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
65 This tool wrapts the edgeR_ Bioconductor package so all calculations and plots are controlled by that code. See edgeR_ for all documentation and appropriate attribution.
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
66 Recommended reference is Mark D. Robinson, Davis J. McCarthy, Gordon K. Smyth, PMCID: PMC2796818
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
67
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
68 .. _LGPL: http://www.gnu.org/copyleft/lesser.html
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
69 .. _edgeR: http://www.bioconductor.org/packages/2.3/bioc/html/edgeR.html
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
70
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
71 </help>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
72
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
73 </tool>
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
74
ba8c9980350b Initial checkin for DGE
fubar
parents:
diff changeset
75