chemaxon.calculations.pka

class PkaType(enum.IntEnum):
  • ACIDIC
  • BASIC
ACIDIC = <PkaType.ACIDIC: 0>
BASIC = <PkaType.BASIC: 1>
class PkaValue:

PkaValue

PkaValue( atom_index: int, type: PkaType, value: float)
atom_index: int

Index of the atom

type: PkaType

Pka type

value: float

Pka value

class PkaResult:

PkaResult

PkaResult(result: chemaxon.calculations.pka._CPkaResult)
pka_values: list[PkaValue]

List of all pka values

The input structure extended by pka values as atomic properties

def acidic_values(self):
def basic_values(self):
def min_acidic(self):
def max_basic(self):
def pka( mol: chemaxon.molecule.Molecule, consider_tautomerization: bool = False, is_micro: bool = False, is_large_model: bool = False, basic_min: float = -10.0, acidic_max: float = 20.0, number_of_acidic_values: int = 2, number_of_basic_values: int = 2, temperature: float = 298) -> PkaResult:

pKa calculation.

Most molecules contain some specific functional groups likely to lose or gain proton(s) under specific circumstances. Each equilibrium between the protonated and deprotonated forms of the molecule can be described with a constant value called p K a. The pka function calculates the pKa values of the molecule based on its partial charge distribution.

Link: https://docs.chemaxon.com/display/docs/calculators_pka-plugin.md

Parameters
  • mol: Molecule - Input molecule
  • consider_tautomerization: bool - Whether to consider tautomerization and resonance during pKa calculation
  • is_micro: bool - Whether to calculate micro-pKa values. In case of false, macro-pKa values will be calculated.
  • is_large_model: bool - Whether to use large pKa model.
    • small: optimized for at most 8 ionizable atoms
    • large: optimized for a large number of ionizable atoms
  • basic_min: float - Minimum basic pKa value to be considered
  • acidic_max: float - Maximum acidic pKa value to be considered
  • number_of_acidic_values: int - Number of acidic pKa values to be displayed
  • number_of_basic_values: int - Number of basic pKa values to be displayed
  • temperature: float - Temperature in Kelvin
Returns

PkaResult