generate_candidate_peptides
Enumerate one-based peptide windows from a protein sequence for MHC-I or MHC-II exploration, returning peptide, start, end, and length for downstream binding prediction.
Instructions
Enumerate one-based peptide windows from a supplied protein sequence for MHC-I or MHC-II exploration. Use after validate_sequence and before prediction; this creates candidates, not binding scores. Returns each window with peptide, start, end, and length.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | No | Caller-chosen identifier linking this call to one research run. | interactive-run |
| sequence | Yes | Protein amino-acid sequence without a FASTA header. | |
| sequenceHash | No | Optional SHA-256 identity of the supplied protein sequence. | |
| candidateType | Yes | MHC class or candidate category this operation applies to. | |
| 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. |