|
| | SeedHandlerExplicit (const InteractionEnergy &energy, const SeedConstraint &seedConstraint) |
| |
| virtual | ~SeedHandlerExplicit () |
| |
| virtual size_t | fillSeed (const size_t i1, const size_t j1, const size_t i2, const size_t j2) |
| |
| virtual void | traceBackSeed (Interaction &interaction, const size_t i1, const size_t i2) const |
| |
| virtual E_type | getSeedE (const size_t i1, const size_t i2) const |
| |
| virtual bool | isSeedBound (const size_t i1, const size_t i2) const |
| |
| virtual size_t | getSeedLength1 (const size_t i1, const size_t i2) const |
| |
| virtual size_t | getSeedLength2 (const size_t i1, const size_t i2) const |
| |
| virtual bool | updateToNextSeed (size_t &i1, size_t &i2, const size_t i1min=0, const size_t i1max=RnaSequence::lastPos, const size_t i2min=0, const size_t i2max=RnaSequence::lastPos) const |
| |
Public Member Functions inherited from IntaRNA::SeedHandler |
| | SeedHandler (const InteractionEnergy &energy, const SeedConstraint &seedConstraint) |
| |
| virtual | ~SeedHandler () |
| |
| virtual const SeedConstraint & | getConstraint () const |
| |
| virtual const InteractionEnergy & | getInteractionEnergy () const |
| |
| virtual void | addSeeds (Interaction &i) const |
| |
| virtual bool | areLoopOverlapping (const size_t i1, const size_t i2, const size_t k1, const size_t k2) const |
| |
| virtual bool | isFeasibleSeedBasePair (const size_t i1, const size_t i2, const bool atEndOfSeed=false) const |
| |
Enables the explicit definition of possible seed interactions.
Only the provided seeds will be considered for interaction prediction.
| virtual bool IntaRNA::SeedHandlerExplicit::updateToNextSeed |
( |
size_t & |
i1, |
|
|
size_t & |
i2, |
|
|
const size_t |
i1min = 0, |
|
|
const size_t |
i1max = RnaSequence::lastPos, |
|
|
const size_t |
i2min = 0, |
|
|
const size_t |
i2max = RnaSequence::lastPos |
|
) |
| const |
|
virtual |
Replace the input variables i1 and i2 to values to within the given range that correspond to
- the first seed (if the given index pair is no valid seed start or one of the indices is out of range bounds)
- the next seed according to some seed order
The indices are not updated if the last seed within the range is given or no seed within the range could be found. It returns whether or not the input variables have been updated.
Note, if changed, only the seed left-most base pair is within the range but the full seed indices might exceed i1max or i2max.
- Parameters
-
| i1 | seq1 seed index to be changed |
| i2 | seq2 seed index to be changed |
| i1min | first position within seq1 (inclusive) |
| i1max | last position within seq1 (inclusive) |
| i2min | first position within seq2 (inclusive) |
| i2max | last position within seq2 (inclusive) |
- Returns
- true if the input variables have been changed; false otherwise
Reimplemented from IntaRNA::SeedHandler.