IntaRNA 3.4.1
RNA-RNA interaction prediction | C++ API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Friends | List of all members
IntaRNA::HelixConstraint Class Reference

#include <HelixConstraint.h>

Public Member Functions

 HelixConstraint (const size_t minBP, const size_t maxBP, const size_t maxIL, const E_type maxED, const E_type maxE, const bool noED)
 
virtual ~HelixConstraint ()
 
size_t getMinBasePairs () const
 
size_t getMaxBasePairs () const
 
size_t getMaxIL () const
 
E_type getMaxED () const
 
E_type getMaxE () const
 
bool evalFullE () const
 
size_t getMinInternalLoopSize () const
 
size_t getMaxLength1 () const
 
size_t getMaxLength2 () const
 

Protected Attributes

size_t minBP
 the minimal number of base pairs allowed in the helix (>=2)
 
size_t maxBP
 the maximal number of base pairs allowed in the helix (>=maxBP)
 
size_t maxIL
 the maximally allowed size of internal loops in the helix
 
E_type maxED
 the maximal ED value (per sequence) allowed for a helix
 
E_type maxE
 the maximal energie allowed for a helix
 
bool checkFullE
 

Friends

std::ostream & operator<< (std::ostream &out, const HelixConstraint &c)
 

Detailed Description

Encodes helix constraints to be used for interaction prediction.

Author
Rick Gelhausen

Constructor & Destructor Documentation

◆ HelixConstraint()

IntaRNA::HelixConstraint::HelixConstraint ( const size_t  minBP,
const size_t  maxBP,
const size_t  maxIL,
const E_type  maxED,
const E_type  maxE,
const bool  noED 
)
inline

Constructor

Parameters
minBPminimal number of base pairs a helix is allowed to have (>= 2)
maxBPmaximal number of base pairs a helix is allowed to have (>= bpMin)
maxILmaximal size for each internal loop during helix computation
maxEDmaximal allowed energy for ED-values
maxEmaximal allowed energy during helix computation @parem noED whether or not ED values are added in the computation of helices

◆ ~HelixConstraint()

IntaRNA::HelixConstraint::~HelixConstraint ( )
inlinevirtual

Member Function Documentation

◆ evalFullE()

bool IntaRNA::HelixConstraint::evalFullE ( ) const
inline

Whether or not only the full interaction energy (including E_init, ED, dangling end contributions, etc) are to be used for energy check (getMaxE()) or the loop-terms only.

Returns
true if the full helix energy is to be considered

◆ getMaxBasePairs()

size_t IntaRNA::HelixConstraint::getMaxBasePairs ( ) const
inline

Provides the maximum number of base pairs allowed within an helix (>=minBP)

Returns
the maximum number of base pairs an helix is allowed to have (>=maxBP)

◆ getMaxE()

E_type IntaRNA::HelixConstraint::getMaxE ( ) const
inline

Provides the maximally allowed energy for a helix to be considered

Returns
the maximally allowed energy for a helix

◆ getMaxED()

E_type IntaRNA::HelixConstraint::getMaxED ( ) const
inline

Provides the maximally allowed ED value (per sequence) for a helix to be considered

Returns
the maximally allowed ED value (per sequence) for a helix

◆ getMaxIL()

size_t IntaRNA::HelixConstraint::getMaxIL ( ) const
inline

Provides the maximally allowed size of each internal loop considered in an helix

Returns
the maximally allowed size of each internal loop considered in an helix

◆ getMaxLength1()

size_t IntaRNA::HelixConstraint::getMaxLength1 ( ) const
inline

Provides the maximal length of the helix in seq1

Returns
the maximal length of the helix in seq1

◆ getMaxLength2()

size_t IntaRNA::HelixConstraint::getMaxLength2 ( ) const
inline

Provides the maximal length of the helix in seq2

Returns
the maximal length of the helix in seq2

◆ getMinBasePairs()

size_t IntaRNA::HelixConstraint::getMinBasePairs ( ) const
inline

Provides the minimum number of base pairs allowed within an helix (>=2)

Returns
the minimum number of base pairs an helix is allowed to have (>=2)

◆ getMinInternalLoopSize()

size_t IntaRNA::HelixConstraint::getMinInternalLoopSize ( ) const
inline

Provides the minimum interior loop length depending on the maximum allowed number of unpaired bases

Returns
minimum interior loop length

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  out,
const HelixConstraint &  c 
)
friend

Prints the helix constraint details to stream

Parameters
outthe ostream to write to
cthe object to add
Returns
the altered stream out

Member Data Documentation

◆ checkFullE

bool IntaRNA::HelixConstraint::checkFullE
protected

decision variable, whether the full helix energy is to be used for energy checks (true) or the loop-terms only (false)

◆ maxBP

size_t IntaRNA::HelixConstraint::maxBP
protected

the maximal number of base pairs allowed in the helix (>=maxBP)

◆ maxE

E_type IntaRNA::HelixConstraint::maxE
protected

the maximal energie allowed for a helix

◆ maxED

E_type IntaRNA::HelixConstraint::maxED
protected

the maximal ED value (per sequence) allowed for a helix

◆ maxIL

size_t IntaRNA::HelixConstraint::maxIL
protected

the maximally allowed size of internal loops in the helix

◆ minBP

size_t IntaRNA::HelixConstraint::minBP
protected

the minimal number of base pairs allowed in the helix (>=2)


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