# MaSIF-site
Predict which surface patches of a target are likely interaction sites.
- Job type: `MASIF_SITE`
- Task: Analysis
- Price: 1 credit a run
- Behavior and limits: Fetches from RCSB when given only a `pdb_id`. Uses `chain`, not `target_chain_id`.
- Source: LPDI, EPFL (https://github.com/LPDI-EPFL/masif)
- Paper: Gainza et al., Deciphering interaction fingerprints from protein molecular surfaces using geometric deep learning. Nature Methods 2020. doi:10.1038/s41592-019-0666-6

## Example

### CLI

```bash
phi jobs submit MASIF_SITE \
  --input pdb_id=9GH7 \
  --input chain=A \
  --wait --out out
```

### Python

```python
from phi import PhiClient

with PhiClient() as phi:
    job = phi.jobs.submit(
        "MASIF_SITE",
        inputs={
        "pdb_id": "9GH7",
        "chain": "A"
        },
        params={},
    )
    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": "MASIF_SITE",
  "inputs": {
    "pdb_id": "9GH7",
    "chain": "A"
  },
  "params": {}
}'
```

## Parameters



## Inputs

| Name | Type | Default | Description |
|---|---|---|---|
| `pdb_id` (essential) | string |  | 4-character PDB ID naming the target. Upper-cased and used to form PPI_PAIR_ID = {PDB}_{chain}. When no structure is uploaded, the runner downloads this entry from RCSB. |
| `chain` (essential) | string |  | Chain ID of the target within the structure. |
| `target_pdb` | string | `null` | Target structure as base64-encoded PDB. Provide this or target_pdb_gcs_uri to predict on a custom structure instead of the RCSB entry. |
| `target_pdb_gcs_uri` | string | `null` | gs:// URI to the target PDB. Provide this or target_pdb. |

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