|
IntaRNA 3.4.1
RNA-RNA interaction prediction | C++ API
|
#include <InteractionEnergyBasePair.h>


Public Member Functions | |
| InteractionEnergyBasePair (const Accessibility &accS1, const ReverseAccessibility &accS2, const size_t maxInternalLoopSize1=16, const size_t maxInternalLoopSize2=16, const bool initES=false, const Z_type RT=Z_type(1.0), const E_type bpEnergy=Ekcal_2_E(-1.0), const size_t minLoopLength=3, const E_type energyAdd=Ekcal_2_E(0.0), const bool energyWithDangles=true, const bool internalLoopGU=true) | |
| virtual | ~InteractionEnergyBasePair () override |
| virtual E_type | getES1 (const size_t i1, const size_t j1) const override |
| virtual E_type | getES2 (const size_t i2, const size_t j2) const override |
| virtual E_type | getE_multiUnpaired (const size_t numUnpaired) const override |
| virtual E_type | getE_multiHelix (const size_t j1, const size_t j2) const override |
| virtual E_type | getE_multiClosing () const override |
| virtual E_type | getE_init () const override |
| virtual E_type | getE_interLeft (const size_t i1, const size_t j1, const size_t i2, const size_t j2) const override |
| virtual E_type | getE_danglingLeft (const size_t i1, const size_t i2) const override |
| virtual E_type | getE_danglingRight (const size_t j1, const size_t j2) const override |
| virtual E_type | getE_endLeft (const size_t i1, const size_t i2) const override |
| virtual E_type | getE_endRight (const size_t j1, const size_t j2) const override |
| virtual Z_type | getRT () const override |
| E_type | getE_basePair () const |
| virtual E_type | getEall1 () const override |
| virtual E_type | getEall2 () const override |
Public Member Functions inherited from IntaRNA::InteractionEnergy | |
| InteractionEnergy (const Accessibility &accS1, const ReverseAccessibility &accS2, const size_t maxInternalLoopSize1, const size_t maxInternalLoopSize2, const E_type energyAdd, const bool energyWithDangle, const bool internalLoopGU) | |
| virtual | ~InteractionEnergy () |
| virtual E_type | getE (const size_t i1, const size_t j1, const size_t i2, const size_t j2, const E_type hybridE) const |
| virtual E_type | getE (const Z_type Z) const |
| virtual EnergyContributions | getE_contributions (const Interaction &interaction) const |
| virtual bool | areComplementary (const size_t i1, const size_t i2) const |
| virtual bool | isGU (const size_t i1, const size_t i2) const |
| virtual size_t | size1 () const |
| virtual size_t | size2 () const |
| virtual E_type | getED1 (const size_t i1, const size_t j1) const |
| virtual E_type | getED2 (const size_t i2, const size_t j2) const |
| virtual bool | isAccessible1 (const size_t i) const |
| virtual bool | isAccessible2 (const size_t i) const |
| virtual E_type | getE_multi (const size_t i1, const size_t j1, const size_t i2, const size_t j2, const ES_multi_mode ES_mode) const |
| virtual Z_type | getPr_danglingLeft (const size_t i1, const size_t j1, const size_t i2, const size_t j2) const |
| virtual Z_type | getPr_danglingRight (const size_t i1, const size_t j1, const size_t i2, const size_t j2) const |
| virtual const Accessibility & | getAccessibility1 () const |
| virtual const ReverseAccessibility & | getAccessibility2 () const |
| const size_t | getMaxInternalLoopSize1 () const |
| const size_t | getMaxInternalLoopSize2 () const |
| virtual Z_type | getBoltzmannWeight (const E_type energy) const |
| virtual Z_type | getBoltzmannWeight (const Z_type energy) const |
| virtual Interaction::BasePair | getBasePair (const size_t i1, const size_t i2) const |
| virtual size_t | getIndex1 (const Interaction::BasePair &bp) const |
| virtual size_t | getIndex2 (const Interaction::BasePair &bp) const |
| virtual E_type | getEnergyAdd () const |
| virtual bool | isValidInternalLoop (const size_t i1, const size_t j1, const size_t i2, const size_t j2) const |
| bool | isInternalLoopGUallowed () const |
Additional Inherited Members | |
Public Types inherited from IntaRNA::InteractionEnergy | |
| enum | ES_multi_mode { ES_multi_1only , ES_multi_2only , ES_multi_both } |
Static Protected Member Functions inherited from IntaRNA::InteractionEnergy | |
| static bool | isAllowedLoopRegion (const RnaSequence &seq, const size_t i, const size_t j, const size_t maxInternalLoopSize) |
Protected Attributes inherited from IntaRNA::InteractionEnergy | |
| const Accessibility & | accS1 |
| accessibility values for sequence S1 | |
| const ReverseAccessibility & | accS2 |
| accessibility values for sequence S2 (reversed index order) | |
| const size_t | maxInternalLoopSize1 |
| const size_t | maxInternalLoopSize2 |
| const E_type | energyAdd |
| user defined shift of the energy spectrum | |
| const bool | energyWithDangles |
| whether or not dangling end energy contributions are to be added | |
| const bool | internalLoopGU |
| whether or not GU base pairs allowed in internal loops | |
Implements a simple energy interface that is based on base pair counts only.
|
inline |
Construct energy utility object given the accessibility ED values for two sequences.
| accS1 | accessibility of the first sequence |
| accS2 | accessibility of the second sequence |
| maxInternalLoopSize1 | maximal number of enclosed unpaired positions between two intermolecular base pairs in sequence 1, ie it holds for an intermolecular loop closed by base pairs (i1,i2) and (j1,j2) : (j1-i1+1) <= maxInternalLoopSize |
| maxInternalLoopSize2 | maximal number of enclosed unpaired positions between two intermolecular base pairs in sequence 2, ie it holds for an intermolecular loop closed by base pairs (i1,i2) and (j1,j2) : (j2-i2+1) <= maxInternalLoopSize |
| initES | whether or not to compute and initialize ES values |
| RT | The energy constant corresponding to temperature |
| bpEnergy | The energy of the basepair |
| minLoopLength | The minimum loop length |
| energyAdd | when computing the overall energy via getE(), this term is always added; thus it defines a shift of the energy spectrum as e.g. needed when computing predictions with accessibility constraints |
| energyWithDangles | whether or not dangling end contributions are considered within overall energies |
| internalLoopGU | whether or not GU base pairs are allowed within internal loops |
|
inlineoverridevirtual |
|
inline |
Provides the (constant) energy contribution of a base pair (sequence independent) for this energy model.
|
inlineoverridevirtual |
Computes the dangling end energy penalty estimate for the left side of an interaction loop region closed on the left by the intermolecular base pair (i1,i2).
This penalty is always zero for this base pair based energy function.
| i1 | the index of the first sequence interacting with i2 |
| i2 | the index of the second sequence interacting with i1 |
Implements IntaRNA::InteractionEnergy.
|
inlineoverridevirtual |
Computes the dangling end energy penalty estimate for the right side of an interaction loop region closed on the right by the intermolecular base pair (j1,j2).
| j1 | the index of the first sequence interacting with j2 |
| j2 | the index of the second sequence interacting with j1 |
Implements IntaRNA::InteractionEnergy.
|
inlineoverridevirtual |
Provides the penalty for closing an interaction with the given base pair on the "left side" (i1 = 5' end of seq1 of the interaction)
| i1 | the index of the first sequence interacting with i2 |
| i2 | the index of the second sequence interacting with i1 |
Implements IntaRNA::InteractionEnergy.
|
inlineoverridevirtual |
Provides the penalty for closing an interaction with the given base pair on the "right side" (j1 = 3' end of seq1 of the interaction)
| j1 | the index of the first sequence interacting with j2 |
| j2 | the index of the second sequence interacting with j1 |
Implements IntaRNA::InteractionEnergy.
|
inlineoverridevirtual |
Provides the duplex initiation energy.
Implements IntaRNA::InteractionEnergy.
|
inlineoverridevirtual |
Computes the energy estimate for the interaction loop region closed by the intermolecular base pairs (i1,i2) and (j1,j2) where the regions [i1,j1] and [i2,j2] are considered unpaired. The energy estimate is the negated number of gained base pairs by closing this loop, i.e. -1 or E_INF is the internal loop size exceeds the allowed maximum (see constructor).
| i1 | the index of the first sequence (<j1) interacting with i2 |
| j1 | the index of the first sequence (>i1) interacting with j2 |
| i2 | the index of the second sequence (<j2) interacting with i1 |
| j2 | the index of the second sequence (>i2) interacting with j1 |
Implements IntaRNA::InteractionEnergy.
|
inlineoverridevirtual |
Provides the energy contribution/penalty for closing an intermolecular multiloop on the left of a multi-site gap.
Implements IntaRNA::InteractionEnergy.
|
inlineoverridevirtual |
Provides the energy contribution/penalty of the helix repesented by the interaction right of a multi-site gap starting with base pair (j1,j2)
| j1 | the end of the gap in seq1, ie the first base paired in the interaction site to the right of the gap |
| j2 | the end of the gap in seq2, ie the first base paired in the interaction site to the right of the gap |
Implements IntaRNA::InteractionEnergy.
|
inlineoverridevirtual |
Provides the energy contribution for a given number of unpaired nucleotides under the assumption that the region is part of an (intermolecular) multiloop.
| numUnpaired | the number of unpaired bases |
Implements IntaRNA::InteractionEnergy.
|
overridevirtual |
Provides the overall ensemble energy for sequence 1 given its accessibility constraints
Implements IntaRNA::InteractionEnergy.
|
overridevirtual |
Provides the overall ensemble energy for sequence 2 given its accessibility constraints
Implements IntaRNA::InteractionEnergy.
|
inlineoverridevirtual |
Provides the ensemble energy (ES) of all intramolecular substructures that can be formed within a given region of sequence 1 under the assumption that the region is part of an (intermolecular) multiloop, i.e. at least one base pair is formed by each substructure.
If no structure can be formed within the region, E_INF is returned.
| i1 | the start of the structured region of seq1 |
| j1 | the end of the structured region of seq1 |
Implements IntaRNA::InteractionEnergy.
|
inlineoverridevirtual |
Provides the ensemble energy (ES) of all intramolecular substructures that can be formed within a given region of sequence 2 under the assumption that the region is part of an (intermolecular) multiloop, i.e. at least one base pair is formed by each substructure.
If no structure can be formed within the region, E_INF is returned.
| i2 | the start of the structured region of seq2 |
| j2 | the end of the structured region of seq2 |
Implements IntaRNA::InteractionEnergy.
|
inlineoverridevirtual |
Returns always RT=1 due to the lack of reasonable values for this energy function.
Implements IntaRNA::InteractionEnergy.