OpenMS  2.6.0
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
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)
 

Private Member Functions

template<class RandomAccessIterator >
void shuffle_ (RandomAccessIterator first, RandomAccessIterator last)
 

Static Private Member Functions

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

Private Attributes

boost::mt19937_64 rng_
 

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)

◆ shuffle_()

void shuffle_ ( RandomAccessIterator  first,
RandomAccessIterator  last 
)
inlineprivate

◆ shufflePeptides()

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

Member Data Documentation

◆ rng_

boost::mt19937_64 rng_
private