diff bandage_image.xml @ 4:94fe43e75ddc draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 585f5fa2d2714638c84b3c9ddaeb5a9557159a95"
author iuc
date Tue, 19 Jan 2021 10:06:26 +0000
parents b2860df42e16
children d8b1027d6ce0
line wrap: on
line diff
--- a/bandage_image.xml	Thu Dec 05 17:17:29 2019 -0500
+++ b/bandage_image.xml	Tue Jan 19 10:06:26 2021 +0000
@@ -1,4 +1,4 @@
-<tool id="bandage_image" name="Bandage Image" version="@TOOL_VERSION@+galaxy2" profile="18.01">
+<tool id="bandage_image" name="Bandage Image" version="@TOOL_VERSION@+galaxy3" profile="18.01">
     <description>visualize de novo assembly graphs</description>
     <macros>
         <import>macros.xml</import>
@@ -17,6 +17,9 @@
     #if $width:
         --width '$width'
     #end if
+    #if $fontsize:
+        --fontsize '$fontsize'
+    #end if
     $names
     $lengths
     ]]></command>
@@ -26,6 +29,7 @@
         <param argument="--width" type="integer" min="1" optional="True" label="Image width" help="If only height or width is set, the other will be determined automatically. If both are set, the image will be exactly that size. Default: not set."/>
         <param argument="--names" type="boolean" truevalue="--names" falsevalue="" label="Node name labels?"/>
         <param argument="--lengths" type="boolean" truevalue="--lengths" falsevalue="" label="Node length labels?"/>
+        <param argument="--fontsize" type="integer" min="5" optional="true" label="Font size" help="Node font size?"/>
         <param name="output_format" type="select" label="Produce jpg, png or svg file?">
             <option selected="True" value="jpg">.jpg</option>
             <option value="png">.png</option>
@@ -65,6 +69,14 @@
             <param name="lengths" value="--lengths"/>
             <output name="outfile" ftype="svg" file="out_labels.svg" compare="sim_size" delta="250000"/>
         </test>
+        <test><!-- test with node name, length labels and fontsize-->
+            <param name="input_file" ftype="txt" value="bandage_input.txt"/>
+            <param name="output_format" value="jpg"/>
+            <param name="names" value="--names"/>
+            <param name="lengths" value="--lengths"/>
+            <param name="fontsize" value="5"/>
+            <output name="outfile" ftype="jpg" file="out_fontsize.jpg" compare="sim_size" delta="250000"/>
+        </test>
     </tests>
     <help><![CDATA[
 @BANDAGE_OVERVIEW@