# Germinal
Hunt for epitope-targeted VHH designs by hallucination, co-folding and antibody-aware sequence design.
- Job type: `GERMINAL`
- Task: Binder design
- Price: 10 credits per accepted design
- Workload: Holds a GPU until enough designs pass, often for hours; the count you ask for is a budget, not a batch size.
- Automatic routing: Germinal is the experimentally validated VHH path and needs only a target and an epitope.
- Behavior and limits: Roughly one GPU-hour per accepted design. Ask for few designs first; `max_passing_designs` is a budget, not a batch size.
- Hotspot input: `params.hotspots`, author numbered
- Source: pending
- Paper: citation pending

## Example

### CLI

```bash
phi jobs submit GERMINAL \
  --input target_pdb=@target.pdb \
  --input target_chain_id=A \
  --param hotspots=A150,A154,A156 \
  --param max_passing_designs=1 \
  --param max_trajectories=15 \
  --param structure_model=chai \
  --wait --out out
```

### Python

```python
from phi import PhiClient

with PhiClient() as phi:
    target_pdb = phi.files.upload(path="target.pdb")
    job = phi.jobs.submit(
        "GERMINAL",
        inputs={
        "target_pdb_gcs_uri": target_pdb,
        "target_chain_id": "A"
        },
        params={
        "hotspots": [
                "A150",
                "A154",
                "A156"
        ],
        "max_passing_designs": 1,
        "max_trajectories": 15,
        "structure_model": "chai"
        },
    )
    print(phi.jobs.wait(job.job_id).status)
```

### HTTP

```bash
curl -X POST https://api.dynophi.com/v1/jobs \
  -H "x-api-key: $PHI_KEY" -H "content-type: application/json" \
  -d '{
  "job_type": "GERMINAL",
  "inputs": {
    "target_pdb_gcs_uri": "<gs:// uri from POST /v1/uploads/url>",
    "target_chain_id": "A"
  },
  "params": {
    "hotspots": [
      "A150",
      "A154",
      "A156"
    ],
    "max_passing_designs": 1,
    "max_trajectories": 15,
    "structure_model": "chai"
  }
}'
```

## Parameters

| Name | Type | Default | Description |
|---|---|---|---|
| `gpu` | string one of a100, t4, a100_80gb, h100, a100_or_h100, a100_80gb_or_h100, a100_preferred, h100_preferred | `null` | Per-job GPU class override. |
| `binder_type` | string | `"vhh"` | Antibody format to design. Only 'vhh' (nanobody) is supported: it is the format Germinal validated experimentally, and the upstream scFv configs and filters are still preliminary. |
| `ablm_model` | string one of ablang, iglm | `"ablang"` | Antibody language model that steers hallucination. 'ablang' is the default; 'iglm' selects the paper LM. |
| `iglm_species` | string one of [CAMEL], [HUMAN], [MOUSE], [RABBIT], [RAT], [RHESUS] | `"[HUMAN]"` | IgLM species token (ignored when ablm_model is ablang). |
| `structure_model` (essential) | string one of chai, opendde, protenix | `"chai"` | In-loop cofold used by Germinal's accept/reject filters. 'chai' (default), 'opendde' (Phi's opendde-abag checkpoint), or 'protenix' (Phi's protenix-v2 checkpoint). OpenDDE emits residue-level confidence data and uses binder-local confidence thresholds; Chai and Protenix use the AF3-calibrated vhh preset. |
| `max_passing_designs` (essential) | integer | `1` | Accepted designs to hunt for before the job stops (Germinal max_passing_designs). Each one costs roughly a GPU-hour. |
| `max_trajectories` (essential) | integer | `15` | Hard cap on hallucination attempts, so an unlucky epitope cannot burn the whole timeout with zero accepted designs. Germinal's own default (10000) is unbounded for a billed job. |
| `hotspots` (essential) | list of string |  | Target epitope hotspot residue IDs (max 12), e.g. ['A37','A39']. Empty lets Germinal pick a site; 3-8 residues is the usual spec. |
| `omit_aas` | string | `"C"` | Amino acids excluded from the design (omit_AAs). |
| `cdr_lengths` | list of integer |  | CDR1/CDR2/CDR3 lengths. Defaults describe the bundled VHH framework; set these only alongside a custom framework_pdb. |
| `fw_lengths` | list of integer |  | The four framework-region lengths. Defaults describe the bundled VHH framework; set these only alongside a custom framework_pdb. |
| `weights_plddt` | number | `1` | Hallucination pLDDT loss weight. |
| `weights_iptm` | number | `0.75` | Hallucination ipTM loss weight. |
| `weights_pae_inter` | number | `0.5` | Hallucination inter-chain PAE loss weight. |
| `weights_helix` | number | `0.1` | Hallucination helix loss weight. |
| `weights_beta` | number | `0.2` | Hallucination beta-strand loss weight. |
| `pregenerate_seeds` | boolean | `false` | Draw the per-trajectory seeds up front from a fixed root seed, making the seed sequence reproducible across runs. Germinal fixes that root seed itself, so there is no per-job seed value to pass. |

## Inputs

| Name | Type | Default | Description |
|---|---|---|---|
| `target_pdb` | string | `null` | Target structure as base64-encoded PDB (CIF is auto-converted). Provide this or target_pdb_gcs_uri. |
| `target_pdb_gcs_uri` (essential) | string | `null` | gs:// URI to the target PDB. Provide this or target_pdb. |
| `target_chain_id` (essential) | string | `"A"` | Chain ID of the target in the structure. |
| `framework_pdb` | string | `null` | Antibody framework scaffold as base64-encoded PDB, with the framework in chain A. Omit to design onto Germinal's bundled generic VHH framework. Provide this or framework_pdb_gcs_uri. |
| `framework_pdb_gcs_uri` | string | `null` | gs:// URI to the framework PDB. Provide this or framework_pdb. |

---
Source: https://dynophi.com/docs/models/GERMINAL. From the live API schema and phi-api's model catalog, 2026-11-23.