|
Contains libXpertMass documentation. More...
Header: | #include <libXpertMass> |
class | CalcOptions |
class | ChemicalGroup |
class | ChemicalGroupProp |
class | ChemicalGroupRule |
class | CleaveMotif |
class | CleaveRule |
class | CleaveSpec |
class | CoordinateList |
class | Coordinates |
class | CrossLink |
class | CrossLinkList |
class | CrossLinker |
class | CrossLinkerSpec |
class | DoubleProp |
class | Formula |
class | FragRule |
class | FragSpec |
class | IntProp |
class | Ionizable |
class | IonizeRule |
class | Isotope |
class | IsotopicClusterGenerator |
class | IsotopicClusterShaper |
class | IsotopicData |
class | IsotopicDataBaseHandler |
class | IsotopicDataLibraryHandler |
class | IsotopicDataManualConfigHandler |
class | IsotopicDataUserConfigHandler |
class | MassDataClient |
class | MassDataServer |
class | MassDataServerThread |
class | MassPeakShaper |
class | MassPeakShaperConfig |
class | Modif |
class | ModifProp |
class | ModifSpec |
class | Monomer |
class | MonomerSpec |
class | NoDeletePointerProp |
class | Oligomer |
class | PkaPhPi |
class | PkaPhPiDataParser |
class | PolChemDef |
class | PolChemDefEntity |
class | Polymer |
class | Ponderable |
class | Prop |
class | PropListHolder |
class | Sequence |
class | StringProp |
enum | CapType { CAP_NONE, CAP_LEFT, CAP_RIGHT, CAP_BOTH } |
enum | ChemicalGroupRuleFate { LOST, PRESERVED } |
enum | ChemicalGroupTrapping { NEVER_TRAPPED, LEFT_TRAPPED, RIGHT_TRAPPED } |
enum | CrossLinkEncompassed { CROSS_LINK_ENCOMPASSED_NO, CROSS_LINK_ENCOMPASSED_PARTIAL, CROSS_LINK_ENCOMPASSED_FULL } |
FormulaChargePair | |
enum class | FormulaSplitResult { NOT_SET, FAILURE, HAS_PLUS_COMPONENT, HAS_MINUS_COMPONENT, HAS_BOTH_COMPONENTS } |
enum | FragEnd { FRAG_END_NONE, FRAG_END_LEFT, FRAG_END_RIGHT, FRAG_END_BOTH } |
enum | HashAccountData { HASH_ACCOUNT_SEQUENCE, HASH_ACCOUNT_MONOMER_MODIF, HASH_ACCOUNT_POLYMER_MODIF } |
IsotopeCstSPtr | |
enum class | IsotopeFields { ID, ELEMENT, SYMBOL, ATOMIC_NUMBER, MASS, …, RADIOACTIVE } |
IsotopeSPtr | |
IsotopicClusterChargePair | |
IsotopicClusterGeneratorCstSPtr | |
IsotopicClusterGeneratorSPtr | |
IsotopicDataCstSPtr | |
IsotopicDataLibraryHandlerCstSPtr | |
IsotopicDataLibraryHandlerSPtr | |
IsotopicDataManualConfigHandlerCstSPtr | |
IsotopicDataManualConfigHandlerSPtr | |
IsotopicDataSPtr | |
enum class | IsotopicDataType { NOT_SET, LIBRARY_CONFIG, USER_CONFIG, MANUAL_CONFIG } |
enum class | MassPeakShapeType { GAUSSIAN, LORENTZIAN } |
MassPeakShaperSPtr | |
enum class | MassPeakWidthLogic { FWHM, RESOLUTION } |
enum | MassToleranceType { MASS_TOLERANCE_NONE, MASS_TOLERANCE_PPM, MASS_TOLERANCE_MZ, MASS_TOLERANCE_AMU, MASS_TOLERANCE_RES } |
enum | MassType { MASS_NONE, MASS_MONO, MASS_AVG, MASS_BOTH } |
enum | MonomerChemEnt { MONOMER_CHEMENT_NONE, MONOMER_CHEMENT_MODIF, MONOMER_CHEMENT_CROSS_LINK } |
OligomerCstSPtr | |
OligomerSPtr | |
enum | PolymerChemEnt { POLYMER_CHEMENT_NONE, POLYMER_CHEMENT_LEFT_END_MODIF, POLYMER_CHEMENT_FORCE_LEFT_END_MODIF, POLYMER_CHEMENT_RIGHT_END_MODIF, POLYMER_CHEMENT_FORCE_RIGHT_END_MODIF, …, POLYMER_CHEMENT_FORCE_BOTH_END_MODIF } |
enum | PolymerEnd { END_NONE, END_LEFT, END_RIGHT, END_BOTH } |
enum | SelectionType { SELECTION_TYPE_RESIDUAL_CHAINS, SELECTION_TYPE_OLIGOMERS } |
int | ATOM_DEC_PLACES |
int | FWHM_PEAK_SPAN_FACTOR |
int | OLIGOMER_DEC_PLACES |
int | PH_PKA_DEC_PLACES |
int | POLYMER_DEC_PLACES |
const int | POL_CHEM_DEF_FILE_FORMAT_VERSION |
const int | POL_SEQ_FILE_FORMAT_VERSION |
QRegularExpression | gEndOfLineRegExp |
QRegularExpression | gXyFormatMassDataRegExp |
QMap<int, QString> | massToleranceTypeMap |
double | addPpm(double value, double ppm) |
double | addRes(double value, double res) |
bool | almostEqual(double value1, double value2, int decimal_places = 10) |
QString | binaryRepresentation(int value) |
QString | configSettingsFilePath(const QString &module_name) |
int | countZeroDecimals(double value) |
void | doubleListStatistics(QList<double> list, double *sum, double *average, double *variance, double *stdDeviation, double *nonZeroSmallest, double *smallest, double *smallestMedian, double *greatest) |
void | doubleVectorStatistics(std::vector<double> &vector, double *sum, double *average, double *variance, double *stdDeviation, double *nonZeroSmallest, double *smallest, double *smallestMedian, double *greatest) |
QString | elideText(const QString &text, int chars_left = 4, int chars_right = 4, const QString &delimiter = "...") |
QString | pointerAsString(void *pointer) |
double | ppm(double value, double ppm) |
QTextStream & | qStdOut() |
double | removePpm(double value, double ppm) |
double | removeRes(double value, double res) |
double | res(double value, double res) |
QString | stanzify(const QString &text, int width) |
QString | stanzifyParagraphs(const QString &text, int width) |
QString & | unspacifyString(QString &text) |
The CalcOptions class provides the specifications that configure the way masses are calculated for Oligomers, Polymers and product ions. More...
The ChemicalGroup class provides a model for specifying the acido-basic behaviour of a chemical group of either a Monomer object or of a Modif object. More...
The ChemicalGroupProp class provides a Prop instance of which the member data points to a dynamically allocated ChemicalGroup instance. More...
The ChemicalGroupRule class provides a model for refining the acido-basic behaviour of a chemical group of either a Monomer object or of a Modif object. More...
The CleaveMotif class provides a model for specifying aqueous cleavage sites of Polymer Sequences. More...
The CleaveRule class provides a model for specifying aqueous cleavage rules for refining cleavage specifications (CleaveSpec) of Polymer Sequences. More...
The CleaveSpec class provides a model for specifying aqueous cleavage specifications (patterns) of Polymer Sequences. More...
The CoordinateList class provides a list of Coordinates allocated instances. More...
The Coordinates class provides the localization of a sequence region in a Polymer Sequence. More...
The CrossLink class provides abstractions to work with a cross-link entity between Monomer instances. More...
The CrossLinkList class provides a list of CrossLink instances. More...
The CrossLinker class provides abstractions to define the chemical basis of a cross-linking reaction. More...
The CrossLinkerSpec class provides the specification about how CrossLinker objects are represented. More...
The DoubleProp class is the specialized class for properties that hold data in the form of double values. More...
The Formula class provides sophisticated abstractions to work with formulas. More...
The FragRule class provides a model for specifying gas phase fragmentation rules for refining fragmentation specifications (FragSpec) of Oligomer Sequences. More...
The FragSpec class provides a model for specifying gas phase fragmentations of Oligomer Sequences. More...
The IntProp class is the specialized class for properties that hold data in the form of integer values. More...
The Ionizable class provides abstractions to work with entities that have masses (base class Ponderable) and that can be ionized. More...
The IonizeRule class provides an ionization rule. More...
The Isotope class models an isotope. More...
The IsotopicClusterGenerator class provides the features needed to model isotopic clusters starting from (elemental-composition, charge) pairs. More...
The IsotopicClusterShaper class provides the features needed to shape sets of (peak centroid m/z, intensity) pairs associated to a given charge into a mass spectral pappso;:Trace. More...
The IsotopicData class provides a collection of Isotopes and associated methods to access them in various ways. More...
The IsotopicDataBaseHandler class features basic handling of IsotopicData. More...
The IsotopicDataLibraryHandler class handles IsotopicData from the IsoSpec element data tables directly from the library's data. These are the reference, pristine, unmodified, isotopic data. More...
The IsotopicDataManualConfigHandler class handles a peculiar kind of IsotopicData that cannot be handled with the other handlers. More...
The IsotopicDataUserConfigHandler class handles user-defined IsotopicData. More...
The MassDataClient class provides a network client. More...
The MassDataServer class provides a network server. More...
The MassDataServerThread class provides a server in a QThread instance. More...
The MassPeakShaper class provides the features needed to shape a mass peak. More...
The MassPeakShaperConfig class provides the features required to configure the shaping of a mass peak centroid into a Gaussian or a Lorentzian fully profiled shape. More...
The Modif class provides abstractions to work with chemical modifications. More...
The ModifProp class provides a Prop instance of which the member data points to a dynamically allocated Modif instance. More...
The ModifSpec class provides the specification about how Modif objects are represented. More...
The Monomer class provides abstractions to work with monomers. More...
The MonomerSpec class provides the specification about how Monomer objects are represented. More...
The NoDeletePointerProp class provides a pointer property. More...
The Oligomer class provides abstractions to work with an oligomer molecule (peptide , for example). More...
The PkaPhPi class provides a model for specifying the acido-basic properties of a chemical entity. More...
The PkaPhPiDataParser class provides a file reader for the pKa, pH, pI data XML file.. More...
The PolChemDef class provides a complete set of chemical entities fully qualifying a polymer chemistry definition, like Proteins, Saccharides or Nucleic acids. More...
The PolChemDefEntity class describes a chemical entity that belongs to a specific PolChemDef polymer chemistry definition. More...
The Polymer class provides abstractions to work with a polymer molecule (protein or saccharide , for example). More...
The Ponderable class provides an abstraction for any chemical entity having a monoisotopic and an average mass. More...
The Prop class is the abstract base class for a number of specialized properties. More...
The PropListHolder class is the base class for a number of classes that need storing Prop instances. More...
The Sequence class provides abstractions to work with a simple sequence of Monomers. More...
The StringProp class is the specialized class for properties that hold data in the form of string objects. More...
This enum specifies the type of cap (the chemical entities that are set to the polymer ends so as to finish its polymerization state from a chain of residues to an actual polymer molecule.
Constant | Value | Description |
---|---|---|
MsXpS::libXpertMass::CAP_NONE | 0 << 1 | The cap is not defined |
MsXpS::libXpertMass::CAP_LEFT | 1 << 1 | The left cap |
MsXpS::libXpertMass::CAP_RIGHT | 2 << 1 | The right cap |
MsXpS::libXpertMass::CAP_BOTH | (CAP_LEFT | CAP_RIGHT) | (CAP_LEFT | CAP_RIGHT) |
This enum specifies how the chemical group behaves when the chemical entity that it holds polymerizes into a Polymer.
This example clarifies the concept:
<monomer> <code>C</code> <mnmchemgroup> <name>N-term NH2</name> <pka>9.6</pka> <acidcharged>TRUE</acidcharged> <polrule>left_trapped</polrule> <chemgrouprule> <entity>LE_PLM_MODIF</entity> <name>Acetylation</name> <outcome>LOST</outcome> </chemgrouprule> </mnmchemgroup>
When the Cysteine's amino group is modified because the Cys residue on on the N-terminal end of the polymer, if it gets acetylated, then the amino group is lost because it is trapped in the amide bond. It is thus not accounted for when computing the pI of the protein.
Constant | Value | Description |
---|---|---|
MsXpS::libXpertMass::LOST | 0 | The chemical group is lost upon modification of the Monomer. |
MsXpS::libXpertMass::PRESERVED | 1 | The chemical group is preserved upon modification of the Monomer. |
This enum specifies how the chemical group behaves when the chemical entity that it holds polymerizes into a Polymer.
One example will clear things out:
An amino acid has a amino group and a carboxylic acid group. The amino group gets entrapped in the monomer-to-monomer bond (the peptide bond) if the polymerization occurs at the left of the monomer. That means that if the Monomer holding this ChemicalGroup is N-terminal, then the amino group should be accounted for because it is intact. Conversely, the carboxylic acid group gets entrapped in the peptide bond if the polymerization occurs at the right of the monomer. That means that if the Monomer holding this ChemicalGroup is C-terminal, then the carboxylic acid group should be accounted for because it is intact.
Constant | Value | Description |
---|---|---|
MsXpS::libXpertMass::NEVER_TRAPPED | 1 << 0 | The chemical group is not lost upon polymerization, it should thus always be accounted for. |
MsXpS::libXpertMass::LEFT_TRAPPED | 1 << 1 | The chemical group gets trapped in the inter-monomer bond if polymerization occurs at left of the Monomer. |
MsXpS::libXpertMass::RIGHT_TRAPPED | 1 << 2 | The chemical group gets trapped in the inter-monomer bond if polymerization occurs at right of the Monomer. |
This enum type specifies the manner in which a sequence region in a Polymer or in an Oligomer contains fully, or partially not does not contain all the monomers involved in a CrossLink:
Constant | Value | Description |
---|---|---|
MsXpS::libXpertMass::CROSS_LINK_ENCOMPASSED_NO | 0 | The region does not contain any Monomer involved in a CrossLink. |
MsXpS::libXpertMass::CROSS_LINK_ENCOMPASSED_PARTIAL | 1 | The region contains one or more Monomers involved in a CrossLink but not all. |
MsXpS::libXpertMass::CROSS_LINK_ENCOMPASSED_FULL | 2 | All the Monomers involved in the CrossLink are contained in the Polymer or Oligomer region. |
[alias]
libXpertMass::FormulaChargePairAlias for std::pair<QString, int>.
This enum type specifies the result of an actionformula parsing process:
Constant | Value | Description |
---|---|---|
MsXpS::libXpertMass::FormulaSplitResult::NOT_SET | 0x0000 | The value was not set |
MsXpS::libXpertMass::FormulaSplitResult::FAILURE | 1 << 0 | The splitting work failed |
MsXpS::libXpertMass::FormulaSplitResult::HAS_PLUS_COMPONENT | 1 << 1 | The action formula has a plus component |
MsXpS::libXpertMass::FormulaSplitResult::HAS_MINUS_COMPONENT | 1 << 2 | The action formula has a minus component |
MsXpS::libXpertMass::FormulaSplitResult::HAS_BOTH_COMPONENTS | (HAS_PLUS_COMPONENT |
HAS_MINUS_COMPONENT) | The action formula has both plus and minus components |
This enum specifies the end of the Oligomer that will be contained in the fragment resulting from its fragmentation. In protein chemistry, for example, a,b and x fragments are N-terminal fragments, that is, they contain the left end of the framgented Oligomer's sequence.
Constant | Value | Description |
---|---|---|
MsXpS::libXpertMass::FRAG_END_NONE | 1 << 0 | The value is not set. |
MsXpS::libXpertMass::FRAG_END_LEFT | 1 << 1 | The generated fragment contains the left end of the oligomer |
MsXpS::libXpertMass::FRAG_END_RIGHT | 1 << 2 | The generated fragment contains the right end of the oligomer |
MsXpS::libXpertMass::FRAG_END_BOTH | (FRAG_END_LEFT | FRAG_END_RIGHT) | The generated fragment contains both the left and the right end of the oligomer (that is, is all the oligomer) |
This enum specifies the chemical entites to account for when calculating a hash.
Constant | Value | Description |
---|---|---|
MsXpS::libXpertMass::HASH_ACCOUNT_SEQUENCE | 1 << 0 | The sequence |
MsXpS::libXpertMass::HASH_ACCOUNT_MONOMER_MODIF | 1 << 1 | Monomer modifications |
MsXpS::libXpertMass::HASH_ACCOUNT_POLYMER_MODIF | 1 << 2 | Polymer modifications |
Synonym for std::shared_ptr<const Isotope>.
This enum type documents the various member data in Isotope.
The values assigned to the various enum members are used to specify the columsn in the GUI table view. They are also used to access substrings in the proper order in the Isotope::initialize().
Constant | Value | Description |
---|---|---|
MsXpS::libXpertMass::IsotopeFields::ID | 0 | Indicates Isotope::m_id. |
MsXpS::libXpertMass::IsotopeFields::ELEMENT | 1 | Indicates Isotope::m_element. |
MsXpS::libXpertMass::IsotopeFields::SYMBOL | 2 | Indicates the Isotope::m_symbol. |
MsXpS::libXpertMass::IsotopeFields::ATOMIC_NUMBER | 3 | Indicates the Isotope::m_atomicNo. |
MsXpS::libXpertMass::IsotopeFields::MASS | 4 | Indicates the Isotope::m_mass. |
MsXpS::libXpertMass::IsotopeFields::MASS_NUMBER | 5 | Indicates the Isotope::m_massNo. |
MsXpS::libXpertMass::IsotopeFields::EXTRA_NEUTRONS | 6 | Indicates the Isotope::m_extraNeutrons. |
MsXpS::libXpertMass::IsotopeFields::PROBABILITY | 7 | Indicates the Isotope::m_probability. |
MsXpS::libXpertMass::IsotopeFields::LN_PROBABILITY | 8 | Indicates the Isotope::m_lnProbability. |
MsXpS::libXpertMass::IsotopeFields::RADIOACTIVE | 9 | Indicates the Isotope::m_radioactive. |
Synonym for std::shared_ptr<Isotope>.
[alias]
libXpertMass::IsotopicClusterChargePairAlias for std::pair<pappso::TraceCstSPtr, int>.
Synonym for std::shared_ptr<const IsotopicClusterGenerator>.
Synonym for std::shared_ptr<IsotopicClusterGenerator>.
Synonym for std::shared_ptr<const IsotopicData>.
Synonym for std::shared_ptr<const IsotopicDataLibraryHandler>.
Synonym for std::shared_ptr<IsotopicDataLibraryHandler>.
Synonym for std::shared_ptr<const IsotopicDataManualConfigHandler>.
Synonym for std::shared_ptr<IsotopicDataManualConfigHandler>.
Synonym for std::shared_ptr<IsotopicData>.
This enum specifies the type of isotopic data.
Constant | Value | Description |
---|---|---|
MsXpS::libXpertMass::IsotopicDataType::NOT_SET | 0 | : Not configured. . |
MsXpS::libXpertMass::IsotopicDataType::LIBRARY_CONFIG | 1 | : The isotopic data are loaded intact from the IsoSpec library data and are considered pristine natural abundance data. . |
MsXpS::libXpertMass::IsotopicDataType::USER_CONFIG | 2 | : The isotopic data are in the same format as for LIBRARY_CONFIG but might have been modified by the user to configure new abundances. . |
MsXpS::libXpertMass::IsotopicDataType::MANUAL_CONFIG | 3 | : The isotopic data are in a specific format, different than the two above, that actually crafts the isotopes starting from scratch. |
This enum specifies the type of mass peak shape to be computed around a m/z peak centroid.
Constant | Value | Description |
---|---|---|
MsXpS::libXpertMass::MassPeakShapeType::GAUSSIAN | 1 | The peak will be shaped using the Gaussian model. |
MsXpS::libXpertMass::MassPeakShapeType::LORENTZIAN | 2 | The peak will be shaped using the Lorentizan model. |
Synonym for std::shared_ptr<MassPeakShaper>.
This enum specifies the logic used to computed the width of the mass peak shape around a m/z peak centroid.
Constant | Value | Description |
---|---|---|
MsXpS::libXpertMass::MassPeakWidthLogic::FWHM | 1 | The full width at half maximum is directly used to compute the peak shape width. |
MsXpS::libXpertMass::MassPeakWidthLogic::RESOLUTION | 2 | The resolving power of the instrument is the starting point to compute the FWHM. |
This enum type specifies the kind of mass tolerance to use for a mass calculation or a mass comparison.
Constant | Value | Description |
---|---|---|
MsXpS::libXpertMass::MASS_TOLERANCE_NONE | 0 | The tolerance is not specified |
MsXpS::libXpertMass::MASS_TOLERANCE_PPM | 1 | The tolerance is based on parts per million |
MsXpS::libXpertMass::MASS_TOLERANCE_MZ | 2 | The tolerance is based on an absolute m/z value |
MsXpS::libXpertMass::MASS_TOLERANCE_AMU | 3 | The tolerance is based on an absolute mass value |
MsXpS::libXpertMass::MASS_TOLERANCE_RES | 4 | The tolerance is based on resolution |
This enum type specifies the type of mass:
Constant | Value | Description |
---|---|---|
MsXpS::libXpertMass::MASS_NONE | 0x0000 | The mass type is not defined |
MsXpS::libXpertMass::MASS_MONO | 1 << 0 | The mass is monoisotopic |
MsXpS::libXpertMass::MASS_AVG | 1 << 1 | The mass is average |
MsXpS::libXpertMass::MASS_BOTH | (MASS_MONO | MASS_AVG) | (MASS_MONO | MASS_AVG) |
This enum specifies the monomer chemical entities to account for in a calculation.
This enum is typically used when mass calculations need to account or not for the various chemical entities that are attached to a given monomer.
Constant | Value | Description |
---|---|---|
MsXpS::libXpertMass::MONOMER_CHEMENT_NONE | 0 << 1 | The monomer chemical entity is not defined. |
MsXpS::libXpertMass::MONOMER_CHEMENT_MODIF | 1 << 1 | The monomer modifications |
MsXpS::libXpertMass::MONOMER_CHEMENT_CROSS_LINK | 1 << 2 | The monomer cross-links |
Synonym for std::shared_ptr<const Oligomer> OligomerSPtr.
Synonym for std::shared_ptr<Oligomer> OligomerSPtr.
This enum specifies the polymer sequence chemical entities to account for in a calculation.
This enum is typically used when mass calculations need to account or not for the various chemical entities that are attached to a given polymer.
Constant | Value | Description |
---|---|---|
MsXpS::libXpertMass::POLYMER_CHEMENT_NONE | 1 << 0 | The polymer chemical entity is not defined. |
MsXpS::libXpertMass::POLYMER_CHEMENT_LEFT_END_MODIF | 1 << 1 | The left end modification |
MsXpS::libXpertMass::POLYMER_CHEMENT_FORCE_LEFT_END_MODIF | 1 << 2 | The left end modification, even if that polymer's end is not selected |
MsXpS::libXpertMass::POLYMER_CHEMENT_RIGHT_END_MODIF | 1 << 3 | The right end modification |
MsXpS::libXpertMass::POLYMER_CHEMENT_FORCE_RIGHT_END_MODIF | 1 << 4 | The right end modification, even if that polymer's end is not selected |
MsXpS::libXpertMass::POLYMER_CHEMENT_BOTH_END_MODIF | (POLYMER_CHEMENT_LEFT_END_MODIF | POLYMER_CHEMENT_RIGHT_END_MODIF) | (POLYMER_CHEMENT_LEFT_END_MODIF | POLYMER_CHEMENT_RIGHT_END_MODIF) |
MsXpS::libXpertMass::POLYMER_CHEMENT_FORCE_BOTH_END_MODIF | (POLYMER_CHEMENT_FORCE_LEFT_END_MODIF |
POLYMER_CHEMENT_FORCE_RIGHT_END_MODIF) | (POLYMER_CHEMENT_FORCE_LEFT_END_MODIF | POLYMER_CHEMENT_FORCE_RIGHT_END_MODIF) |
This enum specifies the polymer end.
Constant | Value | Description |
---|---|---|
MsXpS::libXpertMass::END_NONE | 0 << 1 | Not defined |
MsXpS::libXpertMass::END_LEFT | 1 << 1 | The left end |
MsXpS::libXpertMass::END_RIGHT | 2 << 1 | The right end |
MsXpS::libXpertMass::END_BOTH | (END_LEFT | END_RIGHT) | (END_LEFT | END_RIGHT) |
This enum specifies the selection type in a polymer sequence.
Constant | Value | Description |
---|---|---|
MsXpS::libXpertMass::SELECTION_TYPE_RESIDUAL_CHAINS | 0 | The selection comprises only residues |
MsXpS::libXpertMass::SELECTION_TYPE_OLIGOMERS | 1 | The selection comprises oligomers, that is, residual chains capped with the left and right caps. |
Number of decimal places after the decimal symbol for atom masses.
This variable holds the compounding factor to account for when shaping the sides of the peak.
The shape of the peak needs to reflect a real mass peak. In particular, the shape of the peak has to return, on each one of both sides, to the baseline, thus mimicking the baseline for a m/z distance equivalent to FWHM_PEAK_SPAN_FACTOR times the FWHM m/z range from left to right. That means that the simulated peak region at the left hand side of the centroid value will span (FWHM_PEAK_SPAN_FACTOR/2) times the FWHM and the same one right. Empirically, a good FWHM_PEAK_SPAN_FACTOR is 4
, meaning that the left half of the peak (that is centered on the centroid) will have a size corresponding to two times the FHWM, and the same for the right half of the peak.
This is best exemplified as follows:
Centroid value ^ | [ m/z - (2 * FWHM) <-|-> m/z + (2 * FWHM) ] <----- width of the whole peak shape ----->
Number of decimal places after the decimal symbol for oligomer masses.
Number of decimal places after the decimal symbol for pH/pKa values.
Number of decimal places after the decimal symbol for polymer masses.
This variable holds the latest version of the format of the file containing the polymer chemistry definition.
Brought to 1 20230130 for massXpert2
Version number of the polymer sequence file format.
Regular expression that matches the end of line in text files.
Regular expression that matches the m/z,i pairs in text files.
Map relating the MassToleranceType to a textual representation
Returns value incremented by the matching ppm part.
Returns value incremented by the matching res part.
Returns true if both double values value1 and value2, are equal within the double representation capabilities of the platform, false otherwise.
In the comparison, the decimal_places are taken into account.
Returns a string with a binary representation of the value integer.
Returns a string holding the the file path to the configuration settings for application module_name.
Returns the number of zero decimals in value that are found between the decimal point and the first non-zero decimal.
For example, 0.11 would return 0 (no empty decimal)
2.001 would return 2
1000.0001254 would return 3
Returns the average of the list of double
values.
All the values in list are process in order to compute the following:
statistical values if the corresponding parameters are non-nullptr.
See also doubleVectorStatistics().
Returns the average of the vector of double
values.
All the values in list are process in order to compute the following:
statistical values if the corresponding parameters are non-nullptr.
See also doubleListStatistics().
Returns a shortened (elided) version of the text string.
It is sometimes necessary to display, in a graphical user interface a very long string, that cannot fit in the provided widget. This function returns a shortened version of the input string.
For example, "Interesting bits of information are often lost where there are too many details", becomes "Interes...details".
chars_left: Count of characters to be kept on the left side of the string.
chars_right: Count of characters to be kept on the right side of the string.
delimiter string to use as the elision delimiter (in the above example, that is '.').
Returns a string representing the pointer address location (for debugging).
Returns the delta value corresponding to value and ppm part-per-million.
Provides a text stream handle to the standard output.
Use:
qStdOut() << __FILE__ << __LINE__ << "text to the standard output," << "not the error standard output."
Returns a reference to a static QTextStream that directs to the standard output.
Returns value decremented by the matching ppm part.
Returns value decremented by the matching res part.
Return the delta corresponding to value and resolution res.
Returns a string containing a paragraph-based version of the very long single-line text.
When a text string is too long to be displayed in a line of reasonable length, inserts newline characters at positions calculated to yield a paragraph of the given width.
See also stanzifyParagraphs().
Returns a string containing a series of paragraph-based versions of the very long single-line-containing paragraphs in text.
text is a string with newline characters that delimit paragraph that thelmselves are made of a very long single line. This function splits text along the '\n'
character and each obtained very long single-line string is reduced to a set of lines to make a pararagraph (see stanzify). The with of the line in that generated paragraph is width.
See also stanzify().
Removes all space characters from the text string (the removal is in-place).
Returns a reference to the in-place-modified string.