# Proteina-Complexa
Co-design protein-binder sequences and all-atom complexes with Proteina-Complexa.
- Job type: `PROTEINA_COMPLEXA`
- Task: Binder design
- Price: 10 credits per 100 designs
- Workload: A fixed number of designs; time scales with the count.
- Behavior and limits: Runs single-pass generation only. Complexa-specific inference-time search, reward models, ligand design and AME are not exposed.
- Hotspot input: `params.hotspots`, author numbered
- Source: NVIDIA (https://github.com/NVIDIA-BioNeMo/Proteina-Complexa)
- Paper: Didi, Zhang, Zhou, Reidenbach et al., Scaling atomistic protein binder design with generative pretraining and test-time compute. ICLR 2026. doi:10.48550/arXiv.2603.27950

## Example

### CLI

```bash
phi jobs submit PROTEINA_COMPLEXA \
  --input target_cif=@target.cif \
  --input target_pdb=@target.pdb \
  --input target_chain_id=A \
  --param num_designs=40 \
  --param binder_length_min=1 \
  --param binder_length_max=1 \
  --param hotspots=A150,A154,A156 \
  --wait --out out
```

### Python

```python
from phi import PhiClient

with PhiClient() as phi:
    target_cif = phi.files.upload(path="target.cif")
    target_pdb = phi.files.upload(path="target.pdb")
    job = phi.jobs.submit(
        "PROTEINA_COMPLEXA",
        inputs={
        "target_cif_gcs_uri": target_cif,
        "target_pdb_gcs_uri": target_pdb,
        "target_chain_id": "A"
        },
        params={
        "num_designs": 40,
        "binder_length_min": 1,
        "binder_length_max": 1,
        "hotspots": [
                "A150",
                "A154",
                "A156"
        ]
        },
    )
    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": "PROTEINA_COMPLEXA",
  "inputs": {
    "target_cif_gcs_uri": "<gs:// uri from POST /v1/uploads/url>",
    "target_pdb_gcs_uri": "<gs:// uri from POST /v1/uploads/url>",
    "target_chain_id": "A"
  },
  "params": {
    "num_designs": 40,
    "binder_length_min": 1,
    "binder_length_max": 1,
    "hotspots": [
      "A150",
      "A154",
      "A156"
    ]
  }
}'
```

## 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. |
| `num_designs` (essential) | integer | `40` | Number of all-atom binder-target complexes to generate. |
| `binder_length_min` (essential) | integer |  | Minimum designed binder length. Required for custom targets. |
| `binder_length_max` (essential) | integer |  | Maximum designed binder length. Required for custom targets. |
| `hotspots` (essential) | list of string |  | Optional target hotspot residues in author numbering, e.g. ['A56', 'B115']. |
| `seed` | integer | `null` | Random seed. Unset derives a retry-stable seed from the run ID. |
| `num_steps` (essential) | integer | `400` | Flow-matching integration steps. Complexa's upstream default is 400. |
| `batch_size` | integer | `8` | Designs generated per GPU batch (maximum 8). |

## Inputs

| Name | Type | Default | Description |
|---|---|---|---|
| `target_chain_id` (essential) | string | `"A"` | Auth chain ID(s) of the target in the structure. A single chain ('A') or a comma-separated list ('V,W') for a multi-chain target. Omit when target_crop names the chains. |
| `target_crop` (essential) | string | `null` | Target crop range(s) in unambiguous 'Chain:Start-End' format ('A7:17-209'), comma-separated per chain for multi-chain targets. Legacy forms such as 'V14-107,W14-107' remain accepted. Omit to use the full target chain(s). |
| `target_cif` | string | `null` | Target structure as base64-encoded CIF (preferred). Falls back to target_cif_gcs_uri, then target_pdb / target_pdb_gcs_uri. |
| `target_cif_gcs_uri` (essential) | string | `null` | gs:// URI to the target CIF. |
| `target_pdb` | string | `null` | Target structure as base64-encoded PDB (CIF is auto-converted). |
| `target_pdb_gcs_uri` (essential) | string | `null` | gs:// URI to the target PDB. |

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