diff bcftools_stats.xml @ 4:5129a2b2f316 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3edcac645f34d5a94884dedaf95c5774f4afc5c7
author iuc
date Sat, 11 Mar 2017 18:05:39 -0500
parents 92e47ae9a121
children 3afcc6474c79
line wrap: on
line diff
--- a/bcftools_stats.xml	Tue Jan 31 12:46:47 2017 -0500
+++ b/bcftools_stats.xml	Sat Mar 11 18:05:39 2017 -0500
@@ -1,11 +1,13 @@
 <?xml version='1.0' encoding='utf-8'?>
-<tool name="bcftools @EXECUTABLE@" id="bcftools_@EXECUTABLE@" version="@VERSION@.0">
+<tool name="bcftools @EXECUTABLE@" id="bcftools_@EXECUTABLE@" version="@VERSION@">
     <description>Parses VCF or BCF and produces stats which can be plotted using plot-vcfstats</description>
     <macros>
         <token name="@EXECUTABLE@">stats</token>
         <import>macros.xml</import>
     </macros>
-    <expand macro="requirements" />
+    <expand macro="requirements">
+        <requirement type="package" version="1.3.1">samtools</requirement>
+    </expand>
     <expand macro="version_command" />
     <command detect_errors="aggressive"><![CDATA[
 @PREPARE_ENV@
@@ -80,7 +82,7 @@
                     <param name="depth_bin_size" type="integer" value="1" min="1" label="Depth bin size" />
                 </when>
             </conditional>
-            <param name="fasta_ref" type="data" format="data" label="Fasta Ref" optional="True" help="Reference sequence" />
+            <expand macro="macro_fasta_ref" />
             <expand macro="macro_exons_file" />
             <param name="split_by_ID" type="boolean" truevalue="--split-by-ID" falsevalue="" label="Split By Id (Ignored on multiple inputs)" 
                    help="Collect stats for sites with ID separately (known vs novel)" />