diff htseqsams2mx.py @ 50:0edc994d4021 draft

Uploaded
author iuc
date Wed, 18 Feb 2015 11:37:05 -0500
parents 390cb852aae7
children
line wrap: on
line diff
--- a/htseqsams2mx.py	Fri Jan 02 03:32:39 2015 -0500
+++ b/htseqsams2mx.py	Wed Feb 18 11:37:05 2015 -0500
@@ -130,8 +130,8 @@
            hasbai = sam_bais[sami] > ''
            if hasbai:
                tempname = os.path.splitext(os.path.basename(sam_filename))[0]
-               tempbam = '%s.bam' % tempname
-               tempbai = '%s.bai' % tempname
+               tempbam = '%s_TEMP.bam' % tempname
+               tempbai = '%s_TEMP.bai' % tempname
                os.link(sam_filename,tempbam)
                os.link(sam_bais[sami],tempbai)
            try: