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 =
""
134 std::string getTaskId()
const;
137 bool getLoaded()
const;
140 std::string getCacheFileName()
const;
143 std::string getQuantMethodXml()
const;
146 std::string getMascotServerURL()
const;
149 bool serverVersionNewerOrSameAs(
int major,
int minor,
int patch)
const;
152 std::string getMascotSearchURL(
const std::string & resultsFilePath)
const;
155 eGrouping getProteinGrouping()
const;
158 eScoring getScoring()
const;
161 double getScoreExpectCutOff()
const;
164 double getShowSubset()
const;
167 bool getShowSubsetFamily()
const;
170 bool getRequireBoldRed()
const;
173 double getSignificanceThreshold()
const;
176 int getReporttop()
const;
179 bool getPercolator()
const;
182 bool getPercolatorUseProteins()
const;
185 bool getPercolatorUseRT()
const;
188 bool getErrTolPeptide()
const;
191 unsigned int getPeptideSummaryFlags()
const;
194 unsigned getPeptideSummaryFlags2()
const;
197 bool getLoadUnassigned()
const;
200 bool getShowSamesets()
const;
203 bool getShowSamesetsFamily()
const;
206 int getMinPepLenInPepSummary()
const;
209 eSpectralLibrary getSpectralLibraryDisplayOption()
const;
212 bool isTargetFDR()
const;
215 std::string getTargetFDRType()
const;
218 std::string getTargetFDRStr()
const;
221 double getTargetFDR()
const;
228 bool extractXml(msparser_internal::ms_XMLHelper & helper, msparser_internal::ms_XMLElement & element);
230 void setMissingBlueOptionValues(
const std::string & mascotServerURL,
231 const std::string & mascotServerVersion,
232 int minPepLenInPepSummary,
233 bool percolatorUseProteins,
234 bool percolatorUseRT);
238 std::string cacheFileName_;
239 std::string quantMethodXml_;
240 std::string mascotServerURL_;
241 std::string mascotServerVersion_;
243 unsigned int flags2_;
246 bool requireBoldRed_;
249 bool loadUnassigned_;
250 double significanceThreshold_;
254 eGrouping proteinGrouping_;
256 double scoreExpectCutOff_;
257 bool showSamesetFamily_;
258 bool showSubsetFamily_;
259 eSpectralLibrary libraryDisplayOption_;
260 bool percolatorUseProteins_;
261 bool percolatorUseRT_;
262 int minPepLenInPepSummary_;
266 std::string targetFDRType_;
267 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