comparison venn_diagram.py @ 2:5ac986568a3d draft

planemo upload commit ba044b029418f46b923830e8eaa1088833e6ef6b-dirty
author proteore
date Wed, 28 Nov 2018 09:58:46 -0500
parents b17f0fbbd6c9
children 1645a66fd0ee
comparison
equal deleted inserted replaced
1:b17f0fbbd6c9 2:5ac986568a3d
122 if key in list_names : 122 if key in list_names :
123 column_dict[key] = list_names[key] 123 column_dict[key] = list_names[key]
124 else : 124 else :
125 keys= list(key) 125 keys= list(key)
126 column_dict[key] = "_".join([list_names[k] for k in keys]) 126 column_dict[key] = "_".join([list_names[k] for k in keys])
127 print(column_dict)
128 127
129 #construct tsv 128 #construct tsv
130 for key in result : 129 for key in result :
131 line = [column_dict[key]] 130 line = [column_dict[key]]
132 line.extend(result[key]) 131 line.extend(result[key])