|
|
| | ProteinHit () |
| | Default constructor.
|
| |
| | ProteinHit (double score, UInt rank, std::string accession, std::string sequence) |
| | Values constructor.
|
| |
| | ProteinHit (const ProteinHit &)=default |
| | Copy constructor.
|
| |
| | ProteinHit (ProteinHit &&)=default |
| | Move constructor.
|
| |
| ProteinHit & | operator= (const ProteinHit &)=default |
| | Assignment operator.
|
| |
| ProteinHit & | operator= (ProteinHit &&)=default |
| | Move assignment operator.
|
| |
| ProteinHit & | operator= (const MetaInfoInterface &source) |
| | Assignment for MetaInfo.
|
| |
| bool | operator== (const ProteinHit &rhs) const |
| | Equality operator.
|
| |
| bool | operator!= (const ProteinHit &rhs) const |
| | Inequality operator.
|
| |
| | MetaInfoInterface ()=default |
| | Constructor.
|
| |
| | MetaInfoInterface (const MetaInfoInterface &rhs) |
| | Copy constructor.
|
| |
| | MetaInfoInterface (MetaInfoInterface &&) noexcept |
| | Move constructor.
|
| |
| | ~MetaInfoInterface () |
| | Destructor.
|
| |
| MetaInfoInterface & | operator= (const MetaInfoInterface &rhs) |
| | Assignment operator.
|
| |
| MetaInfoInterface & | operator= (MetaInfoInterface &&) noexcept |
| | Move assignment operator.
|
| |
| void | swap (MetaInfoInterface &rhs) |
| | Swap contents.
|
| |
| bool | operator== (const MetaInfoInterface &rhs) const |
| | Equality operator.
|
| |
| bool | operator!= (const MetaInfoInterface &rhs) const |
| | Equality operator.
|
| |
| const DataValue & | getMetaValue (const std::string &name) const |
| | Returns the value corresponding to a string, or DataValue::EMPTY if not found.
|
| |
| DataValue | getMetaValue (const std::string &name, const DataValue &default_value) const |
| | Returns the value corresponding to a string, or a default value (e.g.: DataValue::EMPTY) if not found
|
| |
| const DataValue & | getMetaValue (UInt index) const |
| | Returns the value corresponding to the index, or DataValue::EMPTY if not found.
|
| |
| DataValue | getMetaValue (UInt index, const DataValue &default_value) const |
| | Returns the value corresponding to the index, or a default value (e.g.: DataValue::EMPTY) if not found
|
| |
| bool | metaValueExists (const std::string &name) const |
| | Returns whether an entry with the given name exists.
|
| |
| bool | metaValueExists (UInt index) const |
| | Returns whether an entry with the given index exists.
|
| |
| void | setMetaValue (const std::string &name, const DataValue &value) |
| | Sets the DataValue corresponding to a name.
|
| |
| void | setMetaValue (UInt index, const DataValue &value) |
| | Sets the DataValue corresponding to an index.
|
| |
| void | removeMetaValue (const std::string &name) |
| | Removes the DataValue corresponding to name if it exists.
|
| |
| void | removeMetaValue (UInt index) |
| | Removes the DataValue corresponding to index if it exists.
|
| |
| void | addMetaValues (const MetaInfoInterface &from) |
| |
| void | getKeys (std::vector< std::string > &keys) const |
| | Fills the given vector with a list of all keys for which a value is set.
|
| |
| void | getKeys (std::vector< UInt > &keys) const |
| | Fills the given vector with a list of all keys for which a value is set.
|
| |
| bool | isMetaEmpty () const |
| | Returns if the MetaInfo is empty.
|
| |
| void | clearMetaInfo () |
| | Removes all meta values.
|
| |
| MetaInfoConstIterator | metaBegin () const |
| | Returns a const iterator to the beginning of the meta info entries.
|
| |
| MetaInfoConstIterator | metaEnd () const |
| | Returns a const iterator to the end of the meta info entries.
|
| |
| Size | metaSize () const |
| | Returns the number of meta info entries.
|
| |
|
| double | score_ |
| | the score of the protein hit
|
| |
| UInt | rank_ |
| | the position(rank) where the hit appeared in the hit list
|
| |
| std::string | accession_ |
| | the protein identifier
|
| |
| std::string | sequence_ |
| | the amino acid sequence of the protein hit
|
| |
| double | coverage_ |
| | coverage of the protein based upon the matched peptide sequences
|
| |
| std::set< std::pair< Size, ResidueModification > > | modifications_ |
| | modified positions in a protein
|
| |
| double | getScore () const |
| | returns the score of the protein hit
|
| |
| UInt | getRank () const |
| | returns the rank of the protein hit
|
| |
| const std::string & | getSequence () const |
| | returns the protein sequence
|
| |
| const std::string & | getAccession () const |
| | returns the accession of the protein
|
| |
| std::string | getDescription () const |
| | returns the description of the protein
|
| |
| double | getCoverage () const |
| | returns the coverage (in percent) of the protein hit based upon matched peptides
|
| |
| void | setScore (const double score) |
| | sets the score of the protein hit
|
| |
| void | setRank (UInt newrank) |
| | sets the rank
|
| |
| void | setSequence (const std::string &sequence) |
| | sets the protein sequence
|
| |
| void | setSequence (std::string &&sequence) |
| |
| void | setAccession (const std::string &accession) |
| | sets the accession of the protein
|
| |
| void | setDescription (const std::string &description) |
| | sets the description of the protein
|
| |
| void | setCoverage (const double coverage) |
| | sets the coverage (in percent) of the protein hit based upon matched peptides
|
| |
| const std::set< std::pair< Size, ResidueModification > > & | getModifications () const |
| | returns the set of modified protein positions
|
| |
| void | setModifications (std::set< std::pair< Size, ResidueModification > > &mods) |
| | sets the set of modified protein positions
|
| |
| bool | isDecoy () const |
| | returns true if this is a decoy hit (false for TARGET and UNKNOWN)
|
| |
| void | setTargetDecoyType (TargetDecoyType type) |
| | Sets the target/decoy type for this protein hit.
|
| |
| TargetDecoyType | getTargetDecoyType () const |
| | Returns the target/decoy type for this protein hit.
|
| |
Representation of a protein hit.
It contains the fields score, score_type, rank, accession, sequence and coverage.