bio-interdomain-hgtlisted
Install: claude install-skill fmschulz/omics-skills
# Bio Interdomain HGT
Detect, polarize, and confirm horizontal gene transfer between a query genome
(virus, MAG, isolate, or bin) and other domains of life. Built for the common
asymmetric case where the query is well annotated but the comparison set is
genome-only (proteins missing). Pairs with `/bio-annotation` (homology/taxonomy),
the [phylogenomics page](../omics-pipeline/references/phylogenomics.md)
(trees), and `/bio-viromics` (viral classification). Shared pipeline
rules: read `~/.agents/skills/omics-pipeline/SKILL.md` first (in a plugin install,
`../omics-pipeline/SKILL.md` from this file).
## Instructions
Run the steps in order; capture outputs and provenance at each step. Steps 0
(database gate) and 5 (frame-aware context guard on eukaryotic DNA) are the ones
most often skipped and most often responsible for wrong conclusions. They are
below. Steps 1-4 and 6-8 (hypotheses, forward search, reciprocal classification,
direction, deep homology, gene trees, integration) are in
[references/workflow.md](references/workflow.md); read it after Step 0.
Give every search and tree step an explicit thread count (`diamond --threads`,
`iqtree3 -T`, `mafft --thread`).
After Steps 0-7 have produced their normalized TSVs, apply the evidence gates with
the driver. `RUN_DIR` is the run directory that `bioinformatics-project` defines
(`results/<date>_<name>/`):
```bash
uv run --script ~/.agents/skills/bio-interdomain-hgt/scripts/run_hgt_evidence.py \
forward_hits.tsv --arbiter-h