Python API¶
Main public modules:
trait2gene.configtrait2gene.pipelinetrait2gene.cli
Core functions¶
from trait2gene.config import load_config, validate_config, write_template
from trait2gene.pipeline import build_stage_plan, materialize_run
Use these functions when you want the same behavior as the CLI from Python.