deps/kb_meme/meme-5.0.1/src/tomtom.c
/**************************************************************************
 * Create a new query-target alignment object.
 * Initially, there is no q-value.
 **************************************************************************/
Create a new query-target alignment object.
Initially, there is no q-value.
Create a new query - target alignment object . Initially there is no q - value .
TOMTOM_MATCH_T* new_tomtom_match (MOTIF_DB_T *target_db, MOTIF_T *target,
    MOTIF_T *original, int offset, int overlap, double pvalue, double evalue) {
  TOMTOM_MATCH_T *match;
  match = mm_malloc(sizeof(TOMTOM_MATCH_T));
  match->db = target_db;
  match->target = target;
  match->original = original;
  match->offset = offset;
  match->overlap = overlap;
  match->pvalue = pvalue;
  match->evalue = evalue;
  match->qvalue = 1.0;
  return match;
}
TOMTOM_MATCH_T * new_tomtom_match ( MOTIF_DB_T * target_db , MOTIF_T * target , MOTIF_T * original , int offset , int overlap , double pvalue , double evalue ) { TOMTOM_MATCH_T * match ; match = mm_malloc ( sizeof ( TOMTOM_MATCH_T ) ) ; match -> db = target_db ; match -> target = target ; match -> original = original ; match -> offset = offset ; match -> overlap = overlap ; match -> pvalue = pvalue ; match -> evalue = evalue ; match -> qvalue = 1.0 ; return match ; }
Create a new query-target alignment object.
Create a new query - target alignment object .