Mercurial > repos > charles_s_test > seqsero2
diff libs/special_gene_test_assemblies.py @ 7:3d6680af0bec draft
planemo upload commit a4fb57231f274270afbfebd47f67df05babffa4a-dirty
author | charles_s_test |
---|---|
date | Mon, 27 Nov 2017 16:30:27 -0500 |
parents | 6895de35a263 |
children | 53efef402c51 |
line wrap: on
line diff
--- a/libs/special_gene_test_assemblies.py Mon Nov 27 14:37:41 2017 -0500 +++ b/libs/special_gene_test_assemblies.py Mon Nov 27 16:30:27 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