diff poretools_yield_plot.xml @ 1:b17593289ad0 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/poretools commit d50758dbe64462ba3cdcb7f1df0bcc57a310deab"
author iuc
date Sun, 19 Jan 2020 14:05:14 +0000
parents a8c8a7354ab7
children d4bbe0275728
line wrap: on
line diff
--- a/poretools_yield_plot.xml	Tue Dec 19 14:22:25 2017 -0500
+++ b/poretools_yield_plot.xml	Sun Jan 19 14:05:14 2020 +0000
@@ -1,18 +1,19 @@
 <?xml version="1.0"?>
-<tool id="poretools_yield_plot" name="Collector’s curve" version="@VERSION@.0">
+<tool id="poretools_yield_plot" name="Collector’s curve" version="@VERSION@.1">
     <description>of sequencing yield over time</description>
     <macros>
         <import>macros.xml</import>
     </macros>
-    <expand macro="requirements" />
+    <expand macro="requirements"/>
     <command detect_errors="aggressive">
     <![CDATA[
-        poretools yield_plot '$input' --saveas plot.$extension --plot-type $plot_type
-            $theme_bw
-        #if $skip != '0':
-            --skip $skip
-        #end if
-        && mv plot.$extension '$output'
+@MPLBACKEND@
+poretools yield_plot '$input' --saveas plot.$extension --plot-type $plot_type
+    $theme_bw
+#if $skip != '0':
+    --skip $skip
+#end if
+&& mv plot.$extension '$output'
     ]]>
     </command>
     <inputs>
@@ -21,7 +22,7 @@
             <option value="reads">Reads</option>
             <option value="basepairs">Base pairs</option>
         </param>
-        <param argument="--skip" type="integer" value="0" label="Plot only every nth point" help="Increases performance at the cost of resolution." />
+        <param argument="--skip" type="integer" min="1" value="1" label="Plot only every nth point" help="Increases performance at the cost of resolution." />
         <expand macro="plot_options" />
     </inputs>
     <outputs>
@@ -32,13 +33,13 @@
             <expand macro="test_input" />
             <param name="extension" value="png" />
             <param name="plot_type" value="reads" />
-            <output name="output" file="poretools-yield-plot-out1.png" ftype="png" lines_diff="301" />
+            <output name="output" file="poretools-yield-plot-out1.png" ftype="png" compare="sim_size" />
         </test>
         <test>
             <expand macro="test_input" />
             <param name="extension" value="svg" />
             <param name="plot_type" value="basepairs" />
-            <output name="output" file="poretools-yield-plot-out2.svg" ftype="svg" lines_diff="40" />
+            <output name="output" file="poretools-yield-plot-out2.svg" ftype="svg" lines_diff="50" />
         </test>
     </tests>
     <help>