Mercurial > repos > iuc > newick_utils
annotate newick_display.xml @ 0:fe4235285ee8 draft
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
author | iuc |
---|---|
date | Mon, 01 Oct 2018 09:46:08 -0400 |
parents | |
children | b4163d2f64ab |
rev | line source |
---|---|
0
fe4235285ee8
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"> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
2 <description>visualize a phylogenetic tree</description> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
3 <edam_operations> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
4 <edam_operation>operation_0567</edam_operation> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
5 </edam_operations> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
6 <requirements> |
fe4235285ee8
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> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
8 </requirements> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
9 <command detect_errors="aggressive"><![CDATA[ |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
10 nw_display |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
11 #if $outformat != 'txt': |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
12 -s |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
13 #end if |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
14 $scalebar |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
15 -u '$legend' |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
16 -I 'r' |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
17 -i |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
18 #if $condbranchsupport.branchsupport == "true": |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
19 'fill:$condbranchsupport.supcolor; |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
20 font-size:$condbranchsupport.supfontsize; |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
21 transform:$condbranchsupport.suptransform;' |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
22 #else: |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
23 "visibility:hidden;" |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
24 #end if |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
25 -b |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
26 #if $condbranchlength.branchlength == "true": |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
27 'fill:$condbranchlength.lencolor; |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
28 font-size:$condbranchlength.lenfontsize; |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
29 transform:$condbranchlength.lentransform;' |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
30 #else: |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
31 "visibility:hidden;" |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
32 #end if |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
33 |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
34 -l 'font-family:$leafFont;font-size:$leafSize;' |
fe4235285ee8
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;" |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
36 -w $width |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
37 $radial |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
38 |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
39 '$fileNewick' > output.svg |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
40 |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
41 #if $outformat == 'png': |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
42 && convert output.svg output.png |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
43 && mv output.png '$output' |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
44 #else: |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
45 && mv output.svg '$output' |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
46 #end if |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
47 |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
48 ]]></command> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
49 <inputs> |
fe4235285ee8
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"/> |
fe4235285ee8
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" /> |
fe4235285ee8
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" /> |
fe4235285ee8
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" /> |
fe4235285ee8
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" /> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
55 <conditional name="condbranchsupport"> |
fe4235285ee8
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"> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
57 <option value="true">Display branch support</option> |
fe4235285ee8
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> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
59 </param> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
60 <when value="true"> |
fe4235285ee8
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" /> |
fe4235285ee8
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" /> |
fe4235285ee8
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" /> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
64 </when> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
65 <when value="false" /> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
66 </conditional> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
67 <conditional name="condbranchlength"> |
fe4235285ee8
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"> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
69 <option value="true">Display branch length</option> |
fe4235285ee8
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> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
71 </param> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
72 <when value="true"> |
fe4235285ee8
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" /> |
fe4235285ee8
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" /> |
fe4235285ee8
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" /> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
76 </when> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
77 <when value="false" /> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
78 </conditional> |
fe4235285ee8
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" /> |
fe4235285ee8
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" /> |
fe4235285ee8
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"> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
82 <option value="svg" selected="true">SVG</option> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
83 <option value="png">PNG</option> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
84 <option value="txt">Text</option> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
85 </param> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
86 </inputs> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
87 <outputs> |
fe4235285ee8
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" > |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
89 <change_format> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
90 <when input="outformat" value="png" format="png"/> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
91 <when input="outformat" value="txt" format="txt"/> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
92 </change_format> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
93 </data> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
94 </outputs> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
95 <tests> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
96 <test> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
97 <param name="fileNewick" value="tree.nwk"/> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
98 <param name="width" value="400"/> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
99 <param name="leafFont" value="courier"/> |
fe4235285ee8
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"/> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
101 </test> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
102 <test><!-- test radial tree --> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
103 <param name="fileNewick" value="tree.nwk"/> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
104 <param name="radial" value="-r"/> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
105 <param name="branchlength" value="true"/> |
fe4235285ee8
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"/> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
107 </test> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
108 <test><!-- test with png output format --> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
109 <param name="fileNewick" value="tree.nwk"/> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
110 <param name="radial" value="-r"/> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
111 <param name="branchlength" value="true"/> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
112 <param name="outformat" value="png"/> |
fe4235285ee8
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"/> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
114 </test> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
115 <test><!-- test with txt output format --> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
116 <param name="fileNewick" value="tree.nwk"/> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
117 <param name="outformat" value="txt"/> |
fe4235285ee8
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"/> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
119 </test> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
120 </tests> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
121 <help><![CDATA[ |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
122 **What it does** |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
123 |
fe4235285ee8
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 |
fe4235285ee8
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. |
fe4235285ee8
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 |
fe4235285ee8
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 |
fe4235285ee8
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. |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
129 |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
130 .. image:: $PATH_TO_IMAGES/example.png |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
131 :alt: example newick tree graph |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
132 |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
133 ]]></help> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
134 <citations> |
fe4235285ee8
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> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
136 </citations> |
fe4235285ee8
planemo upload for repository https://github.com/tjunier/newick_utils commit e21a4f5dd923d549651f1a15c755e2de89cbd46d
iuc
parents:
diff
changeset
|
137 </tool> |