diff nwdisplay.xml @ 1:3200899efad9 draft default tip

Uploaded
author dcorreia
date Tue, 12 Dec 2017 12:02:31 -0500
parents 5c11638687d0
children
line wrap: on
line diff
--- a/nwdisplay.xml	Tue Mar 15 10:53:34 2016 -0400
+++ b/nwdisplay.xml	Tue Dec 12 12:02:31 2017 -0500
@@ -1,7 +1,11 @@
-<tool id="nwdisplay" name="Newick Display" version="1">
+<tool id="nwdisplay" name="Newick Display" version="1.6">
     <description>Display a phylogenetic tree as SVG</description>
+    <edam_operations>
+        <edam_operation>operation_0567</edam_operation>
+    </edam_operations>
     <requirements>
         <requirement type="package" version="1.6">newick_utilities</requirement>
+        <requirement type="package" version="1.6">newick_utils</requirement>
     </requirements>
     <command>
 			nw_display
@@ -26,7 +30,7 @@
                  "visibility:hidden;"
             #end if			
 			
-			-l "font-family:$leafPolice;font-size:$leafSize;"
+			-l "font-family:$leafFont;font-size:$leafSize;"
 			-d "stroke:grey;fill:none;stroke-width:2;stoke-linecap:round;"
 			-w  $width
 			$radial
@@ -38,7 +42,7 @@
 		<param name="fileNewick" format="txt,nw,nwk,nhx" type="data" label="Newick file" />
 		<param name="scalebar" type="boolean" truevalue="" falsevalue="-S"	checked="True" label="Display scale bar" />
 		<param name="legend" type="text" value="" label="Unit name scale" />
-		<param name="leafPolice" type="text" value="sans-serif" label="Leaf police" />
+		<param name="leafFont" type="text" value="sans-serif" label="Leaf font" />
 		<param name="leafSize" type="text" value="10px" label="Leaf font-size" />
 		<conditional name="condbranchsupport">
 			<param name="branchsupport" type="select" label="Branch support">
@@ -46,7 +50,7 @@
                 <option value="false" selected="true">Hide branch support</option>
             </param>
 			<when value="true">
-				<param name="supcolor" type="text" value="red" label="color" />
+				<param name="supcolor" type="color" value="red" label="color" />
 				<param name="supfontsize" type="text" value="10px" label="font-size" />
 				<param name="suptransform" type="text" value="translateY(1.5em)" label="move" />
 			</when>
@@ -58,7 +62,7 @@
 				<option value="false" selected="true">Hide branch length</option>
 			</param>
 			<when value="true">
-				<param name="lencolor" type="text" value="blue" label="color" />
+				<param name="lencolor" type="color" value="blue" label="color" />
 				<param name="lenfontsize" type="text" value="10px" label="font-size" />
 				<param name="lentransform" type="text" value="translate(-1.5em,0em)" label="move" />
 			</when>
@@ -74,7 +78,7 @@
 		<test>
 		    <param name="fileNewick" value="tree.nwk"/>
 		    <param name="width" value="400"/>
-		    <param name="leafPolice" value="courier"/>
+		    <param name="leafFont" value="courier"/>
             <output name="output" file="tree.svg" lines_diff="2"/>
 		</test>
 		<test>