PeptideHit

class pyopenms.PeptideHit

Bases: object

Cython implementation of _PeptideHit

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

– Inherits from [‘MetaInfoInterface’]

__init__()
  • Cython signature: void PeptideHit()

  • Cython signature: void PeptideHit(double score, unsigned int rank, int charge, AASequence sequence)

  • Cython signature: void PeptideHit(PeptideHit &)

Methods

__init__

  • Cython signature: void PeptideHit()

addAnalysisResults

Cython signature: void addAnalysisResults(PeptideHit_AnalysisResult aresult) Add information on (search engine) sub scores associated with this PSM

addPeptideEvidence

Cython signature: void addPeptideEvidence(PeptideEvidence) Adds information on a peptide that is (potentially) identified by this PSM

clearMetaInfo

Cython signature: void clearMetaInfo() Removes all meta values

extractProteinAccessionsSet

Cython signature: libcpp_set[String] extractProteinAccessionsSet() Extracts the set of non-empty protein accessions from peptide evidences

getAnalysisResults

Cython signature: libcpp_vector[PeptideHit_AnalysisResult] getAnalysisResults() Returns information on (search engine) sub scores associated with this PSM

getCharge

Cython signature: int getCharge() Returns the charge of the peptide

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

getMetaValue

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

getPeakAnnotations

Cython signature: libcpp_vector[PeptideHit_PeakAnnotation] getPeakAnnotations() Returns the fragment annotations

getPeptideEvidences

Cython signature: libcpp_vector[PeptideEvidence] getPeptideEvidences() Returns information on peptides (potentially) identified by this PSM

getRank

Cython signature: unsigned int getRank() Returns the PSM rank

getScore

Cython signature: float getScore() Returns the PSM score

getSequence

Cython signature: AASequence getSequence() Returns the peptide sequence without trailing or following spaces

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

setAnalysisResults

Cython signature: void setAnalysisResults(libcpp_vector[PeptideHit_AnalysisResult] aresult) Sets information on (search engine) sub scores associated with this PSM

setCharge

Cython signature: void setCharge(int) Sets the charge of the peptide

setMetaValue

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

setPeakAnnotations

Cython signature: void setPeakAnnotations(libcpp_vector[PeptideHit_PeakAnnotation]) Sets the fragment annotations

setPeptideEvidences

Cython signature: void setPeptideEvidences(libcpp_vector[PeptideEvidence]) Sets information on peptides (potentially) identified by this PSM

setRank

Cython signature: void setRank(unsigned int) Sets the PSM rank

setScore

Cython signature: void setScore(double) Sets the PSM score

setSequence

Cython signature: void setSequence(AASequence) Sets the peptide sequence

addAnalysisResults()

Cython signature: void addAnalysisResults(PeptideHit_AnalysisResult aresult) Add information on (search engine) sub scores associated with this PSM

addPeptideEvidence()

Cython signature: void addPeptideEvidence(PeptideEvidence) Adds information on a peptide that is (potentially) identified by this PSM

clearMetaInfo()

Cython signature: void clearMetaInfo() Removes all meta values

extractProteinAccessionsSet()

Cython signature: libcpp_set[String] extractProteinAccessionsSet() Extracts the set of non-empty protein accessions from peptide evidences

getAnalysisResults()

Cython signature: libcpp_vector[PeptideHit_AnalysisResult] getAnalysisResults() Returns information on (search engine) sub scores associated with this PSM

getCharge()

Cython signature: int getCharge() Returns the charge of the peptide

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

getMetaValue()

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

getPeakAnnotations()

Cython signature: libcpp_vector[PeptideHit_PeakAnnotation] getPeakAnnotations() Returns the fragment annotations

getPeptideEvidences()

Cython signature: libcpp_vector[PeptideEvidence] getPeptideEvidences() Returns information on peptides (potentially) identified by this PSM

getRank()

Cython signature: unsigned int getRank() Returns the PSM rank

getScore()

Cython signature: float getScore() Returns the PSM score

getSequence()

Cython signature: AASequence getSequence() Returns the peptide sequence without trailing or following spaces

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

setAnalysisResults()

Cython signature: void setAnalysisResults(libcpp_vector[PeptideHit_AnalysisResult] aresult) Sets information on (search engine) sub scores associated with this PSM

setCharge()

Cython signature: void setCharge(int) Sets the charge of the peptide

setMetaValue()

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

setPeakAnnotations()

Cython signature: void setPeakAnnotations(libcpp_vector[PeptideHit_PeakAnnotation]) Sets the fragment annotations

setPeptideEvidences()

Cython signature: void setPeptideEvidences(libcpp_vector[PeptideEvidence]) Sets information on peptides (potentially) identified by this PSM

setRank()

Cython signature: void setRank(unsigned int) Sets the PSM rank

setScore()

Cython signature: void setScore(double) Sets the PSM score

setSequence()

Cython signature: void setSequence(AASequence) Sets the peptide sequence