Methods to generate isobaric decoy sequences for DDA target-decoy searches. More...
#include <OpenMS/CHEMISTRY/DecoyGenerator.h>
Public Member Functions | |
| DecoyGenerator () | |
| ~DecoyGenerator ()=default | |
| void | setSeed (UInt64 seed) | 
| AASequence | reverseProtein (const AASequence &protein) const | 
| AASequence | reversePeptides (const AASequence &protein, const String &protease) const | 
| std::vector< AASequence > | shuffle (const AASequence &protein, const String &protease, int decoy_factor=1) | 
| Generate decoy protein sequences using shuffle algorithm.  More... | |
| AASequence | shufflePeptides (const AASequence &aas, const String &protease, const int max_attempts=100) | 
Static Private Member Functions | |
| static double | SequenceIdentity_ (const String &decoy, const String &target) | 
Private Attributes | |
| Math::RandomShuffler | shuffler_ | 
| std::unordered_map< std::string, std::string > | td_cache_ | 
Methods to generate isobaric decoy sequences for DDA target-decoy searches.
| DecoyGenerator | ( | ) | 
      
  | 
  default | 
| AASequence reversePeptides | ( | const AASequence & | protein, | 
| const String & | protease | ||
| ) | const | 
| AASequence reverseProtein | ( | const AASequence & | protein | ) | const | 
| void setSeed | ( | UInt64 | seed | ) | 
| std::vector<AASequence> shuffle | ( | const AASequence & | protein, | 
| const String & | protease, | ||
| int | decoy_factor = 1  | 
        ||
| ) | 
Generate decoy protein sequences using shuffle algorithm.
Digests the protein using the specified protease and shuffles each resulting peptide to minimize sequence identity with the target. For top-down proteomics, use "no cleavage" as the protease to shuffle the entire protein as a single sequence.
| protein | The protein sequence to generate decoys from | 
| protease | The enzyme name (e.g., "Trypsin", "Trypsin/P", "no cleavage") | 
| decoy_factor | Number of decoy variants to generate per target peptide (default: 1) | 
| AASequence shufflePeptides | ( | const AASequence & | aas, | 
| const String & | protease, | ||
| const int | max_attempts = 100  | 
        ||
| ) | 
      
  | 
  private | 
      
  | 
  private |