Pyteomics documentation v3.4.2

Charge and pI

«  Mass and isotopes   ::   Contents   ::   Retention time prediction  »

Charge and pI

Electrochemical properties of polypeptides can be assessed via the pyteomics.electrochem module. For now, it allows to calculate:

The pyteomics.electrochem module is based on the Henderson-Hasselbalch equation.


Both functions in the module accept input in the form of a modX sequence, a parsed sequence or a dict with amino acid composition.

>>> from pyteomics import electrochem
>>> electrochem.charge('PEPTIDE', 7)
>>> from pyteomics import parser
>>> parsed_seq = parser.parse('PEPTIDE', show_unmodified_termini=True)
>>> electrochem.charge(parsed_seq, 7)
>>> aa_composition = parser.amino_acid_composition('PEPTIDE', show_unmodified_termini=True)
>>> electrochem.charge(aa_composition, 7)
>>> electrochem.pI('PEPTIDE')
>>> electrochem.pI('PEPTIDE', precision_pI=0.0001)

(Source code, png, hires.png, pdf)



The pKas of individual amino acids are stored in dicts in the following format: {modX label : (pKa, charge)}. The module contains several datasets published in scientific journals: pyteomics.electrochem.pK_lehninger (used by default), pyteomics.electrochem.pK_sillero, pyteomics.electrochem.pK_dawson, pyteomics.electrochem.pK_rodwell.

«  Mass and isotopes   ::   Contents   ::   Retention time prediction  »