71 const String& cleavage_regex,
72 const std::set<String>& synonyms = std::set<String>(),
73 String regex_description =
"",
Representation of a digestion enzyme for proteins (protease)
Definition: DigestionEnzymeProtein.h:50
Int comet_id_
Definition: DigestionEnzymeProtein.h:189
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:193
EmpiricalFormula c_term_gain_
Definition: DigestionEnzymeProtein.h:183
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.
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, String crux_id="", Int msgf_id=-1, Int omssa_id=-1)
Detailed constructor.
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:185
DigestionEnzymeProtein & operator=(DigestionEnzymeProtein &&) &=default
Move assignment operator.
void setOMSSAID(Int value)
sets the OMSSA enzyme ID
DigestionEnzymeProtein(const DigestionEnzymeProtein &)=default
Copy constructor.
void setCruxID(const String &value)
sets the Crux enzyme ID
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
String crux_id_
Definition: DigestionEnzymeProtein.h:191
EmpiricalFormula n_term_gain_
Definition: DigestionEnzymeProtein.h:181
Int omssa_id_
Definition: DigestionEnzymeProtein.h:195
String getCruxID() const
returns the Crux enzyme ID
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:187
void setMSGFID(Int value)
sets the MSGFPlus enzyme id
Base class for digestion enzymes.
Definition: DigestionEnzyme.h:53
A more convenient string class.
Definition: String.h:60
int Int
Signed integer type.
Definition: Types.h:102
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
DigestionEnzymeProtein Protease
Definition: DigestionEnzymeProtein.h:201