/** ** Copyright (c) 2008-2010 Illumina, Inc. ** ** This software is covered by the "Illumina Genome Analyzer Software ** License Agreement" and the "Illumina Source Code License Agreement", ** and certain third party copyright/licenses, and any user of this ** source file is bound by the terms therein (see accompanying files ** Illumina_Genome_Analyzer_Software_License_Agreement.pdf and ** Illumina_Source_Code_License_Agreement.pdf and third party ** copyright/license notices). ** ** This file is part of the Consensus Assessment of Sequence And VAriation ** (CASAVA) software package. ** ** \file MaskQvalsByEamss.cpp ** ** \brief Masks quality values of a read, using the EAMSS. ** ** \author Come Raczy **/ #ifndef CASAVA_DEMULTIPLEX_MASK_QVALS_BY_EAMSS_HH #define CASAVA_DEMULTIPLEX_MASK_QVALS_BY_EAMSS_HH namespace casava { namespace demultiplex { class MaskQvalsByEamss { public: void operator()(std::string &qValues, const std::string &baseCalls) const; private: static const int lowScore; static const int mediumScore; static const int highScore; static const char mediumThreshold; static const char highThreshold; static const int minScore; static const std::vector motifList; std::pair eamss(const std::string &qValues) const; int findStr(const std::string &targetString, const std::string &queryString, int start, int stop) const; }; } // namespace demultiplex } // namespace casava #endif // #ifndef CASAVA_DEMULTIPLEX_MASK_QVALS_BY_EAMSS_HH