annotate rank_pathways.xml @ 1:0df7a9b89f13

add empty snifffers section to mitigate toolshed bug; new version of dpmix
author Richard Burhans <burhans@bx.psu.edu>
date Mon, 09 Apr 2012 12:40:57 -0400
parents 2c498d40ecde
children e29f4d801bb0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
1 <tool id="gd_calc_freq" name="Rank" version="1.0.0">
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
2 <description>affected KEGG pathways</description>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
3
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
4 <command interpreter="python">
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
5 #if str($output_format) == 'a'
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
6 calctfreq.py
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
7 #else if str($output_format) == 'b'
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
8 calclenchange.py
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
9 #end if
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
10 "--loc_file=${GALAXY_DATA_INDEX_DIR}/gd.rank.loc"
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
11 "--species=${input.metadata.dbkey}"
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
12 "--input=${input}"
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
13 "--output=${output}"
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
14 "--posKEGGclmn=${input.metadata.kegg_path}"
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
15 "--KEGGgeneposcolmn=${input.metadata.kegg_gene}"
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
16 </command>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
17
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
18 <inputs>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
19 <param name="input" type="data" format="wpf" label="Table">
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
20 <validator type="metadata" check="kegg_gene,kegg_path" message="Missing KEGG gene code column and/or KEGG pathway code/name column metadata. Click the pencil icon in the history item to edit/save the metadata attributes" />
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
21 </param>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
22 <param name="output_format" type="select" label="Output format">
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
23 <option value="a" selected="true">ranked by percentage of genes affected</option>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
24 <option value="b">ranked by change in length and number of paths</option>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
25 </param>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
26 </inputs>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
27
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
28 <outputs>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
29 <data name="output" format="tabular" />
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
30 </outputs>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
31
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
32 <tests>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
33 <test>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
34 <param name="input" value="test_in/sample.wpf" ftype="wpf" />
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
35 <param name="output_format" value="a" />
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
36 <output name="output" file="test_out/rank_pathways/rank_pathways.tabular" />
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
37 </test>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
38 </tests>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
39
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
40 <help>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
41 **What it does**
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
42
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
43 This tool produces a table ranking the pathways based on the percentage
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
44 of genes in an input dataset, out of the total in each pathway.
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
45 Alternatively, the tool ranks the pathways based on the change in
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
46 length and number of paths connecting sources and sinks. This change is
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
47 calculated between graphs representing pathways with and without excluding
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
48 the nodes that represent the genes in an input list. Sources are all
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
49 the nodes representing the initial reactants/products in the pathway.
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
50 Sinks are all the nodes representing the final reactants/products in
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
51 the pathway.
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
52
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
53 If pathways are ranked by percentage of genes affected, the output is
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
54 a tabular dataset with the following columns:
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
55
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
56 1. number of genes in the pathway present in the input dataset
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
57 2. percentage of the total genes in the pathway included in the input dataset
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
58 3. rank of the frequency (from high freq to low freq)
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
59 4. name of the pathway
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
60
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
61 If pathways are ranked by change in length and number of paths, the
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
62 output is a tabular dataset with the following columns:
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
63
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
64 1. change in the mean length of paths between sources and sinks
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
65 2. mean length of paths between sources and sinks in the pathway including the genes in the input dataset. If the pathway do not have sources/sinks, the length is assumed to be infinite (I)
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
66 3. mean length of paths between sources and sinks in the pathway excluding the genes in the input dataset. If the pathway do not have sources/sinks, the length is assumed to be infinite (I)
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
67 4. rank of the change in the mean length of paths between sources and sinks (from high change to low change)
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
68 5. change in the number of paths between sources and sinks
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
69 6. number of paths between sources and sinks in the pathway including the genes in the input dataset. If the pathway do not have sources/sinks, it is assumed to be a circuit (C)
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
70 7. number of paths between sources and sinks in the pathway excluding the genes in the input dataset. If the pathway do not have sources/sinks, it is assumed to be a circuit (C)
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
71 8. rank of the change in the number of paths between sources and sinks (from high change to low change)
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
72 9. name of the pathway
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
73 </help>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
74 </tool>