I'm trying to use PyBioMed to compute protein molecular descriptors. Everything works just fine except that for some sequences (like "RPDDEWY"), I encounter the following error:
ZeroDivisionError: integer division or modulo by zero.
Specifically, this happens when calling GetPAAC:
descriptors = Pyprotein.PyProtein(sequence)
descriptors.GetPAAC()
The last line of the Traceback points to _GetSequenceOrderCorrelationFactor but if I call just that function it works just fine. If I instead call either _GetPseudoAAC or _GetPseudoAAC1, I get the same error.