45 const String& cleavage_regex,
46 const std::set<String>& synonyms = std::set<String>(),
47 String regex_description =
"",
Representation of a digestion enzyme for proteins (protease)
Definition: DigestionEnzymeProtein.h:24
Int comet_id_
Definition: DigestionEnzymeProtein.h:156
bool operator!=(const DigestionEnzymeProtein &enzyme) const
inequality operator
bool operator<(const DigestionEnzymeProtein &enzyme) const
order operator
String getXTandemID() const
returns the X! Tandem enzyme ID
String getPSIID() const
returns the PSI ID
bool operator==(const String &cleavage_regex) const
equality operator for regex
Int msgf_id_
Definition: DigestionEnzymeProtein.h:158
EmpiricalFormula c_term_gain_
Definition: DigestionEnzymeProtein.h:150
void setCometID(Int value)
sets the Comet enzyme ID
friend std::ostream & operator<<(std::ostream &os, const DigestionEnzymeProtein &enzyme)
ostream iterator to write the enzyme to a stream
void setNTermGain(const EmpiricalFormula &value)
sets the N-terminal gain
bool setValueFromFile(const String &key, const String &value) override
Set the value of a member variable based on an entry from an input file.
void setCTermGain(const EmpiricalFormula &value)
sets the C-terminal gain
EmpiricalFormula getNTermGain() const
returns N-terminal gain
DigestionEnzymeProtein(DigestionEnzymeProtein &&)=default
Move constructor.
DigestionEnzymeProtein(const DigestionEnzyme &d)
Constructor from base class (adding defaults for the missing stuff)
String psi_id_
Definition: DigestionEnzymeProtein.h:152
DigestionEnzymeProtein & operator=(DigestionEnzymeProtein &&) &=default
Move assignment operator.
void setOMSSAID(Int value)
sets the OMSSA enzyme ID
DigestionEnzymeProtein(const String &name, const String &cleavage_regex, const std::set< String > &synonyms=std::set< String >(), String regex_description="", EmpiricalFormula n_term_gain=EmpiricalFormula("H"), EmpiricalFormula c_term_gain=EmpiricalFormula("OH"), String psi_id="", String xtandem_id="", Int comet_id=-1, Int msgf_id=-1, Int omssa_id=-1)
Detailed constructor.
DigestionEnzymeProtein(const DigestionEnzymeProtein &)=default
Copy constructor.
Int getOMSSAID() const
returns the OMSSA enzyme ID
Int getCometID() const
returns the Comet enzyme ID
~DigestionEnzymeProtein() override
Destructor.
EmpiricalFormula getCTermGain() const
returns C-terminal gain
EmpiricalFormula n_term_gain_
Definition: DigestionEnzymeProtein.h:148
Int omssa_id_
Definition: DigestionEnzymeProtein.h:160
bool operator!=(const String &cleavage_regex) const
equality operator for regex
void setPSIID(const String &value)
sets the PSI ID
bool operator==(const DigestionEnzymeProtein &enzyme) const
equality operator
Int getMSGFID() const
returns the MSGFPlus enzyme id
void setXTandemID(const String &value)
sets the X! Tandem enzyme ID
DigestionEnzymeProtein()
Default constructor.
DigestionEnzymeProtein & operator=(const DigestionEnzymeProtein &)=default
Assignment operator.
String xtandem_id_
Definition: DigestionEnzymeProtein.h:154
void setMSGFID(Int value)
sets the MSGFPlus enzyme id
Base class for digestion enzymes.
Definition: DigestionEnzyme.h:27
A more convenient string class.
Definition: String.h:34
int Int
Signed integer type.
Definition: Types.h:76
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
DigestionEnzymeProtein Protease
Definition: DigestionEnzymeProtein.h:166