INNER CODE UNIT · Python

run

linnabrown/run_dbcan · dbcan/cli/hmmer_parser.py:27

def run(input_file, eval_num=1e-15, coverage=0.35, verbose=False):
    """
    Processes a given input file and returns filtered genomic data.

    This function reads an input file, performs various filtering and processing steps, and returns a string containing the processed data. It uses shell commands for data manipulation and filtering based on specified evaluation number and coverage values.

    Parameters
    ----------
        input_file (str): The path to the input file containing genomic data.
        eval_num (float, optional): The evaluation number threshold for filtering. Defaults to 1e-15.
        coverage (float, optional): The coverage threshold for filtering. Defaults to 0.35.
        verbose (bool, optional): If True, the function will print detailed processing information. Defaults to False.

    Returns
    -------
        str: A string containing the processed data, where each line represents a row of filtered data based on the evaluation number and coverage criteria.

    Side Effects:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…