embcons.c
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
);
Type | Name | Read/Write | Description |
const AjPSeqset | seqset | Input | multiple alignment |
const AjPMatrix | cmpmatrix | Input | comparison scoring matrix |
ajint | nseqs | Input | number of sequences in alignment |
ajint | mlen | Input | length of alignment |
float | fplural | Input | no. of +ve scoring matches below which
there is no consensus |
float | setcase | Input | case set if score above/below +ve matching
threshold |
ajint | identity | Input | number of identical symbols required
for consesnsus |
AjBool | gaps | Input | Allow gap characters in the consensus |
AjPStr* | cons | Output | the created consensus sequence |
void | | RETURN | |
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
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 6.4.0