annotate newick_display.xml @ 0:0db45bc4844f draft

planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
author iuc
date Mon, 01 Oct 2018 09:45:49 -0400
parents
children 9298c1dbf31e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
1 <tool id="newick_display" name="Newick Display" version="1.6">
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
2 <description>visualize a phylogenetic tree</description>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
3 <edam_operations>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
4 <edam_operation>operation_0567</edam_operation>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
5 </edam_operations>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
6 <requirements>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
7 <requirement type="package" version="1.6">newick_utils</requirement>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
8 </requirements>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
9 <command detect_errors="aggressive"><![CDATA[
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
10 nw_display
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
11 #if $outformat != 'txt':
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
12 -s
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
13 #end if
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
14 $scalebar
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
15 -u '$legend'
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
16 -I 'r'
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
17 -i
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
18 #if $condbranchsupport.branchsupport == "true":
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
19 'fill:$condbranchsupport.supcolor;
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
20 font-size:$condbranchsupport.supfontsize;
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
21 transform:$condbranchsupport.suptransform;'
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
22 #else:
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
23 "visibility:hidden;"
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
24 #end if
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
25 -b
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
26 #if $condbranchlength.branchlength == "true":
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
27 'fill:$condbranchlength.lencolor;
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
28 font-size:$condbranchlength.lenfontsize;
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
29 transform:$condbranchlength.lentransform;'
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
30 #else:
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
31 "visibility:hidden;"
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
32 #end if
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
33
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
34 -l 'font-family:$leafFont;font-size:$leafSize;'
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
35 -d "stroke:grey;fill:none;stroke-width:2;stoke-linecap:round;"
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
36 -w $width
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
37 $radial
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
38
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
39 '$fileNewick' > output.svg
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
40
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
41 #if $outformat == 'png':
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
42 && convert output.svg output.png
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
43 && mv output.png '$output'
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
44 #else:
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
45 && mv output.svg '$output'
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
46 #end if
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
47
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
48 ]]></command>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
49 <inputs>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
50 <param name="fileNewick" format="txt,newick,nw,nwk,nhx,mothur.tre" type="data" label="Newick file"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
51 <param name="scalebar" type="boolean" truevalue="" falsevalue="-S" checked="True" label="Display scale bar" />
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
52 <param name="legend" type="text" value="" label="Unit name for the scale bar" />
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
53 <param name="leafFont" type="text" value="sans-serif" label="Leaf font" />
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
54 <param name="leafSize" type="text" value="10px" label="Leaf font-size" />
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
55 <conditional name="condbranchsupport">
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
56 <param name="branchsupport" type="select" label="Branch support">
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
57 <option value="true">Display branch support</option>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
58 <option value="false" selected="true">Hide branch support</option>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
59 </param>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
60 <when value="true">
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
61 <param name="supcolor" type="color" value="red" label="color" />
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
62 <param name="supfontsize" type="text" value="10px" label="font-size" />
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
63 <param name="suptransform" type="text" value="translateY(1.5em)" label="move" />
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
64 </when>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
65 <when value="false" />
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
66 </conditional>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
67 <conditional name="condbranchlength">
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
68 <param name="branchlength" type="select" label="Branch length">
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
69 <option value="true">Display branch length</option>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
70 <option value="false" selected="true">Hide branch length</option>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
71 </param>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
72 <when value="true">
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
73 <param name="lencolor" type="color" value="blue" label="color" />
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
74 <param name="lenfontsize" type="text" value="10px" label="font-size" />
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
75 <param name="lentransform" type="text" value="translate(-1.5em,0em)" label="move" />
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
76 </when>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
77 <when value="false" />
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
78 </conditional>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
79 <param name="width" type="integer" value="800" label="Image width" help="in pixels for image output or in characters for text output" />
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
80 <param name="radial" type="boolean" truevalue="-r" falsevalue="" checked="False" label="Draw a radial tree" />
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
81 <param name="outformat" type="select" label="Choose an output format">
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
82 <option value="svg" selected="true">SVG</option>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
83 <option value="png">PNG</option>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
84 <option value="txt">Text</option>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
85 </param>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
86 </inputs>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
87 <outputs>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
88 <data name="output" format="svg" label="${tool.name} on ${on_string}: Tree Graph" >
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
89 <change_format>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
90 <when input="outformat" value="png" format="png"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
91 <when input="outformat" value="txt" format="txt"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
92 </change_format>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
93 </data>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
94 </outputs>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
95 <tests>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
96 <test>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
97 <param name="fileNewick" value="tree.nwk"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
98 <param name="width" value="400"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
99 <param name="leafFont" value="courier"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
100 <output name="output" file="tree.svg" ftype="svg" lines_diff="2"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
101 </test>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
102 <test><!-- test radial tree -->
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
103 <param name="fileNewick" value="tree.nwk"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
104 <param name="radial" value="-r"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
105 <param name="branchlength" value="true"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
106 <output name="output" file="tree2.svg" ftype="svg" lines_diff="2"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
107 </test>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
108 <test><!-- test with png output format -->
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
109 <param name="fileNewick" value="tree.nwk"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
110 <param name="radial" value="-r"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
111 <param name="branchlength" value="true"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
112 <param name="outformat" value="png"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
113 <output name="output" file="tree.png" ftype="png" compare="sim_size" delta="15000"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
114 </test>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
115 <test><!-- test with txt output format -->
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
116 <param name="fileNewick" value="tree.nwk"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
117 <param name="outformat" value="txt"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
118 <output name="output" file="tree.txt" ftype="txt"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
119 </test>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
120 </tests>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
121 <help><![CDATA[
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
122 **What it does**
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
123
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
124 This tool outputs a graph representing the tree, either as text or
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
125 as a SVG or PNG image. Underscores in labels are replaced with spaces.
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
126 Trees with no branch lengths are taken to be cladograms and are
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
127 drawn with leaves aligned. Otherwise, the tree is assumed to be a
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
128 phylogram: branch lengths are honored and a scale bar is drawn.
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
129
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
130 .. image:: $PATH_TO_IMAGES/example.png
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
131 :alt: example newick tree graph
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
132
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
133 ]]></help>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
134 <citations>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
135 <citation type="doi">10.1186/1748-7188-3-7</citation>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
136 </citations>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
137 </tool>