29 #ifndef UPROC_SUBSTMAT_H
30 #define UPROC_SUBSTMAT_H
114 const char *pathfmt, ...);
122 const char *pathfmt, va_list ap);
Module: Amino acid translation alphabets.
void uproc_substmat_destroy(uproc_substmat *mat)
Destroy substmat object.
int uproc_amino
Type to represent one amino acid.
Definition: common.h:52
uproc_substmat * uproc_substmat_load(enum uproc_io_type iotype, const char *pathfmt,...)
Load substmat from file.
Array of matrices of amino acid distances.
uproc_substmat * uproc_substmat_create(void)
Create substmat object.
double uproc_substmat_get(const uproc_substmat *mat, unsigned pos, uproc_amino x, uproc_amino y)
Get distance of two amino acids.
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.
uint_least64_t uproc_suffix
Type for suffixes.
Definition: common.h:84
void uproc_substmat_set(uproc_substmat *mat, unsigned pos, uproc_amino x, uproc_amino y, double dist)
Set distance of two amino acids.
uproc_substmat * uproc_substmat_loadv(enum uproc_io_type iotype, const char *pathfmt, va_list ap)
Load substmat from file.
Module: Common definitions.
uproc_io_type
Underlying stream type.
Definition: io.h:59