diff libs/special_gene_test_assemblies.py @ 10:53efef402c51 draft

planemo upload commit a4fb57231f274270afbfebd47f67df05babffa4a-dirty
author charles_s_test
date Wed, 29 Nov 2017 08:34:19 -0500
parents 3d6680af0bec
children
line wrap: on
line diff
--- a/libs/special_gene_test_assemblies.py	Tue Nov 28 21:16:36 2017 -0500
+++ b/libs/special_gene_test_assemblies.py	Wed Nov 29 08:34:19 2017 -0500
@@ -31,7 +31,7 @@
     for record in records:
       for alignment in record.alignments:
         if x in alignment.hit_def: #multi gene database, so...
-          print(x,"got a hit, evaluating the hit quality...")
+          print x,"got a hit, evaluating the hit quality..."
           score=0
           for hsp in alignment.hsps:
             if hsp.expect<E_thresh:
@@ -46,9 +46,9 @@
         First_Choice=Htype
         score=scorelist[Htype]
     if float(score)>=0.1*aver_len:
-      print("$$$",First_Choice,"got a hit, score:",score)
+      print "$$$",First_Choice,"got a hit, score:",score
     else:
-      print("$$$No ",x,"exists")
+      print "$$$No ",x,"exists"
   os.system("rm "+database+"_db.*")##########1/28/2015
   os.system("rm "+xml_file)##########1/28/2015