Clustal Omega  1.2.4
Functions
pair_dist.c File Reference
#include <stdlib.h>
#include <ctype.h>
#include <assert.h>
#include <time.h>
#include "clustal-omega.h"
#include "ktuple_pair.h"
#include "pair_dist.h"
#include "progress.h"
#include "util.h"
Include dependency graph for pair_dist.c:

Functions

int PairDistances (symmatrix_t **distmat, mseq_t *mseq, int pairdist_type, bool bPercID, int istart, const unsigned long int iend, int jstart, const unsigned long int jend, char *fdist_in, char *fdist_out)
 compute or read precomputed distances for given sequences More...
 

Function Documentation

§ PairDistances()

int PairDistances ( symmatrix_t **  distmat,
mseq_t mseq,
int  pairdist_type,
bool  bPercID,
int  istart,
const unsigned long int  iend,
int  jstart,
const unsigned long int  jend,
char *  fdist_in,
char *  fdist_out 
)

compute or read precomputed distances for given sequences

Parameters
[out]distmatDistances will be written to this matrix. will be allocated here as well. Caller must free with FreeSymMatrix()
[in]mseqDistances will be computed for these sequences
[in]pairdist_typeType of pairwise distance comparison
[in]fdist_inIf not NULL, sequences will be written from this file instead of computing them
[in]istartCompute distances for sequences i:j, i>=istart, i<j. Usually 0.
[in]iendCompute distances for sequences i:j, i<iend, i<j usually="" mseq->="">nseqs.
[in]jstartCompute distances for sequences i:j, j>=jstart, i<j Usually 0.
[in]jendCompute distances for sequences i:j, j<iend, i<j usually="" mseq->="">nseqs.
[in]fdist_outIf not NULL, distances will be written to this files