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