deps/kb_meme/meme-5.0.1/src/momo-motifx.c
/**
 * Delete the active sequences and turn the inactive sequences to inactive.
 */
Delete the active sequences and turn the inactive sequences to inactive.
Delete the active sequences and turn the inactive sequences to inactive .
void delete_sequences(MOTIFX_STATUS_T** status_list, int size) {
  int i;
  for (i = 0; i < size; ++i) {
    MOTIFX_STATUS_T status = (*status_list)[i];
    if (status == ACTIVE) {
      (*status_list)[i] = DELETED;
    } else if (status == INACTIVE) {
      (*status_list)[i] = ACTIVE;
    }
  }
}
void delete_sequences ( MOTIFX_STATUS_T * * status_list , int size ) { int i ; for ( i = 0 ; i < size ; ++ i ) { MOTIFX_STATUS_T status = ( * status_list ) [ i ] ; if ( status == ACTIVE ) { ( * status_list ) [ i ] = DELETED ; } else if ( status == INACTIVE ) { ( * status_list ) [ i ] = ACTIVE ; } } }
Delete the active sequences and turn the inactive sequences to inactive.
Delete the active sequences and turn the inactive sequences to inactive .