libuproc  1.2.0
Functions
substmat.h File Reference

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_substmatuproc_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_substmatuproc_substmat_load (enum uproc_io_type iotype, const char *pathfmt,...)
 Load substmat from file. More...
 
uproc_substmatuproc_substmat_loadv (enum uproc_io_type iotype, const char *pathfmt, va_list ap)
 Load substmat from file. More...
 

Detailed Description

Module: Amino acid substitution matrix.