PeptideIdentification#

class pyopenms.PeptideIdentification#

Bases: object

Cython 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

__init__

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#
getBaseName(self) bytes | str | String#
getExperimentLabel(self) bytes | str | String#
getHits(self) List[PeptideHit]#

Returns the peptide hits as const

getIdentifier(self) bytes | str | String#
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)

getScoreType(self) bytes | str | String#
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

setBaseName(self, in_0: bytes | str | String) None#
setExperimentLabel(self, in_0: bytes | str | String) None#
setHigherScoreBetter(self, in_0: bool) None#
setHits(self, in_0: List[PeptideHit]) None#

Sets the peptide hits

setIdentifier(self, in_0: bytes | str | String) None#
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#
setScoreType(self, in_0: bytes | str | String) None#
setSignificanceThreshold(self, value: float) None#

Setting of the peptide significance threshold value

sort(self) None#
sortByRank(self) None#