You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# v1_total_freq = math.ceil(sum([x.freq*100 for x in v1]))
113
-
# v1_total_freq = min(v1_total_freq,100)
114
-
115
-
# v2_total_freq = math.ceil(sum([x.freq*100 for x in v2]))
116
-
# v2_total_freq = min(v2_total_freq,100)
117
-
118
-
# if v1 and v2:
119
-
# v1_changes = ", ".join([x.change for x in v1])
120
-
# v2_changes = ", ".join([x.change for x in v2])
121
-
# note = f"Loss of function mutation(s) detected in mmpL5 ({v2_changes}) which may abrogate the effect of the genetically linked mmpR5 mutation(s) ({v1_changes})."
122
-
123
-
# if v2_total_freq==100:
124
-
# inactivate_drug_resistance(v1)
125
-
# freq_diff = v1_total_freq - v2_total_freq
126
-
# if freq_diff > 10:
127
-
# note += f" However, the combined frequency of the mmpR5 mutation(s) is {freq_diff}% higher than the mmpL5 mutation(s), indicating a potential resistant subpopulation. Please consult the raw data for more information."
# v1_total_freq = math.ceil(sum([x.freq*100 for x in v1]))
144
-
# v1_total_freq = min(v1_total_freq,100)
145
-
146
-
# v2_total_freq = math.ceil(sum([x.freq*100 for x in v2]))
147
-
# v2_total_freq = min(v2_total_freq,100)
148
-
149
-
# if v1 and v2:
150
-
# v1_changes = ", ".join([x.change for x in v1])
151
-
# v2_changes = ", ".join([x.change for x in v2])
152
-
# note = f"Loss of function mutation(s) detected in eis ({v2_changes}) which may abrogate the effect of the genetically linked eis promoter mutation(s) ({v1_changes})."
153
-
154
-
# if v2_total_freq==100:
155
-
# inactivate_drug_resistance(v1)
156
-
# freq_diff = v1_total_freq - v2_total_freq
157
-
# if freq_diff > 10:
158
-
# note += f" However, the combined frequency of the eis promoter mutation(s) is {freq_diff}% higher than the eis coding mutation(s), indicating a potential resistant subpopulation. Please consult the raw data for more information."
0 commit comments