annotate pathway_image.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_pathway_image" name="Generate" version="1.0.0">
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
2 <description>KEGG pathway images</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 mkpthwpng.py
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
6 "--input=${input}"
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
7 "--output=${output}"
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
8 "--KEGGpath=${pathway}"
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
9 "--posKEGGclmn=${input.metadata.kegg_path}"
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
10 "--KEGGgeneposcolmn=${input.metadata.kegg_gene}"
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
11 </command>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
12
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
13 <inputs>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
14 <param name="input" type="data" format="wpf" label="Table">
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
15 <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
16 </param>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
17 <param name="pathway" type="select">
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
18 <options from_file="gd.pathways.txt">
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
19 <column name="value" index="1"/>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
20 <column name="name" index="2"/>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
21 <filter type="data_meta" ref="input" key="dbkey" column="0" separator="\t" />
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
22 </options>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
23 </param>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
24 </inputs>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
25
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
26 <outputs>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
27 <data name="output" format="png" />
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
28 </outputs>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
29
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
30 <tests>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
31 <test>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
32 <param name="input" value="test_in/sample.wpf" ftype="wpf" />
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
33 <param name="pathway" value="cfa05214" />
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
34 <output name="output" file="test_out/pathway_image/pathway_image.png" compare="sim_size" delta = "10000" />
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
35 </test>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
36 </tests>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
37
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
38 <help>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
39 **What it does**
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
40
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
41 This tool produces an image of an input KEGG pathway, highlighting the
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
42 modules representing genes in an input list. NOTE: a given gene can
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
43 be assigned to multiple modules, and different genes can be assigned to
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
44 the same module.
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
45 </help>
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
46 </tool>