annotate edgeR_Convert_DGE_Table_to_Bedgraph.xml @ 92:86c3aaa205b5 draft

Added bedgraph exporting function for the DGE tables
author yhoogstrate
date Fri, 13 Mar 2015 05:45:09 -0400
parents
children 31335aa52b2e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
92
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
2 <tool id="edger_dge_table_to_bedgraph" name="edgeR: convert 'differentially expressed genes'-table to bedgraph(s)" version="1.0.0">
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
3 <description>EdgeR's "differentially expressed genes" table to bedgraph(s)</description>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
4
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
5 <requirements>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
6 <requirement type="package" version="1.0.0">edger_dge_table_to_bedgraph</requirement>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
7 </requirements>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
8
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
9 <command interpreter="python">
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
10 edger_dge_table_to_bedgraph
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
11 -t $cpm_table
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
12 -g $geneset
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
13
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
14 #if $logfc:
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
15 -c3 $logfc
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
16 #end if
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
17
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
18 #if $logcpm:
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
19 -c4 $logcpm
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
20 #end if
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
21
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
22 #if $lr:
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
23 -c5 $lr
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
24 #end if
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
25
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
26 #if $pvalue:
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
27 -c6 $pvalue
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
28 #end if
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
29
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
30 #if $fdr:
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
31 -c7 $fdr
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
32 #end if
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
33 </command>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
34
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
35 <inputs>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
36 <param format="tabular" name="cpm_table" type="data" label="'differentially expressed genes'-table as result from EdgeR" help="must have 7 columns of which the 2nd are gene names matching the GTF file" />
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
37 <param format="gtf" name="geneset" type="data" label="Geneset used for estimating expression levels prior to expression analysis" />
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
38
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
39 <param name="columns" type="select" label="Desired columns" multiple="true" display="checkboxes">
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
40 <option value="c3" selected="true">logFC</option>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
41 <option value="c4">logCPM</option>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
42 <option value="c5">LR</option>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
43 <option value="c6">PValue</option>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
44 <option value="c7" selected="true">FDR</option>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
45 </param>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
46 </inputs>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
47
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
48 <outputs>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
49 <data fromat="bedgraph" name="logfc" label="logFC from ${cpm_table.name}">
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
50 <filter>"c3" in columns</filter>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
51 </data>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
52
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
53 <data fromat="bedgraph" name="logcpm" label="logCPM from ${cpm_table.name}">
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
54 <filter>"c4" in columns</filter>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
55 </data>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
56
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
57 <data fromat="bedgraph" name="lr" label="LR from ${cpm_table.name}">
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
58 <filter>"c5" in columns</filter>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
59 </data>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
60
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
61 <data fromat="bedgraph" name="pvalue" label="PValue from ${cpm_table.name}">
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
62 <filter>"c6" in columns</filter>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
63 </data>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
64
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
65 <data fromat="bedgraph" name="fdr" label="FDR from ${cpm_table.name}">
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
66 <filter>"c7" in columns</filter>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
67 </data>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
68 </outputs>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
69
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
70 <help>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
71 P-values and FDRs are swapped from 1 to 0, and 0 to 1, because this way the most siginificant genes will obtain the highest values which is convenient for visualisation.
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
72 </help>
86c3aaa205b5 Added bedgraph exporting function for the DGE tables
yhoogstrate
parents:
diff changeset
73 </tool>