Mercurial > repos > charles_s_test > seqsero2
diff libs/H_combination_output_analysis.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 | b4484db557ab |
line wrap: on
line diff
--- a/libs/H_combination_output_analysis.py Tue Nov 28 21:16:36 2017 -0500 +++ b/libs/H_combination_output_analysis.py Wed Nov 29 08:34:19 2017 -0500 @@ -225,21 +225,21 @@ combination_score.append(score) combinationlist=dict(zip(combination,combination_score)) #we can do the filteration here final_dict=sorted(combinationlist.iteritems(), key=lambda d:d[1], reverse = True) - print("$$_H:Order:",final_dict) + print "$$_H:Order:",final_dict elif score>100 and fljB_score<100: - print("$$_H:No fljB, only fliC, and its order:",First_Choice,Sec_Choice,Third_Choice) + print "$$_H:No fljB, only fliC, and its order:",First_Choice,Sec_Choice,Third_Choice elif score<100 and fljB_score>100: - print("$$_H:No fliC, only fljB, and its order:",fljB_First_Choice,fljB_Sec_Choice,fljB_Third_Choice) + print "$$_H:No fliC, only fljB, and its order:",fljB_First_Choice,fljB_Sec_Choice,fljB_Third_Choice elif score==1 and fljB_score>100: - print("$$_H:No fliC (file) existed, only fljB, and its order:",fljB_First_Choice,fljB_Sec_Choice,fljB_Third_Choice) + print "$$_H:No fliC (file) existed, only fljB, and its order:",fljB_First_Choice,fljB_Sec_Choice,fljB_Third_Choice elif score==1 and fljB_score<100: - print("$$_H:No fliC (file) existed, and no fljB") + print "$$_H:No fliC (file) existed, and no fljB" elif score>100 and fljB_score==1: - print("$$_H:No fljB (file) existed, only fliC, and its order:",First_Choice,Sec_Choice,Third_Choice) + print "$$_H:No fljB (file) existed, only fliC, and its order:",First_Choice,Sec_Choice,Third_Choice elif score<100 and fljB_score==1: - print("$$_H:No fljB (file) existed, and no fliC") + print "$$_H:No fljB (file) existed, and no fliC" else: - print("$$_H:No fliC and fljB") + print "$$_H:No fliC and fljB" '''