OpenMS
DecoyGenerator Class Reference

Methods to generate isobaric decoy sequences for DDA target-decoy searches. More...

#include <OpenMS/CHEMISTRY/DecoyGenerator.h>

Collaboration diagram for DecoyGenerator:
[legend]

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
 
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_
 

Detailed Description

Methods to generate isobaric decoy sequences for DDA target-decoy searches.

Constructor & Destructor Documentation

◆ DecoyGenerator()

◆ ~DecoyGenerator()

~DecoyGenerator ( )
default

Member Function Documentation

◆ reversePeptides()

AASequence reversePeptides ( const AASequence protein,
const String protease 
) const

◆ reverseProtein()

AASequence reverseProtein ( const AASequence protein) const

◆ SequenceIdentity_()

static double SequenceIdentity_ ( const String decoy,
const String target 
)
staticprivate

◆ setSeed()

void setSeed ( UInt64  seed)

◆ shufflePeptides()

AASequence shufflePeptides ( const AASequence aas,
const String protease,
const int  max_attempts = 100 
)

Member Data Documentation

◆ shuffler_

Math::RandomShuffler shuffler_
private