website/archive/binaries/mac/src/clustalo/src/clustal-omega.c
/**
 * @brief Set some options automatically based on number of sequences. Might
 * overwrite some user-set options.
 *
 * @param[out] prOpts
 * Pointer to alignment options structure
 * @param[in] iNumSeq
 * Number of sequences to align
 */
@brief Set some options automatically based on number of sequences. Might
overwrite some user-set options.

@param[out] prOpts
Pointer to alignment options structure
@param[in] iNumSeq
Number of sequences to align
@brief Set some options automatically based on number of sequences . Might overwrite some user - set options . @param [ out ] prOpts Pointer to alignment options structure @param [ in ] iNumSeq Number of sequences to align
void
SetAutoOptions(opts_t *prOpts, int iNumSeq) {
    Log(&rLog, LOG_INFO,
        "Setting options automatically based on input sequence characteristics (might overwrite some of your options).");
    if (FALSE == prOpts->bUseMbed) {
        Log(&rLog, LOG_INFO, "Auto settings: Enabling mBed.");
        prOpts->bUseMbed = TRUE;
    }
    if (iNumSeq >= 1000) {
        if (0 != prOpts->iNumIterations) {
            Log(&rLog, LOG_INFO, "Auto settings: Disabling iterations.");
            prOpts->iNumIterations = 0;
        }
    } else if (iNumSeq < 1000) {
        if (1 != prOpts->iNumIterations) {
            Log(&rLog, LOG_INFO, "Auto settings: Setting iteration to 1.");
            prOpts->iNumIterations = 1;
        }        
    }
}
void SetAutoOptions ( opts_t * prOpts , int iNumSeq ) { Log ( & rLog , LOG_INFO , " " ) ; if ( FALSE == prOpts -> bUseMbed ) { Log ( & rLog , LOG_INFO , " " ) ; prOpts -> bUseMbed = TRUE ; } if ( iNumSeq >= 1000 ) { if ( 0 != prOpts -> iNumIterations ) { Log ( & rLog , LOG_INFO , " " ) ; prOpts -> iNumIterations = 0 ; } } else if ( iNumSeq < 1000 ) { if ( 1 != prOpts -> iNumIterations ) { Log ( & rLog , LOG_INFO , " " ) ; prOpts -> iNumIterations = 1 ; } } }
@brief Set some options automatically based on number of sequences.
@brief Set some options automatically based on number of sequences .
/* AW: new version of mbed is always good (uses subclusters) */