diff cuffmerge_wrapper.py @ 13:cf747d1bd79a draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/cuffmerge commit 82ee6fc860c52c531b7a57bbb346ab1a67a434a5
author devteam
date Sun, 19 Feb 2017 12:12:38 -0500
parents 1707a530e598
children
line wrap: on
line diff
--- a/cuffmerge_wrapper.py	Tue Feb 07 18:39:42 2017 -0500
+++ b/cuffmerge_wrapper.py	Sun Feb 19 12:12:38 2017 -0500
@@ -29,23 +29,6 @@
 
     (options, args) = parser.parse_args()
 
-    # output version # of tool
-    try:
-        with tempfile.NamedTemporaryFile() as tmp_stdout:
-            returncode = subprocess.call(args='cuffmerge -v 2>&1', stdout=tmp_stdout, shell=True)
-            stdout = None
-            with open(tmp_stdout.name) as tmp_stdout2:
-                for line in tmp_stdout2:
-                    if line.lower().find('merge_cuff_asms v') >= 0:
-                        stdout = line.strip()
-                        break
-        if stdout:
-            sys.stdout.write('%s\n' % stdout)
-        else:
-            raise Exception
-    except:
-        sys.stdout.write('Could not determine Cuffmerge version\n')
-
     # Set/link to sequence file.
     if options.use_seq_data:
         if options.ref_file: