def evaluate_min_coverage(coverage_opt, assembly_coverage, assembly_size):
if coverage_opt == "<STR_LIT>":<EOL><INDENT>min_coverage = (assembly_coverage / assembly_size) * <NUM_LIT><EOL>logger.info("<STR_LIT>"<EOL>"<STR_LIT:{}>".format(min_coverage))<EOL>if min_coverage < <NUM_LIT:10>:<EOL><INDENT>logger.info("<STR_LIT>"<EOL>"<STR_LIT>")<EOL>min_coverage = <NUM_LIT:10><EOL><DEDENT><DEDENT>else:<EOL><INDENT>min_coverage = int(coverage_opt)<EOL>logger.info("<STR_LIT>".format(<EOL>min_coverage))<EOL><DEDENT>return min_coverage<EOL>
Evaluates the minimum coverage threshold from the value provided in
    the coverage_opt.

    Parameters
    ----------
    coverage_opt : str or int or float
        If set to "auto" it will try to automatically determine the coverage
        to 1/3 of the assembly size, to a minimum value of 10. If it set
        to a int or float, the specified value will be used.
    assembly_coverage : int or float
        The average assembly coverage for a genome assembly. This value
        is retrieved by the `:py:func:parse_coverage_table` function.
    assembly_size : int
        The size of the genome assembly. This value is retrieved by the
        `py:func:get_assembly_size` function.

    Returns
    -------
    x: int
        Minimum coverage threshold.