annotate newick_display.xml @ 2:f8e09a3bb21d draft default tip

"planemo upload for repository https://github.com/tjunier/newick_utils commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
author iuc
date Wed, 01 Sep 2021 07:47:54 +0000
parents 9298c1dbf31e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
9298c1dbf31e "planemo upload for repository https://github.com/tjunier/newick_utils commit 352b2b1efa8400e145f02adb34e36c4af4524e54"
iuc
parents: 0
diff changeset
1 <tool id="newick_display" name="Newick Display" version="1.6+galaxy1">
0
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
2 <description>visualize a phylogenetic tree</description>
2
f8e09a3bb21d "planemo upload for repository https://github.com/tjunier/newick_utils commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents: 1
diff changeset
3 <xrefs>
f8e09a3bb21d "planemo upload for repository https://github.com/tjunier/newick_utils commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents: 1
diff changeset
4 <xref type="bio.tools">newick_utilities</xref>
f8e09a3bb21d "planemo upload for repository https://github.com/tjunier/newick_utils commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents: 1
diff changeset
5 </xrefs>
0
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
6 <edam_operations>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
7 <edam_operation>operation_0567</edam_operation>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
8 </edam_operations>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
9 <requirements>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
10 <requirement type="package" version="1.6">newick_utils</requirement>
1
9298c1dbf31e "planemo upload for repository https://github.com/tjunier/newick_utils commit 352b2b1efa8400e145f02adb34e36c4af4524e54"
iuc
parents: 0
diff changeset
11 <requirement type="package" version="7.0.9_6">imagemagick</requirement>
0
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
12 </requirements>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
13 <command detect_errors="aggressive"><![CDATA[
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
14 nw_display
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
15 #if $outformat != 'txt':
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
16 -s
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
17 #end if
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
18 $scalebar
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
19 -u '$legend'
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
20 -I 'r'
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
21 -i
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
22 #if $condbranchsupport.branchsupport == "true":
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
23 'fill:$condbranchsupport.supcolor;
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
24 font-size:$condbranchsupport.supfontsize;
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
25 transform:$condbranchsupport.suptransform;'
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
26 #else:
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
27 "visibility:hidden;"
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
28 #end if
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
29 -b
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
30 #if $condbranchlength.branchlength == "true":
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
31 'fill:$condbranchlength.lencolor;
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
32 font-size:$condbranchlength.lenfontsize;
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
33 transform:$condbranchlength.lentransform;'
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
34 #else:
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
35 "visibility:hidden;"
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
36 #end if
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
37
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
38 -l 'font-family:$leafFont;font-size:$leafSize;'
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
39 -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
40 -w $width
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
41 $radial
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
42
1
9298c1dbf31e "planemo upload for repository https://github.com/tjunier/newick_utils commit 352b2b1efa8400e145f02adb34e36c4af4524e54"
iuc
parents: 0
diff changeset
43 '$fileNewick'
0
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
44
1
9298c1dbf31e "planemo upload for repository https://github.com/tjunier/newick_utils commit 352b2b1efa8400e145f02adb34e36c4af4524e54"
iuc
parents: 0
diff changeset
45 #if $outformat == 'png':
9298c1dbf31e "planemo upload for repository https://github.com/tjunier/newick_utils commit 352b2b1efa8400e145f02adb34e36c4af4524e54"
iuc
parents: 0
diff changeset
46 | convert - 'png:$output'
9298c1dbf31e "planemo upload for repository https://github.com/tjunier/newick_utils commit 352b2b1efa8400e145f02adb34e36c4af4524e54"
iuc
parents: 0
diff changeset
47 #else:
9298c1dbf31e "planemo upload for repository https://github.com/tjunier/newick_utils commit 352b2b1efa8400e145f02adb34e36c4af4524e54"
iuc
parents: 0
diff changeset
48 > '$output'
9298c1dbf31e "planemo upload for repository https://github.com/tjunier/newick_utils commit 352b2b1efa8400e145f02adb34e36c4af4524e54"
iuc
parents: 0
diff changeset
49 #end if
0
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
50 ]]></command>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
51 <inputs>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
52 <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
53 <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
54 <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
55 <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
56 <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
57 <conditional name="condbranchsupport">
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
58 <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
59 <option value="true">Display branch support</option>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
60 <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
61 </param>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
62 <when value="true">
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
63 <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
64 <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
65 <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
66 </when>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
67 <when value="false" />
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
68 </conditional>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
69 <conditional name="condbranchlength">
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
70 <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
71 <option value="true">Display branch length</option>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
72 <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
73 </param>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
74 <when value="true">
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
75 <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
76 <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
77 <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
78 </when>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
79 <when value="false" />
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
80 </conditional>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
81 <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
82 <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
83 <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
84 <option value="svg" selected="true">SVG</option>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
85 <option value="png">PNG</option>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
86 <option value="txt">Text</option>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
87 </param>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
88 </inputs>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
89 <outputs>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
90 <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
91 <change_format>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
92 <when input="outformat" value="png" format="png"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
93 <when input="outformat" value="txt" format="txt"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
94 </change_format>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
95 </data>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
96 </outputs>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
97 <tests>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
98 <test>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
99 <param name="fileNewick" value="tree.nwk"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
100 <param name="width" value="400"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
101 <param name="leafFont" value="courier"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
102 <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
103 </test>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
104 <test><!-- test radial tree -->
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
105 <param name="fileNewick" value="tree.nwk"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
106 <param name="radial" value="-r"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
107 <param name="branchlength" value="true"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
108 <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
109 </test>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
110 <test><!-- test with png output format -->
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
111 <param name="fileNewick" value="tree.nwk"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
112 <param name="radial" value="-r"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
113 <param name="branchlength" value="true"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
114 <param name="outformat" value="png"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
115 <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
116 </test>
1
9298c1dbf31e "planemo upload for repository https://github.com/tjunier/newick_utils commit 352b2b1efa8400e145f02adb34e36c4af4524e54"
iuc
parents: 0
diff changeset
117 <test><!-- test with txt output format -->
0
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
118 <param name="fileNewick" value="tree.nwk"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
119 <param name="outformat" value="txt"/>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
120 <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
121 </test>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
122 </tests>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
123 <help><![CDATA[
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
124 **What it does**
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
125
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
126 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
127 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
128 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
129 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
130 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
131
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
132 .. image:: $PATH_TO_IMAGES/example.png
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
133 :alt: example newick tree graph
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
134
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
135 ]]></help>
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 <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
138 </citations>
0db45bc4844f planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff changeset
139 </tool>