19#ifndef MS_MASCOTRESPARAMS_HPP
20#define MS_MASCOTRESPARAMS_HPP
26namespace msparser_internal
28 class ms_searchparamsbase;
29 class ms_searchparams_dat;
30 class ms_searchparams_msr;
32namespace matrix_science {
60 MSM_NOT_PERMITTED = 0x0000,
61 MSM_EXCLUSIVE_PLUS_VARIABLE = 0x0001
72 std::string getLICENSE();
77 std::wstring getCOM() {
88 std::string getTOLU();
94 std::string getITOLU();
100 std::string getDB(
int idx = 1);
103 int getNumberOfDatabases();
106 std::string getMODS();
109 std::string getMASS();
112 MASS_TYPE getMassType();
115 std::string getCLE();
118 std::string getFILENAME();
121 std::string getDATAURL();
124 std::string getQUE();
127 std::string getSEARCH();
131 std::string getUSERNAME();
133 std::wstring getUSERNAME() {
134 return getUSERNAMEWide();
140 std::string getUSEREMAIL();
142 std::wstring getUSEREMAIL() {
143 return getUSEREMAILWide();
151 std::string getCHARGE();
154 std::string getINTERMEDIATE();
163 std::string getFORMAT();
166 std::string getFORMVER();
169 std::string getIT_MODS();
172 std::string getUSERField(
int num);
175 std::string getAllUSERParams()
const;
178 double getPRECURSOR();
181 std::string getTAXONOMY();
184 std::string getREPTYPE();
187 std::string getACCESSION();
196 std::string getINSTRUMENT();
199 bool getERRORTOLERANT();
202 std::string getRULES();
205 double getMinInternalMass();
208 double getMaxInternalMass();
211 bool hasINTERNALS()
const;
214 double getResidueMass(
char residue);
217 double getCTermMass();
220 double getNTermMass();
223 double getHydrogenMass()
const;
226 double getOxygenMass()
const;
229 double getCarbonMass()
const;
232 double getNitrogenMass()
const;
235 double getElectronMass()
const;
238 std::string getVarModsName(
int num)
const;
241 double getVarModsDelta(
int num);
244 double getVarModsNeutralLoss(
int num);
247 std::vector<double> getVarModsNeutralLosses(
int num)
const;
250 std::vector<double> getVarModsPepNeutralLoss(
int num);
253 std::vector<double> getVarModsReqPepNeutralLoss(
int num);
256 std::string getFixedModsName(
int num)
const;
259 double getFixedModsDelta(
int num);
262 double getFixedModsNeutralLoss(
int num);
265 std::string getFixedModsResidues(
int num)
const;
268 int getNumberOfLibraryMods()
const;
271 std::string getLibraryModName(
int num)
const;
274 double getLibraryModDelta(
int num)
const;
277 std::string getErrTolParentFilename();
280 std::string getQUANTITATION()
const;
283 std::string getCROSSLINKING()
const;
286 int getPEP_ISOTOPE_ERROR()
const;
289 int getDECOY()
const;
292 double getTARGET_FDR_PERCENT()
const;
295 int getPERCOLATE()
const;
298 std::vector<std::string> getML_ADAPTER_PARAM()
const;
301 int getLIBRARY_SEARCH()
const;
304 unsigned int getMULTI_SITE_MODS()
const;
309 ms_searchparams(
const ms_searchparams & rhs);
310 ms_searchparams & operator=(
const ms_searchparams & rhs);
314 std::shared_ptr<msparser_internal::ms_searchparamsbase> impl_;
316 std::wstring getCOMWide();
317 std::wstring getUSERNAMEWide();
318 std::wstring getUSEREMAILWide();
320 bool isDefaultMass(
const std::string symbol)
const;
Abstract base class of ms_mascotresfile_dat and ms_mascotresfile_msr.
Definition: ms_mascotresfilebase.hpp:72
This class encapsulates the search parameters in the Mascot results file.
Definition: ms_searchparams.hpp:47
MULTI_SITE_MODS
Possible values for MULTI_SITE_MODS.
Definition: ms_searchparams.hpp:59
~ms_searchparams()
Should never need to call this destructor directly.
Definition: ms_searchparams.hpp:69