X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=binaries%2Fsrc%2FViennaRNA%2Fdoc%2Fhtml%2Fmp_utils.html;h=a522e9ed479666954a6c88cdf9e7b0835c3bea08;hb=ecfc686151bf027d4deb3c7a7510861d35c51730;hp=1e265c3eeb0f524cbd1c0acbc809857d9b5f5b5d;hpb=b4ff3ef8dc5d197f41d83de832e94e3b45a5c12e;p=jabaws.git diff --git a/binaries/src/ViennaRNA/doc/html/mp_utils.html b/binaries/src/ViennaRNA/doc/html/mp_utils.html index 1e265c3..a522e9e 100644 --- a/binaries/src/ViennaRNA/doc/html/mp_utils.html +++ b/binaries/src/ViennaRNA/doc/html/mp_utils.html @@ -2,64 +2,68 @@ - RNAlib-2.1.2: Utilities - Odds and Ends - - - - - - - + -
-
- - - - - - -
-
RNAlib-2.1.2 -
-
-
- - -

Calculate hamming distance between two sequences.

+
+void str_DNA2RNA(char *sequence);
+

Convert a DNA input sequence to RNA alphabet.

+
+void str_uppercase(char *sequence);
+

Convert an input sequence to uppercase.


Table of Contents
-

-RNA secondary structure related utilities

-
char *pack_structure (const char *struc)
-

Pack secondary secondary structure, 5:1 compression using base 3 encoding.

-
char *unpack_structure (const char *packed)
-

Unpack secondary structure previously packed with pack_structure()

-
short *make_pair_table (const char *structure)
-

Create a pair table of a secondary structure.

-
short *copy_pair_table (const short *pt)
-

Get an exact copy of a pair table.

+

+RNA secondary structure related utilities

+
+char *pack_structure (const char *struc)
+

Pack secondary secondary structure, 5:1 compression using base 3 encoding.

+
+char *unpack_structure (const char *packed)
+

Unpack secondary structure previously packed with pack_structure().

+
+short *make_pair_table (const char *structure)
+

Create a pair table of a secondary structure.

+
+short *copy_pair_table (const short *pt)
+

Get an exact copy of a pair table.


Table of Contents
-

-Miscellaneous Utilities

-
void print_tty_input_seq (void)
-

Print a line to stdout that asks for an input sequence.

-
void print_tty_constraint_full (void)
-

Print structure constraint characters to stdout (full constraint support)

-
void print_tty_constraint (unsigned int option)
-

Print structure constraint characters to stdout. (constraint support is specified by option parameter)

-
int   *get_iindx (unsigned int length)
-

Get an index mapper array (iindx) for accessing the energy matrices, e.g. in partition function related functions.

-
int   *get_indx (unsigned int length)
-

Get an index mapper array (indx) for accessing the energy matrices, e.g. in MFE related functions.

-
void constrain_ptypes (
+

+Miscellaneous Utilities

+
+void print_tty_input_seq (void)
+

Print a line to stdout that asks for an input sequence.

+
+void print_tty_constraint_full (void)
+

Print structure constraint characters to stdout (full constraint support).

+
+void print_tty_constraint (unsigned int option)
+

Print structure constraint characters to stdout. (constraint support is specified by option parameter).

+
+int   *get_iindx (unsigned int length)
+

Get an index mapper array (iindx) for accessing the energy matrices, e.g. in partition function related functions.

+
+int   *get_indx (unsigned int length)
+

Get an index mapper array (indx) for accessing the energy matrices, e.g. in MFE related functions.

+
+void constrain_ptypes (
                 const char *constraint,
                 unsigned int length,
                 char *ptype,
                 int *BP,
                 int min_loop_size,
                 unsigned int idx_type)
-

Insert constraining pair types according to constraint structure string.

-
char  *get_line(FILE *fp);
-

Read a line of arbitrary length from a stream.

-
unsigned int read_record(
+

Insert constraining pair types according to constraint structure string.

+
+char  *get_line(FILE *fp);
+

Read a line of arbitrary length from a stream.

+
+unsigned int read_record(
                 char **header,
                 char **sequence,
                 char ***rest,
                 unsigned int options);
-

Get a data record from stdin.

-
char  *time_stamp (void)
-

Get a timestamp.

-
void warn_user (const char message[])
-

Print a warning message.

-
void nrerror (const char message[])
-

Die with an error message.

-
void   init_rand (void)
-

Make random number seeds.

-
unsigned short xsubi[3];
-

Current 48 bit random number.

-
double urn (void)
-

get a random number from [0..1]

-
int    int_urn (int from, int to)
-

Generates a pseudo random integer in a specified range.

-
void  *space (unsigned size)
-

Allocate space safely.

-
void  *xrealloc ( void *p,
+

Get a data record from stdin.

+
+char  *time_stamp (void)
+

Get a timestamp.

+
+void warn_user (const char message[])
+

Print a warning message.

+
+void nrerror (const char message[])
+

Die with an error message.

+
+void   init_rand (void)
+

Make random number seeds.

+
+unsigned short xsubi[3];
+

Current 48 bit random number.

+
+double urn (void)
+

get a random number from [0..1]

+
+int    int_urn (int from, int to)
+

Generates a pseudo random integer in a specified range.

+
+void  *space (unsigned size)
+

Allocate space safely.

+
+void  *xrealloc ( void *p,
                   unsigned size)
-

Reallocate space safely.

-
See also:
utils.h for a complete overview and detailed description of the utility functions
+

Reallocate space safely.

+
See also:
utils.h for a complete overview and detailed description of the utility functions

Table of Contents

Next Page: Examples

- - - - +
Generated on 11 Apr 2017 for RNAlib-2.1.2 by  + +doxygen 1.6.1