13#include <unordered_map>
83 double tolerance = 1e-4);
Representation of a peptide/protein sequence.
Definition AASequence.h:88
Definition IsoelectricPoint.h:59
double E
Glutamate side chain.
Definition IsoelectricPoint.h:92
double R
Definition IsoelectricPoint.h:97
static double chargeBasic_(double pH, double pKa)
Charge contribution from a basic group (NH2, side chains of H, K, R)
static double computeCharge(const AASequence &seq, double pH, ProteomicsPkaScale scale=ProteomicsPkaScale::LEHNINGER)
Computes the net charge of an amino acid sequence at a given pH.
static double chargeAcidic_(double pH, double pKa)
Charge contribution from an acidic group (COOH, side chains of D, E, C, Y)
double K
Lysine side chain.
Definition IsoelectricPoint.h:96
double C
Cysteine side chain.
Definition IsoelectricPoint.h:93
double nterm
pKa of the N-terminal amino group (default; overridden per residue when nterm_by_residue is non-empty...
Definition IsoelectricPoint.h:89
static const PkaValues & getPkaValues_(ProteomicsPkaScale scale)
Returns the pKa values for the specified scale.
double H
Histidine side chain.
Definition IsoelectricPoint.h:95
std::unordered_map< char, double > cterm_by_residue
Per-residue C-terminal pKa (Bjellqvist scale). Overrides cterm for the last residue when non-empty.
Definition IsoelectricPoint.h:101
static double computePI(const AASequence &seq, ProteomicsPkaScale scale=ProteomicsPkaScale::LEHNINGER, double tolerance=1e-4)
Computes the isoelectric point (pI) of an amino acid sequence via bisection.
double Y
Tyrosine side chain.
Definition IsoelectricPoint.h:94
double D
Aspartate side chain.
Definition IsoelectricPoint.h:91
double cterm
pKa of the C-terminal carboxyl group (default; overridden per residue when cterm_by_residue is non-em...
Definition IsoelectricPoint.h:90
std::unordered_map< char, double > nterm_by_residue
Per-residue N-terminal pKa (Bjellqvist scale). Overrides nterm for the first residue when non-empty.
Definition IsoelectricPoint.h:99
Internal struct holding pKa values for a given scale.
Definition IsoelectricPoint.h:88
ProteomicsPkaScale
Utility class for computing the isoelectric point (pI) and net charge of peptides.
Definition IsoelectricPoint.h:50
@ EMBOSS
EMBOSS scale (used by pepstats)
@ LEHNINGER
Lehninger (Nelson & Cox) scale.
@ BJELLQVIST
Bjellqvist scale with N-terminal-residue-dependent pKa values.
@ SIZE_OF_PROTEOMICS_PKA_SCALES
@ SILLERO
Sillero & Ribeiro scale.
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19