SLIKMC  1.0
 All Classes Functions Variables Pages
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
LoopTKSampler Class Reference

LoopTK Configuration Sampling technique. This sampler can be used to sample close-loop chain/subchain conformations. More...

#include <LoopTKSampler.h>

Public Member Functions

 LoopTKSampler (PProtein *chain)
 Construct a LoopTK configuration sampler for specific chain.
 
virtual ~LoopTKSampler ()
 Destructor.
 
void sample (const double time, const int s, const int e, const int num=-1)
 Sample conformations of sub-loop from residue s to residue e. More...
 
double evaluate_log (PProtein *chain)
 Evaluate the chain according to priors. More...
 
void enableBFactors (PProtein *protein=NULL)
 Enable using B-factors as priors. More...
 
void disableBFactors ()
 Disable using B-factors as priors.
 

Static Public Member Functions

static PProtein * perturb (PProtein *chain, const double time, const int s, const int e)
 Perturb a chain segment for some time. More...
 

Private Attributes

BFactorbfactor
 
RamachandranPlot rplot
 
PProtein * chain
 
bool use_BFactor
 

Detailed Description

LoopTK Configuration Sampling technique. This sampler can be used to sample close-loop chain/subchain conformations.

Member Function Documentation

void LoopTKSampler::enableBFactors ( PProtein *  protein = NULL)

Enable using B-factors as priors.

Parameters
proteina protein conformation with desired atom positions
double LoopTKSampler::evaluate_log ( PProtein *  chain)

Evaluate the chain according to priors.

Parameters
chainchain to be evaluated
Returns
probability density in logarithm
PProtein * LoopTKSampler::perturb ( PProtein *  chain,
const double  time,
const int  s,
const int  e 
)
static

Perturb a chain segment for some time.

Parameters
chainthe chain to be perturbed
timetime duration to perturb
sindex of starting residue
eindex of ending residue
Returns
a perturbed chain
void LoopTKSampler::sample ( const double  time,
const int  s,
const int  e,
const int  num = -1 
)

Sample conformations of sub-loop from residue s to residue e.

Parameters
timetime duration to sample
sindex of starting residue
eindex of ending residue
numnumber of top-scores conformations to be saved, by default, save all conformations.

The documentation for this class was generated from the following files: