RNAlib-2.4.14
|
|
Functions | |
short * | vrna_ptable (const char *structure) |
Create a pair table from a dot-bracket notation of a secondary structure. More... | |
short * | vrna_ptable_from_string (const char *string, unsigned int options) |
Create a pair table for a secondary structure string. More... | |
short * | vrna_pt_pk_get (const char *structure) |
Create a pair table of a secondary structure (pseudo-knot version) More... | |
short * | vrna_ptable_copy (const short *pt) |
Get an exact copy of a pair table. More... | |
short * | vrna_pt_ali_get (const char *structure) |
Create a pair table of a secondary structure (snoop align version) | |
short * | vrna_pt_snoop_get (const char *structure) |
Create a pair table of a secondary structure (snoop version) More... | |
short * | vrna_pt_pk_remove (const short *ptable, unsigned int options) |
Remove pseudo-knots from a pair table. More... | |
short* vrna_ptable | ( | const char * | structure | ) |
#include <ViennaRNA/utils/structures.h>
Create a pair table from a dot-bracket notation of a secondary structure.
Returns a newly allocated table, such that table[i]=j if (i.j) pair or 0 if i is unpaired, table[0] contains the length of the structure.
structure | The secondary structure in dot-bracket notation |
short* vrna_ptable_from_string | ( | const char * | string, |
unsigned int | options | ||
) |
#include <ViennaRNA/utils/structures.h>
Create a pair table for a secondary structure string.
This function takes an input string of a secondary structure annotation in Dot-Bracket Notation (a.k.a. Dot-Parenthesis Notation) or Extended Dot-Bracket Notation, and converts it into a pair table representation.
options
.string | Secondary structure in Extended Dot-Bracket Notation |
options | A bitmask to specify which brackets are recognized during conversion to pair table |
short* vrna_pt_pk_get | ( | const char * | structure | ) |
#include <ViennaRNA/utils/structures.h>
Create a pair table of a secondary structure (pseudo-knot version)
Returns a newly allocated table, such that table[i]=j if (i.j) pair or 0 if i is unpaired, table[0] contains the length of the structure.
In contrast to vrna_ptable() this function also recognizes the base pairs denoted by '[' and ']' brackets. Thus, this function behaves like
structure | The secondary structure in (extended) dot-bracket notation |
short* vrna_ptable_copy | ( | const short * | pt | ) |
#include <ViennaRNA/utils/structures.h>
Get an exact copy of a pair table.
pt | The pair table to be copied |
short* vrna_pt_snoop_get | ( | const char * | structure | ) |
#include <ViennaRNA/utils/structures.h>
Create a pair table of a secondary structure (snoop version)
returns a newly allocated table, such that: table[i]=j if (i.j) pair or 0 if i is unpaired, table[0] contains the length of the structure. The special pseudoknotted H/ACA-mRNA structure is taken into account.
short* vrna_pt_pk_remove | ( | const short * | ptable, |
unsigned int | options | ||
) |
#include <ViennaRNA/utils/structures.h>
Remove pseudo-knots from a pair table.
This function removes pseudo-knots from an input structure by determining the minimum number of base pairs that need to be removed to make the structure pseudo-knot free.
To accomplish that, we use a dynamic programming algorithm similar to the Nussinov maxmimum matching approach.
ptable | Input structure that may include pseudo-knots |
options |