1 #ifndef VIENNA_RNA_PACKAGE_ALPHABET_H 2 #define VIENNA_RNA_PACKAGE_ALPHABET_H 5 #define VRNA_BACKWARD_COMPAT 7 #ifdef VRNA_WARN_DEPRECATED 9 # define DEPRECATED(func) func __attribute__ ((deprecated)) 11 # define DEPRECATED(func) func 14 # define DEPRECATED(func) func 31 unsigned int vrna_sequence_length_max(
unsigned int options);
34 int vrna_nucleotide_IUPAC_identity(
char a,
39 unsigned int options);
101 void vrna_aln_encode(
const char *sequence,
114 #ifdef VRNA_BACKWARD_COMPAT 116 DEPRECATED(
char *get_ptypes(
const short *S,
118 unsigned int idx_type));
char vrna_nucleotide_decode(int enc, vrna_md_t *md)
Decode a numerical representation of a nucleotide back into nucleotide alphabet.
The most basic data structure required by many functions throughout the RNAlib.
Definition: data_structures.h:463
The model details data structure and its corresponding modifiers.
short * vrna_seq_encode_simple(const char *sequence, vrna_md_t *md)
Get a numerical representation of the nucleotide sequence (simple version)
short * vrna_seq_encode(const char *sequence, vrna_md_t *md)
Get a numerical representation of the nucleotide sequence.
The data structure that contains the complete model details used throughout the calculations.
Definition: model.h:189
int vrna_nucleotide_encode(char c, vrna_md_t *md)
Encode a nucleotide character to numerical value.
char * vrna_ptypes(const short *S, vrna_md_t *md)
Get an array of the numerical encoding for each possible base pair (i,j)