diff kraken_taxonomy_report.py @ 2:528a1d91b066 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/kraken_taxonomy_report commit 11ee7ac206d41894c0b6a11f2439aaea490824f0
author iuc
date Thu, 09 Nov 2017 14:06:54 -0500
parents b97694b21bc3
children b11b3ac48bb9
line wrap: on
line diff
--- a/kraken_taxonomy_report.py	Wed Nov 23 03:27:33 2016 -0500
+++ b/kraken_taxonomy_report.py	Thu Nov 09 14:06:54 2017 -0500
@@ -8,10 +8,10 @@
 
 from __future__ import print_function
 
-import sys
+import optparse
 import os
-import optparse
 import re
+import sys
 
 __VERSION__ = '0.0.2'
 
@@ -246,7 +246,7 @@
         ranks_to_report = RANK_NAMES_INTS
 
     if options.output:
-        output_fh = open( options.output, 'wb+' )
+        output_fh = open(options.output, 'w')
     else:
         output_fh = sys.stdout