GQ=-10*math.log10(10**GL_sort[1]/10**GL_sort[2]) I am finding issues with these genotype, printing GL_sort I get [-1252.6248170198364, -650.5741494345825, -148. ...
ValueError: math domain error Traceback (most recent call last): File "C:\Users/MyUser/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SplitPolygon-master ...