struct vrna_move_s

#include <ViennaRNA/neighbor.h>

Overview

An atomic representation of the transition / move from one structure to its neighbor. More…

// fields

int pos_5
int pos_3
vrna_move_t* next

Detailed Documentation

An atomic representation of the transition / move from one structure to its neighbor.

An atomic transition / move may be (a) the insertion of a base pair (both fields are positive), (b) the deletion of a base pair (both fields are negative), or (c) a base pair shift where one position stays constant while the other is allowed to shift along the same loop it resides in (one field position and the other negative, where the positive field indicates the constant position and the absolute value of the negative field is the new position of the pairing partner).

A value of 0 is either field is typically used to indicate the lists last element.

Fields

int pos_5
The 5’ position of a base pair, or any position of a shifted pair
int pos_3
The 3’ position of a base pair, or any position of a shifted pair
vrna_move_t* next
The next base pair (if an elementary move changes more than one base pair) Has to be terminated with move 0,0