25 #ifndef _DIGESTION_HPP_
26 #define _DIGESTION_HPP_
33 #include <boost/regex.hpp>
34 #include "boost/shared_ptr.hpp"
56 std::string::const_iterator end,
58 size_t missedCleavages,
59 bool NTerminusIsSpecific,
60 bool CTerminusIsSpecific,
61 std::string NTerminusPrefix =
"",
62 std::string CTerminusSuffix =
"");
66 size_t missedCleavages,
67 bool NTerminusIsSpecific,
68 bool CTerminusIsSpecific,
69 std::string NTerminusPrefix =
"",
70 std::string CTerminusSuffix =
"");
78 size_t offset()
const;
81 size_t missedCleavages()
const;
84 size_t specificTermini()
const;
87 bool NTerminusIsSpecific()
const;
90 bool CTerminusIsSpecific()
const;
93 std::string NTerminusPrefix()
const;
96 std::string CTerminusSuffix()
const;
140 Config(
int maximumMissedCleavages = 100000,
143 int minimumLength = 0,
144 int maximumLength = 100000,
145 Specificity minimumSpecificity = FullySpecific,
146 bool clipNTerminalMethionine =
true);
150 static const std::set<CVID>& getCleavageAgents();
153 static const std::vector<std::string>& getCleavageAgentNames();
157 static CVID getCleavageAgentByName(
const std::string& agentName);
161 static CVID getCleavageAgentByRegex(
const std::string& agentRegex);
165 static const std::string& getCleavageAgentRegex(CVID agentCvid);
169 static std::string disambiguateCleavageAgentRegex(
const std::string&
cleavageAgentRegex);
201 std::vector<DigestedPeptide> find_all(
const Peptide&
peptide)
const;
243 friend class Digestion::Impl;
246 boost::shared_ptr<Impl>
impl_;
254 friend class const_iterator::Impl;
263 #endif // _DIGESTION_HPP_