predict_mhcii
Retrieves MHC-II peptide-binding observations for supplied class-II alleles and peptide lengths via IEDB, returning method and source provenance plus structured failures when sources are unavailable.
Instructions
Get MHC-II peptide-binding observations for supplied class-II alleles and peptide lengths through the configured IEDB connector or an allowed exact fixture. Use for class-II evidence rather than predict_mhci or predict_bcell. LIVE_ONLY requires the live connector; results include method and source provenance, and unavailable sources return a structured failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | No | Caller-chosen identifier linking this call to one research run. | interactive-run |
| alleles | Yes | HLA allele identifiers relevant to the selected MHC class. | |
| methods | No | Named predictor methods to run or replay; availability depends on configuration. | |
| sequence | No | Protein amino-acid sequence without a FASTA header. | |
| proteinRef | No | Stable protein reference or exact fixture key for this prediction. | |
| fallbackPolicy | No | Allowed source order; LIVE_ONLY forbids cache and fixture substitution, FIXTURE_ONLY forbids live calls. | LIVE_THEN_CACHE_THEN_FIXTURE |
| peptideLengths | Yes | Peptide window lengths in amino-acid residues for the selected MHC class. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether execution completed successfully. | |
| data | No | Tool-specific result fields on success. | |
| meta | Yes | Run identifiers, timings, and input/output hashes. | |
| error | No | Structured failure on unsuccessful execution. |