00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef MS_MASCOTRESULTS_PARAMS_HPP
00019 #define MS_MASCOTRESULTS_PARAMS_HPP
00020
00021 namespace matrix_science {
00027 class ms_mascotresults;
00028 class ms_peptidesummary;
00029
00031 class MS_MASCOTRESFILE_API ms_mascotresults_params
00032 {
00033 public:
00035 ms_mascotresults_params(const unsigned int flags = ms_mascotresults::MSRES_GROUP_PROTEINS,
00036 double minProbability = 0.05,
00037 int maxHitsToReport = 0,
00038 const char * unigeneIndexFile = 0,
00039 double ignoreIonsScoreBelow = 0.0,
00040 int minPepLenInPepSummary = 0,
00041 const char * singleHit = 0,
00042 const unsigned int flags2 = 0);
00043
00044 virtual ~ms_mascotresults_params();
00045
00047 ms_mascotresults_params(const ms_mascotresults_params & src);
00048
00049 #ifndef SWIG
00050
00051 ms_mascotresults_params& operator=(const ms_mascotresults_params & right);
00052 #endif
00053
00055 void copyFrom(const ms_mascotresults_params * right);
00056
00058 void setFlags(const unsigned int flags);
00059
00061 void setFlag(const ms_mascotresults::FLAGS flag, bool enabled);
00062
00064 unsigned int getFlags() const;
00065
00067 void setFlags2(const unsigned int flags2);
00068
00070 void setFlag2(const ms_peptidesummary::MSPEPSUM flag, bool enabled);
00071
00073 unsigned int getFlags2() const;
00074
00076 double getMinProbability() const;
00077
00079 void setMinProbability(const double minProbability);
00080
00082 double getTargetFDR() const;
00083
00085 void setTargetFDR(double fdr);
00086
00088 ms_mascotresults::DECOY_STATS_COUNT_TYPE getTargetFDRType() const;
00089
00091 void setTargetFDRType(ms_mascotresults::DECOY_STATS_COUNT_TYPE fdrType);
00092
00094 double getIgnoreIonsScoreBelow() const;
00095
00097 void setIgnoreIonsScoreBelow(const double ignoreIonsScoreBelow);
00098
00100 int getMinNumSigUniqueSequences() const;
00101
00103 void setMinNumSigUniqueSequences(const int n);
00104
00106 int getMaxHitsToReport() const;
00107
00109 void setMaxHitsToReport(const int maxHitsToReport);
00110
00112 int getMinPepLenInPeptideSummary() const;
00113
00115 void setMinPepLenInPeptideSummary(const int minPepLenInPeptideSummary);
00116
00118 std::string getUnigeneIndexFile() const;
00119
00121 void setUnigeneIndexFile(const char* unigeneIndexFile);
00122
00124 std::string getSingleHit() const;
00125
00127 void setSingleHit(const char* singleHit);
00128
00130 bool isUsePeptideSummary() const;
00131
00133 void setUsePeptideSummary(const bool usePeptideSummary);
00134
00135 private:
00136 unsigned int flags_;
00137 double minProbability_;
00138 double targetFDR_;
00139 ms_mascotresults::DECOY_STATS_COUNT_TYPE targetFDRtype_;
00140 int maxHitsToReport_;
00141 double ignoreIonsScoreBelow_;
00142 std::string unigeneIndexFile_;
00143 int minPepLenInPepSummary_;
00144 std::string singleHit_;
00145 unsigned int flags2_;
00146 bool usePeptideSummary_;
00147
00148 int minNumSigUniqueSeqs_;
00149 };
00150
00152 }
00153
00154 #endif // MS_MASCOTRESULTS_PARAMS_HPP
00155
00156