INNER CODE UNIT · Python

distill

BortonWrightonLabs/DRAM · bin/distill.py:219

def distill(
    input_file,
    trna_path=None,
    fasta_column=FASTA_COLUMN,
    distill_topics=None,
    distill_ecosystem=None,
    custom_distillate=None,
    group_column=None,
):
    """Summarize metabolic content of annotated genomes"""

    # read in data
    try:
        annotations = pl.read_csv(
            input_file, separator="\t", infer_schema_length=10_000
        )
    except Exception:
        annotations = pl.read_csv(input_file, separator="\t", infer_schema_length=None)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…