OpenMS
Loading...
Searching...
No Matches
FragmentIndex::PeptidoformRendering_ Struct Reference

Rendering classes of the configured modifications, for samePeptidoform_() (peptide:deduplicate) More...

#include <OpenMS/ANALYSIS/ID/FragmentIndex.h>

Public Member Functions

uint32_t classOf (const ResidueModification *mod) const
 Class of mod (0 for nullptr or a modification not configured)
 

Public Attributes

std::vector< std::pair< const ResidueModification *, uint32_t > > mod_class
 Modification -> class of its toString(); classes start at 256, above the residue bytes.
 
bool runs_hold_peptidoforms {true}
 
bool unique_variable_renderings {true}
 No two variable modifications render alike.
 
bool slots_depend_on_context {false}
 A variable modification is protein-terminal: buildModSlots_() depends on where a peptide lies in its protein.
 

Detailed Description

Rendering classes of the configured modifications, for samePeptidoform_() (peptide:deduplicate)

Member Function Documentation

◆ classOf()

uint32_t classOf ( const ResidueModification *  mod) const
inline

Class of mod (0 for nullptr or a modification not configured)

Member Data Documentation

◆ mod_class

std::vector<std::pair<const ResidueModification*, uint32_t> > mod_class

Modification -> class of its toString(); classes start at 256, above the residue bytes.

◆ runs_hold_peptidoforms

bool runs_hold_peptidoforms {true}

Alike rendered modifications have the same mass and residue, and none is configured both fixed and variable: equal peptidoforms then have equal residues and bitwise equal precursor_mz_, i.e. lie in one run of equal precursor_mz_ after sortPeptides_().

◆ slots_depend_on_context

bool slots_depend_on_context {false}

A variable modification is protein-terminal: buildModSlots_() depends on where a peptide lies in its protein.

◆ unique_variable_renderings

bool unique_variable_renderings {true}

No two variable modifications render alike.