MultiplexResolverAlgorithm#
- class pyopenms.MultiplexResolverAlgorithm#
Bases:
DefaultParamHandlerCompletes peptide multiplets (SILAC, Dimethyl, …) and resolves quant/ID conflicts within them.
Multiplets whose observed mass shifts contradict the labels of their annotated sequence are moved to the conflict map; incomplete multiplets are completed with dummy features (intensity 0 = absent, NaN = not quantifiable because the region was blacklisted during feature detection). The identifications must carry the ‘map_index’ meta value written by IDMapper with annotate_ids_with_subelements. Parameters: sections ‘algorithm’ (labels, max_nr_labelled_aas, tolerances) and ‘labels’ (mass shift per label). DefaultParamHandler
- __init__() None#
- __init__(arg: pyopenms.MultiplexResolverAlgorithm, /) None
Methods
__init__()checkIdentifications(consensus)One flag per peptide identification of the multiplet: whether its labels agree with the detected mass shifts (the check resolve() applies)
expectedChannelMZs(sequence, charge)Returns (m/z of each channel, channel of the sequence itself) for the label set that fits the sequence; an empty list if none fits
Returns the default parameters
getName()Returns the name
Returns the parameters
resolve(map_in, map_out, map_conflicts, ...)Overloaded function.
setName(name)Sets the name
setParameters(param)Sets the parameters
- checkIdentifications(consensus: pyopenms.ConsensusFeature) list[bool]#
One flag per peptide identification of the multiplet: whether its labels agree with the detected mass shifts (the check resolve() applies)
- expectedChannelMZs(sequence: pyopenms.AASequence, charge: int) tuple#
Returns (m/z of each channel, channel of the sequence itself) for the label set that fits the sequence; an empty list if none fits
- getDefaults() pyopenms.Param#
Returns the default parameters
- getName() str#
Returns the name
- getParameters() pyopenms.Param#
Returns the parameters
- getSubsections() list[str]#
- resolve(map_in: pyopenms.ConsensusMap, map_out: pyopenms.ConsensusMap, map_conflicts: pyopenms.ConsensusMap, blacklist: pyopenms.MSExperiment) None#
- resolve(map_in: pyopenms.ConsensusMap, map_out: pyopenms.ConsensusMap, map_conflicts: pyopenms.ConsensusMap) None
Overloaded function.
resolve(map_in: pyopenms.ConsensusMap, map_out: pyopenms.ConsensusMap, map_conflicts: pyopenms.ConsensusMap, blacklist: pyopenms.MSExperiment) -> None
Split map_in into resolved multiplets (map_out) and conflicts (map_conflicts); blacklist may be an empty MSExperiment
resolve(map_in: pyopenms.ConsensusMap, map_out: pyopenms.ConsensusMap, map_conflicts: pyopenms.ConsensusMap) -> None
Split map_in into resolved multiplets (map_out) and conflicts (map_conflicts) without a blacklist
- setName(name: str) None#
Sets the name
- setParameters(param: pyopenms.Param) None#
Sets the parameters