comparison graphlan.xml @ 0:c5746c07ca5e draft

planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/graphlan/ commit c1077b92ffc7d750e04fd327f32caca7a9bb2a2a-dirty
author bebatut
date Mon, 01 Feb 2016 07:45:14 -0500
parents
children 5cdaa98d9376
comparison
equal deleted inserted replaced
-1:000000000000 0:c5746c07ca5e
1 <tool id="graphlan" name="GraPhlAn" version="0.1.0">
2
3 <description>to produce graphical output of an input tree</description>
4
5 <requirements>
6 <requirement type="package" version="1.66">biopython</requirement>
7 <requirement type="package" version="1.4">matplotlib</requirement>
8 <requirement type="package" version="1.0">graphlan</requirement>
9 </requirements>
10
11 <stdio>
12 </stdio>
13
14 <version_command>
15 <![CDATA[
16 python \${GRAPHLAN_DIR}/graphlan.py -v
17 ]]>
18 </version_command>
19
20 <command>
21 <![CDATA[
22 python \${GRAPHLAN_DIR}/graphlan.py
23 --format $format
24
25 #if $dpi
26 --dpi $dpi
27 #end if
28
29 --size $size
30
31 #if $pad
32 --pad $pad
33 #end if
34
35 $input_tree
36
37 #if str($format) == "png"
38 $png_output_image
39 #else if str($format) == "pdf"
40 $pdf_output_image
41 #else if str($format) == "ps"
42 $ps_output_image
43 #else if str($format) == "eps"
44 $eps_output_image
45 #else
46 $svg_output_image
47 #end if
48 ]]>
49 </command>
50
51 <inputs>
52 <param name="input_tree" type="data" format="txt" label="Input tree in
53 PhlyloXML format" help=""/>
54
55 <param name='format' type="select" label="Output format"
56 help="(--format)">
57 <option value="png" selected="true">PNG</option>
58 <option value="pdf">PDF</option>
59 <option value="ps">PS</option>
60 <option value="eps">EPS</option>
61 <option value="svg">SVG</option>
62 </param>
63
64 <param name="dpi" type="integer" label="Dpi of the output image
65 (Optional)" help="For non vectorial formats (--dpi)" optional="True"/>
66
67 <param name="size" type="integer" value="7" label="Size of the output image
68 (in inches)" help="(--size)"/>
69
70 <param name="pad" type="integer" label="Distance between the most external
71 graphical element and the border of the image (Optional)"
72 help="(--pad)" optional="True"/>
73 </inputs>
74
75 <outputs>
76 <data format="png" name="png_output_image"
77 label="${tool.name} on ${on_string}: Image">
78 <filter>format=="png"</filter>
79 </data>
80 <data format="pdf" name="pdf_output_image"
81 label="${tool.name} on ${on_string}: Image">
82 <filter>format=="pdf"</filter>
83 </data>
84 <data format="ps" name="ps_output_image"
85 label="${tool.name} on ${on_string}: Image">
86 <filter>format=="ps"</filter>
87 </data>
88 <data format="eps" name="eps_output_image"
89 label="${tool.name} on ${on_string}: Image">
90 <filter>format=="eps"</filter>
91 </data>
92 <data format="svg" name="svg_output_image"
93 label="${tool.name} on ${on_string}: Image">
94 <filter>format=="svg"</filter>
95 </data>
96 </outputs>
97
98 <tests>
99 <test>
100 </test>
101 </tests>
102
103 <help><![CDATA[
104
105 **What it does**
106
107 GraPhlAn is a software tool for producing high-quality circular
108 representations of taxonomic and phylogenetic trees. GraPhlAn focuses on
109 concise, integrative, informative, and publication-ready representations of
110 phylogenetically- and taxonomically-driven investigation.
111
112 For more information, check the `user manual <https://bitbucket.org/nsegata/graphlan/overview>`_.
113
114 ]]></help>
115
116 <citations>
117 </citations>
118 </tool>