17#ifndef MS_DISTILLER_DATA_SEARCH_HPP
18#define MS_DISTILLER_DATA_SEARCH_HPP
25namespace msparser_internal
31namespace matrix_science
33 class ms_quant_configfile;
96 const std::string & taskId,
98 const std::string & cacheFileName,
99 const std::string & quantMethodXml,
100 const std::string & mascotServerURL,
101 const std::string & mascotServerVersion,
108 double significanceThreshold,
112 eGrouping proteinGrouping,
114 double scoreExpectCutOff,
115 bool showSamesetFamily,
116 bool showSubsetFamily,
117 eSpectralLibrary libraryDisplayOption,
118 bool percolatorUseProteins,
119 bool percolatorUseRT,
120 int minPepLenInPepSummary,
121 bool isTargetFDR =
false,
122 const std::string & targetFDRType =
"",
123 const std::string & targetFDRStr =
"",
124 const std::string & mlAdapterSettings =
""
135 std::string getTaskId()
const;
138 bool getLoaded()
const;
141 std::string getCacheFileName()
const;
144 std::string getQuantMethodXml()
const;
147 std::string getMascotServerURL()
const;
150 bool serverVersionNewerOrSameAs(
int major,
int minor,
int patch)
const;
153 std::string getMascotSearchURL(
const std::string & resultsFilePath)
const;
156 eGrouping getProteinGrouping()
const;
159 eScoring getScoring()
const;
162 double getScoreExpectCutOff()
const;
165 double getShowSubset()
const;
168 bool getShowSubsetFamily()
const;
171 bool getRequireBoldRed()
const;
174 double getSignificanceThreshold()
const;
177 int getReporttop()
const;
180 bool getPercolator()
const;
183 bool getPercolatorUseProteins()
const;
186 bool getPercolatorUseRT()
const;
189 bool getErrTolPeptide()
const;
192 unsigned int getPeptideSummaryFlags()
const;
195 unsigned getPeptideSummaryFlags2()
const;
198 bool getLoadUnassigned()
const;
201 bool getShowSamesets()
const;
204 bool getShowSamesetsFamily()
const;
207 int getMinPepLenInPepSummary()
const;
210 eSpectralLibrary getSpectralLibraryDisplayOption()
const;
213 bool isTargetFDR()
const;
216 std::string getTargetFDRType()
const;
219 std::string getTargetFDRStr()
const;
222 double getTargetFDR()
const;
228 std::string getMachineLearningAdapterSettings()
const;
232 bool extractXml(msparser_internal::ms_XMLHelper & helper, msparser_internal::ms_XMLElement & element);
234 void setMissingBlueOptionValues(
const std::string & mascotServerURL,
235 const std::string & mascotServerVersion,
236 int minPepLenInPepSummary,
237 bool percolatorUseProteins,
238 bool percolatorUseRT);
242 std::string cacheFileName_;
243 std::string quantMethodXml_;
244 std::string mascotServerURL_;
245 std::string mascotServerVersion_;
247 unsigned int flags2_;
250 bool requireBoldRed_;
253 bool loadUnassigned_;
254 double significanceThreshold_;
258 eGrouping proteinGrouping_;
260 double scoreExpectCutOff_;
261 bool showSamesetFamily_;
262 bool showSubsetFamily_;
263 eSpectralLibrary libraryDisplayOption_;
264 bool percolatorUseProteins_;
265 bool percolatorUseRT_;
266 int minPepLenInPepSummary_;
267 std::string mlAdapterSettings_;
271 std::string targetFDRType_;
272 std::string targetFDRStr_;
The details of a Distiller search.
Definition: ms_distiller_data_search.hpp:52
eGrouping
Setting to control how proteins are grouped.
Definition: ms_distiller_data_search.hpp:73
eScoring
Determine whether to use MudPIT or standard (pre-Mascot 2.2) scoring.
Definition: ms_distiller_data_search.hpp:62
eSpectralLibrary
For integrated FASTA and Spectral Library search, determines the default result display option.
Definition: ms_distiller_data_search.hpp:84
Distiller project parameters.
Definition: ms_distiller_data.hpp:49
DECOY_STATS_COUNT_TYPE
Type of object counted by getNumHitsAboveIdentity() and friends.
Definition: ms_mascotresults.hpp:382