14#include <unordered_map>
19 class DigestionEnzymeProtein;
67 std::vector<AASequence>
shuffle(
const AASequence& protein,
const std::string& protease,
int decoy_factor = 1);
80 const std::string& protease,
81 const int max_attempts = 100
92 std::unordered_map<std::string, std::string>
td_cache_;
Representation of a peptide/protein sequence.
Definition AASequence.h:88
Methods to generate isobaric decoy sequences for DDA target-decoy searches.
Definition DecoyGenerator.h:25
void setSeed(UInt64 seed)
AASequence shufflePeptides(const AASequence &aas, const std::string &protease, const int max_attempts=100)
~DecoyGenerator()=default
std::unordered_map< std::string, std::string > td_cache_
Definition DecoyGenerator.h:92
Math::RandomShuffler shuffler_
Definition DecoyGenerator.h:89
AASequence reverseProtein(const AASequence &protein) const
std::vector< AASequence > shuffle(const AASequence &protein, const std::string &protease, int decoy_factor=1)
Generate decoy protein sequences using shuffle algorithm.
AASequence reversePeptides(const AASequence &protein, const std::string &protease) const
static double SequenceIdentity_(const std::string &decoy, const std::string &target)
Definition MathFunctions.h:478
uint64_t UInt64
Unsigned integer type (64bit)
Definition Types.h:47
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19