libuproc
1.2.0
|
Module: Amino acid substitution matrix. More...
#include <stdio.h>
#include <stdarg.h>
#include "uproc/common.h"
#include "uproc/io.h"
#include "uproc/alphabet.h"
Go to the source code of this file.
Functions | |
uproc_substmat * | uproc_substmat_create (void) |
Create substmat object. More... | |
void | uproc_substmat_destroy (uproc_substmat *mat) |
Destroy substmat object. More... | |
double | uproc_substmat_get (const uproc_substmat *mat, unsigned pos, uproc_amino x, uproc_amino y) |
Get distance of two amino acids. More... | |
void | uproc_substmat_set (uproc_substmat *mat, unsigned pos, uproc_amino x, uproc_amino y, double dist) |
Set distance of two amino acids. More... | |
void | uproc_substmat_align_suffixes (const uproc_substmat *mat, uproc_suffix s1, uproc_suffix s2, double *dist) |
Look up all distances between amino acids in a suffix. More... | |
uproc_substmat * | uproc_substmat_load (enum uproc_io_type iotype, const char *pathfmt,...) |
Load substmat from file. More... | |
uproc_substmat * | uproc_substmat_loadv (enum uproc_io_type iotype, const char *pathfmt, va_list ap) |
Load substmat from file. More... | |
Module: Amino acid substitution matrix.