embcons.c


Function embConsCalc

Calculates a consensus.

Prototype

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

TypeNameRead/WriteDescription
const AjPSeqsetseqsetInputmultiple alignment
const AjPMatrixcmpmatrixInputcomparison scoring matrix
ajintnseqsInputnumber of sequences in alignment
ajintmlenInputlength of alignment
floatfpluralInputno. of +ve scoring matches below which there is no consensus
floatsetcaseInputcase set if score above/below +ve matching threshold
ajintidentityInputnumber of identical symbols required for consesnsus
AjBoolgapsInputAllow gap characters in the consensus
AjPStr*consOutputthe created consensus sequence
void RETURN

From EMBOSS 1.13.0