embcons.c


Function embConsCalc

Calculates a consensus.

Synopsis

Prototype

void embConsCalc (
      const AjPSeqset seqset,
      const AjPMatrix cmpmatrix,
      ajint nseqs,
      ajint mlen,
      float fplural,
      float setcase,
      ajint identity,
      AjBool gaps,
      AjPStr* cons
);

Input

seqset:(Input)multiple alignment
cmpmatrix:(Input)comparison scoring matrix
nseqs:(Input)number of sequences in alignment
mlen:(Input)length of alignment
fplural:(Input)no. of +ve scoring matches below which there is no consensus
setcase:(Input)case set if score above/below +ve matching threshold
identity:(Input)number of identical symbols required for consesnsus
gaps:(Input)Allow gap characters in the consensus

Output

cons:(Output)the created consensus sequence

Returns

void:No return value

Description

Calculates a consensus.

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 3.0.0