PeptideIdentification#
- class pyopenms.PeptideIdentification#
Bases:
objectCython implementation of _PeptideIdentification
- Original C++ documentation is available here
– Inherits from [‘MetaInfoInterface’]
- __init__()#
Overload:
- __init__(self) None
Overload:
- __init__(self, in_0: PeptideIdentification) None
Methods
Overload:
assignRanks(self)clearMetaInfo(self)Removes all meta values
empty(self)getBaseName(self)getExperimentLabel(self)getHits(self)Returns the peptide hits as const
getIdentifier(self)getKeys(self, keys)Fills the given vector with a list of all keys for which a value is set
getMZ(self)getMetaValue(self, in_0)Returns the value corresponding to a string, or
getRT(self)getReferencingHits(self, in_0, in_1)Returns all peptide hits which reference to a given protein accession (i.e.
getScoreType(self)getSignificanceThreshold(self)Returns the peptide significance threshold value
hasMZ(self)hasRT(self)insertHit(self, in_0)Appends a peptide hit
isHigherScoreBetter(self)isMetaEmpty(self)Returns if the MetaInfo is empty
metaRegistry(self)Returns a reference to the MetaInfoRegistry
metaValueExists(self, in_0)Returns whether an entry with the given name exists
removeMetaValue(self, in_0)Removes the DataValue corresponding to name if it exists
setBaseName(self, in_0)setExperimentLabel(self, in_0)setHigherScoreBetter(self, in_0)setHits(self, in_0)Sets the peptide hits
setIdentifier(self, in_0)setMZ(self, in_0)setMetaValue(self, in_0, in_1)Sets the DataValue corresponding to a name
setRT(self, in_0)setScoreType(self, in_0)setSignificanceThreshold(self, value)Setting of the peptide significance threshold value
sort(self)sortByRank(self)- assignRanks(self) None#
- clearMetaInfo(self) None#
Removes all meta values
- empty(self) bool#
- getHits(self) List[PeptideHit]#
Returns the peptide hits as const
- getKeys(self, keys: List[bytes]) None#
Fills the given vector with a list of all keys for which a value is set
- getMZ(self) float#
- getMetaValue(self, in_0: bytes | str | String) int | float | bytes | str | List[int] | List[float] | List[bytes]#
Returns the value corresponding to a string, or
- getRT(self) float#
- getReferencingHits(self, in_0: List[PeptideHit], in_1: Set[bytes]) List[PeptideHit]#
Returns all peptide hits which reference to a given protein accession (i.e. filter by protein accession)
- getSignificanceThreshold(self) float#
Returns the peptide significance threshold value
- hasMZ(self) bool#
- hasRT(self) bool#
- insertHit(self, in_0: PeptideHit) None#
Appends a peptide hit
- isHigherScoreBetter(self) bool#
- isMetaEmpty(self) bool#
Returns if the MetaInfo is empty
- metaRegistry(self) MetaInfoRegistry#
Returns a reference to the MetaInfoRegistry
- metaValueExists(self, in_0: bytes | str | String) bool#
Returns whether an entry with the given name exists
- removeMetaValue(self, in_0: bytes | str | String) None#
Removes the DataValue corresponding to name if it exists
- setHigherScoreBetter(self, in_0: bool) None#
- setHits(self, in_0: List[PeptideHit]) None#
Sets the peptide hits
- setMZ(self, in_0: float) None#
- setMetaValue(self, in_0: bytes | str | String, in_1: int | float | bytes | str | List[int] | List[float] | List[bytes]) None#
Sets the DataValue corresponding to a name
- setRT(self, in_0: float) None#
- setSignificanceThreshold(self, value: float) None#
Setting of the peptide significance threshold value
- sort(self) None#
- sortByRank(self) None#