changeset 3:3b570bd8d9a7 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
author iuc
date Tue, 31 Jan 2017 12:37:07 -0500
parents 19b8f1e4b527
children 3443c8a9a4ba
files bcftools_plugin_counts.xml macros.xml
diffstat 2 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/bcftools_plugin_counts.xml	Sat Jan 21 06:53:54 2017 -0500
+++ b/bcftools_plugin_counts.xml	Tue Jan 31 12:37:07 2017 -0500
@@ -28,7 +28,8 @@
 ]]>
     </command>
     <configfiles>
-        <configfile name="transform">
+        <configfile name="transform"><![CDATA[
+from __future__ import print_function
 import sys
 header = []
 value = []
@@ -36,8 +37,9 @@
   h,v = line.strip().split()
   header.append(h)
   value.append(v)
-print >> sys.stdout, '#%s\n' % '\t'.join(header)
-print >> sys.stdout, '%s\n' % '\t'.join(value)
+print( '#%s' % '\t'.join(header) )
+print( '%s' % '\t'.join(value) )
+]]>
         </configfile>
     </configfiles>
     <inputs>
--- a/macros.xml	Sat Jan 21 06:53:54 2017 -0500
+++ b/macros.xml	Tue Jan 31 12:37:07 2017 -0500
@@ -14,7 +14,9 @@
       <requirement type="package" version="1.3">bcftools</requirement>
       <!-- conda dependency -->
       <requirement type="package" version="1.3">htslib</requirement>
+      <!-- htslib provides tabix and bgzip
       <requirement type="package" version="0.2.6">tabix</requirement>
+      -->
       <requirement type="package" version="1.2">samtools</requirement>
     </requirements>
   </xml>