RNAlib-2.2.7
|
Functions to process, convert, and generally handle different nucleotide and/or base pair alphabets. More...
Go to the source code of this file.
Functions | |
char * | vrna_ptypes (const short *S, vrna_md_t *md) |
Get an array of the numerical encoding for each possible base pair (i,j) More... | |
short * | vrna_seq_encode (const char *sequence, vrna_md_t *md) |
Get a numerical representation of the nucleotide sequence. | |
short * | vrna_seq_encode_simple (const char *sequence, vrna_md_t *md) |
Get a numerical representation of the nucleotide sequence (simple version) | |
int | vrna_nucleotide_encode (char c, vrna_md_t *md) |
Encode a nucleotide character to numerical value. More... | |
char | vrna_nucleotide_decode (int enc, vrna_md_t *md) |
Decode a numerical representation of a nucleotide back into nucleotide alphabet. More... | |
Functions to process, convert, and generally handle different nucleotide and/or base pair alphabets.
char* vrna_ptypes | ( | const short * | S, |
vrna_md_t * | md | ||
) |
Get an array of the numerical encoding for each possible base pair (i,j)
int vrna_nucleotide_encode | ( | char | c, |
vrna_md_t * | md | ||
) |
Encode a nucleotide character to numerical value.
This function encodes a nucleotide character to its numerical representation as required by many functions in RNAlib.
c | The nucleotide character to encode |
md | The model details that determine the kind of encoding |
char vrna_nucleotide_decode | ( | int | enc, |
vrna_md_t * | md | ||
) |
Decode a numerical representation of a nucleotide back into nucleotide alphabet.
This function decodes a numerical representation of a nucleotide character back into nucleotide alphabet
enc | The encoded nucleotide |
md | The model details that determine the kind of decoding |