Peptide

class pyopenms.Peptide

Bases: object

Cython implementation of _Peptide

Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS::TargetedExperimentHelper::RetentionTime::RTUnit_1_1Peptide.html

– Inherits from [‘CVTermList’]

__init__()
  • Cython signature: void Peptide()

  • Cython signature: void Peptide(Peptide &)

Methods

__init__

  • Cython signature: void Peptide()

addCVTerm

Cython signature: void addCVTerm(CVTerm & term) Adds a CV term

clearMetaInfo

Cython signature: void clearMetaInfo() Removes all meta values

consumeCVTerms

Cython signature: void consumeCVTerms(libcpp_map[String,libcpp_vector[CVTerm]] cv_term_map) Merges the given map into the member map, no duplicate checking

empty

Cython signature: bool empty()

getCVTerms

Cython signature: libcpp_map[String,libcpp_vector[CVTerm]] getCVTerms() Returns the accession string of the term

getChargeState

Cython signature: int getChargeState() Returns the peptide or compound charge state

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

getPeptideGroupLabel

Cython signature: String getPeptideGroupLabel() Get the peptide group label

getRetentionTime

Cython signature: double getRetentionTime() Gets compound or peptide retention time

getRetentionTimeType

Cython signature: RTType getRetentionTimeType() Get compound or peptide retentiontime type

getRetentionTimeUnit

Cython signature: RTUnit getRetentionTimeUnit() Get compound or peptide retentiontime unit (minute/seconds)

hasCVTerm

Cython signature: bool hasCVTerm(String accession)

hasCharge

Cython signature: bool hasCharge() Whether product has set charge state

hasRetentionTime

Cython signature: bool hasRetentionTime() Gets compound or peptide retention time

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

replaceCVTerm

Cython signature: void replaceCVTerm(CVTerm & term) Replaces the specified CV term

replaceCVTerms

Cython signature: void replaceCVTerms(libcpp_vector[CVTerm] cv_terms, String accession)

setCVTerms

Cython signature: void setCVTerms(libcpp_vector[CVTerm] & terms) Sets the CV terms

setChargeState

Cython signature: void setChargeState(int charge) Sets the peptide or compound charge states

setMetaValue

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

setPeptideGroupLabel

Cython signature: void setPeptideGroupLabel(String label) Sets the peptide group label

Attributes

evidence

id

mods

protein_refs

rts

sequence

addCVTerm()

Cython signature: void addCVTerm(CVTerm & term) Adds a CV term

clearMetaInfo()

Cython signature: void clearMetaInfo() Removes all meta values

consumeCVTerms()

Cython signature: void consumeCVTerms(libcpp_map[String,libcpp_vector[CVTerm]] cv_term_map) Merges the given map into the member map, no duplicate checking

empty()

Cython signature: bool empty()

evidence
getCVTerms()

Cython signature: libcpp_map[String,libcpp_vector[CVTerm]] getCVTerms() Returns the accession string of the term

getChargeState()

Cython signature: int getChargeState() Returns the peptide or compound charge state

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

getPeptideGroupLabel()

Cython signature: String getPeptideGroupLabel() Get the peptide group label

getRetentionTime()

Cython signature: double getRetentionTime() Gets compound or peptide retention time

getRetentionTimeType()

Cython signature: RTType getRetentionTimeType() Get compound or peptide retentiontime type

getRetentionTimeUnit()

Cython signature: RTUnit getRetentionTimeUnit() Get compound or peptide retentiontime unit (minute/seconds)

hasCVTerm()

Cython signature: bool hasCVTerm(String accession)

hasCharge()

Cython signature: bool hasCharge() Whether product has set charge state

hasRetentionTime()

Cython signature: bool hasRetentionTime() Gets compound or peptide retention time

id
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

mods
protein_refs
removeMetaValue()

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

replaceCVTerm()

Cython signature: void replaceCVTerm(CVTerm & term) Replaces the specified CV term

replaceCVTerms()

Cython signature: void replaceCVTerms(libcpp_vector[CVTerm] cv_terms, String accession)

rts
sequence
setCVTerms()

Cython signature: void setCVTerms(libcpp_vector[CVTerm] & terms) Sets the CV terms

setChargeState()

Cython signature: void setChargeState(int charge) Sets the peptide or compound charge states

setMetaValue()

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

setPeptideGroupLabel()

Cython signature: void setPeptideGroupLabel(String label) Sets the peptide group label