PeptideIdentification#

class pyopenms.dataframes.PeptideIdentification#

Bases: object

Cython implementation of _PeptideIdentification

Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1PeptideIdentification.html

– Inherits from [‘MetaInfoInterface’]

__init__()#
  • Cython signature: void PeptideIdentification()

  • Cython signature: void PeptideIdentification(PeptideIdentification &)

Methods

__init__

  • Cython signature: void PeptideIdentification()

assignRanks

Cython signature: void assignRanks()

clearMetaInfo

Cython signature: void clearMetaInfo() Removes all meta values

empty

Cython signature: bool empty()

getBaseName

Cython signature: String getBaseName()

getExperimentLabel

Cython signature: String getExperimentLabel()

getHits

Cython signature: libcpp_vector[PeptideHit] getHits() Returns the peptide hits as const

getIdentifier

Cython signature: String getIdentifier()

getKeys

Cython signature: void getKeys(libcpp_vector[String] & keys) Fills the given vector with a list of all keys for which a value is set

getMZ

Cython signature: double getMZ()

getMetaValue

Cython signature: DataValue getMetaValue(String) Returns the value corresponding to a string, or

getRT

Cython signature: double getRT()

getReferencingHits

Cython signature: libcpp_vector[PeptideHit] getReferencingHits(libcpp_vector[PeptideHit], libcpp_set[String] &) Returns all peptide hits which reference to a given protein accession (i.e.

getScoreType

Cython signature: String getScoreType()

getSignificanceThreshold

Cython signature: double getSignificanceThreshold() Returns the peptide significance threshold value

hasMZ

Cython signature: bool hasMZ()

hasRT

Cython signature: bool hasRT()

insertHit

Cython signature: void insertHit(PeptideHit) Appends a peptide hit

isHigherScoreBetter

Cython signature: bool isHigherScoreBetter()

isMetaEmpty

Cython signature: bool isMetaEmpty() Returns if the MetaInfo is empty

metaRegistry

Cython signature: MetaInfoRegistry metaRegistry() Returns a reference to the MetaInfoRegistry

metaValueExists

Cython signature: bool metaValueExists(String) Returns whether an entry with the given name exists

removeMetaValue

Cython signature: void removeMetaValue(String) Removes the DataValue corresponding to name if it exists

setBaseName

Cython signature: void setBaseName(String)

setExperimentLabel

Cython signature: void setExperimentLabel(String)

setHigherScoreBetter

Cython signature: void setHigherScoreBetter(bool)

setHits

Cython signature: void setHits(libcpp_vector[PeptideHit]) Sets the peptide hits

setIdentifier

Cython signature: void setIdentifier(String)

setMZ

Cython signature: void setMZ(double)

setMetaValue

Cython signature: void setMetaValue(String, DataValue) Sets the DataValue corresponding to a name

setRT

Cython signature: void setRT(double)

setScoreType

Cython signature: void setScoreType(String)

setSignificanceThreshold

Cython signature: void setSignificanceThreshold(double value) Setting of the peptide significance threshold value

sort

Cython signature: void sort()

sortByRank

Cython signature: void sortByRank()

assignRanks()#

Cython signature: void assignRanks()

clearMetaInfo()#

Cython signature: void clearMetaInfo() Removes all meta values

empty()#

Cython signature: bool empty()

getBaseName()#

Cython signature: String getBaseName()

getExperimentLabel()#

Cython signature: String getExperimentLabel()

getHits()#

Cython signature: libcpp_vector[PeptideHit] getHits() Returns the peptide hits as const

getIdentifier()#

Cython signature: String getIdentifier()

getKeys()#

Cython signature: void getKeys(libcpp_vector[String] & keys) Fills the given vector with a list of all keys for which a value is set

getMZ()#

Cython signature: double getMZ()

getMetaValue()#

Cython signature: DataValue getMetaValue(String) Returns the value corresponding to a string, or

getRT()#

Cython signature: double getRT()

getReferencingHits()#

Cython signature: libcpp_vector[PeptideHit] getReferencingHits(libcpp_vector[PeptideHit], libcpp_set[String] &) Returns all peptide hits which reference to a given protein accession (i.e. filter by protein accession)

getScoreType()#

Cython signature: String getScoreType()

getSignificanceThreshold()#

Cython signature: double getSignificanceThreshold() Returns the peptide significance threshold value

hasMZ()#

Cython signature: bool hasMZ()

hasRT()#

Cython signature: bool hasRT()

insertHit()#

Cython signature: void insertHit(PeptideHit) Appends a peptide hit

isHigherScoreBetter()#

Cython signature: bool isHigherScoreBetter()

isMetaEmpty()#

Cython signature: bool isMetaEmpty() Returns if the MetaInfo is empty

metaRegistry()#

Cython signature: MetaInfoRegistry metaRegistry() Returns a reference to the MetaInfoRegistry

metaValueExists()#

Cython signature: bool metaValueExists(String) Returns whether an entry with the given name exists

removeMetaValue()#

Cython signature: void removeMetaValue(String) Removes the DataValue corresponding to name if it exists

setBaseName()#

Cython signature: void setBaseName(String)

setExperimentLabel()#

Cython signature: void setExperimentLabel(String)

setHigherScoreBetter()#

Cython signature: void setHigherScoreBetter(bool)

setHits()#

Cython signature: void setHits(libcpp_vector[PeptideHit]) Sets the peptide hits

setIdentifier()#

Cython signature: void setIdentifier(String)

setMZ()#

Cython signature: void setMZ(double)

setMetaValue()#

Cython signature: void setMetaValue(String, DataValue) Sets the DataValue corresponding to a name

setRT()#

Cython signature: void setRT(double)

setScoreType()#

Cython signature: void setScoreType(String)

setSignificanceThreshold()#

Cython signature: void setSignificanceThreshold(double value) Setting of the peptide significance threshold value

sort()#

Cython signature: void sort()

sortByRank()#

Cython signature: void sortByRank()