Functions

viterbi_cops.h File Reference

Functions

int p7_ViterbiCOPS_word (DATA_COPS16 *dcops, SEQ **seqsdb, float *results)
void p7_ViterbiCOPS_word_Setup (DATA_COPS16 *dcops, int maxL, int max_partition)
DATA_COPS16 * p7_ViterbiCOPS_word_Create (P7_PROFILE *gm)
int p7_ViterbiCOPS_float (DATA_COPS32 *dcops, SEQ **seqsdb, float *results)
void p7_ViterbiCOPS_float_Setup (DATA_COPS32 *dcops, int maxL, int max_partition)
DATA_COPS32 * p7_ViterbiCOPS_float_Create (P7_PROFILE *gm)

Detailed Description

ViterbiCOPS public interface


Function Documentation

int p7_ViterbiCOPS_float ( DATA_COPS32 *  dcops,
SEQ **  seqsdb,
float *  results 
)

COPS processing function. Executes Viterbi algorithm on the 4-sequence batch

  • COPS data
  • Array with 4 sequences to score
  • Result array with 4 float values [out]
DATA_COPS32* p7_ViterbiCOPS_float_Create ( P7_PROFILE *  gm  ) 

Create COPS data structure for the 32-bit float implementation

  • A valid P7_PROFILE
void p7_ViterbiCOPS_float_Setup ( DATA_COPS32 *  dcops,
int  maxL,
int  max_partition 
)

Setup COPS. Needs to be called before calling the processing function

  • COPS data
  • Estimate of the maximum Sequences' length. Used to optimize the memory allocation. Defaults to 1000
  • Maximum partition length allowed. Must be a multiple of 4. Defaults to 120
int p7_ViterbiCOPS_word ( DATA_COPS16 *  dcops,
SEQ **  seqsdb,
float *  results 
)

COPS processing function. Executes Viterbi algorithm on the 8-sequence batch

  • COPS data
  • Array with 8 sequences to score
  • Result array with 8 float values [out]
DATA_COPS16* p7_ViterbiCOPS_word_Create ( P7_PROFILE *  gm  ) 

Create COPS data structure for the 16-bit integer implementation

  • A valid P7_PROFILE
void p7_ViterbiCOPS_word_Setup ( DATA_COPS16 *  dcops,
int  maxL,
int  max_partition 
)

Setup COPS. Needs to be called before calling the processing function

  • COPS data
  • Estimate of the maximum Sequences' length. Used to optimize the memory allocation. Defaults to 1000
  • Maximum partition length allowed. Must be a multiple of 8. Defaults to 120
 All Files Functions