IDConflictResolverAlgorithm#

class pyopenms.IDConflictResolverAlgorithm#

Bases: object

Cython implementation of _IDConflictResolverAlgorithm

Original C++ documentation is available here

__init__()#

Overload:

__init__(self) None

Resolves ambiguous annotations of features with peptide identifications

Overload:

__init__(self, in_0: IDConflictResolverAlgorithm) None

Methods

__init__

Overload:

resolve

Overload:

resolveBetweenFeatures

Overload:

resolve()#

Overload:

resolve(self, features: FeatureMap) None

Resolves ambiguous annotations of features with peptide identifications

The the filtered identifications are added to the vector of unassigned peptides and also reduced to a single best hit

Parameters:

keep_matching – Keeps all IDs that match the modified sequence of the best hit in the feature (e.g. keeps all IDs in a ConsensusMap if id’d same across multiple runs)

Overload:

resolve(self, features: ConsensusMap) None

Resolves ambiguous annotations of consensus features with peptide identifications

The the filtered identifications are added to the vector of unassigned peptides and also reduced to a single best hit

Parameters:

keep_matching – Keeps all IDs that match the modified sequence of the best hit in the feature (e.g. keeps all IDs in a ConsensusMap if id’d same across multiple runs)

resolveBetweenFeatures()#

Overload:

resolveBetweenFeatures(self, features: FeatureMap) None

In a single (feature/consensus) map, features with the same (possibly modified) sequence and charge state may appear

This filter removes the peptide sequence annotations from features, if a higher-intensity feature with the same (charge, sequence) combination exists in the map. The total number of features remains unchanged. In the final output, each (charge, sequence) combination appears only once, i.e. no multiplicities

Overload:

resolveBetweenFeatures(self, features: ConsensusMap) None

In a single (feature/consensus) map, features with the same (possibly modified) sequence and charge state may appear

This filter removes the peptide sequence annotations from features, if a higher-intensity feature with the same (charge, sequence) combination exists in the map. The total number of features remains unchanged. In the final output, each (charge, sequence) combination appears only once, i.e. no multiplicities