diff bcftools_plugin_counts.xml @ 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 7460e0aebfe4
children 3443c8a9a4ba
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>