diff bcftools_isec.xml @ 17:5f27e814a119 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
author iuc
date Tue, 20 Sep 2022 12:52:08 +0000
parents 81e4014fa809
children d7d1663559e9
line wrap: on
line diff
--- a/bcftools_isec.xml	Fri Aug 19 19:53:22 2022 +0000
+++ b/bcftools_isec.xml	Tue Sep 20 12:52:08 2022 +0000
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='utf-8'?>
-<tool name="bcftools @EXECUTABLE@" id="bcftools_@EXECUTABLE@" version="@TOOL_VERSION@+galaxy1">
+<tool name="bcftools @EXECUTABLE@" id="bcftools_@EXECUTABLE@" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
     <description>Create intersections, unions and complements of VCF files</description>
     <macros>
         <token name="@EXECUTABLE@">isec</token>
@@ -83,7 +83,25 @@
                 </assert_contents>
             </output>
         </test>
-
+        <!-- Test region overlap option -->
+        <test>
+            <param name="input_files" ftype="vcf" value="isec.b.vcf,isec.a.vcf" />
+            <param name="nfiles" value="=2" />
+            <param name="output_type" value="v" />
+            <section name="sec_restrict">
+                <param name="regions_overlap" value="1"/>
+            </section>
+            <output name="output_file">
+                <assert_contents>
+                    <has_text text="3157410" />
+                    <has_text text="3162006" />
+                    <not_has_text text="3062915" />
+                </assert_contents>
+            </output>
+            <assert_command>
+                <has_text text="--regions-overlap" />
+            </assert_command>
+        </test>
     </tests>
     <help><![CDATA[
 =====================================