comparison pathway_image.xml @ 0:3be071295340 default tip

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