Skip to main content
netMHCpan MHC-I Presentation
License: netMHCpan is licensed under Custom (DTU Health Tech Academic Software License) and has restrictions around commercial use and may require explicit attribution when utilized. Model weights are not publicly distributed and must be requested from the provider. Please refer to the license for full terms.

This constraint is open source. Any third-party models, product names, or trademarks referenced are the property of their respective owners, and Proto is not affiliated with them.


Go to Tool Page
ProtoProtoevo-design/proto-language
View source
@articlenilsson2025netmhcpan@articlenielsen2007netmhcpan
Copy citation
Constraint contributors
Score each protein by its predicted MHC class I presentation across the allele panel.

API Reference

ConfigNetMHCpanPresentationConfig Source
Configuration for the netMHCpan MHC class I presentation constraint.
enum
default:"binding_propensity"
netMHCpan summary scored: smooth binding_propensity or strong_binder_fraction.Options: binding_propensity, strong_binder_fraction
NetMHCpanProteinConfig
netMHCpan protein-scan settings: alleles, peptide lengths, %rank thresholds.
ReturnsConstraintOutput
One per proposal. score is the configured metric, 0.0 when no window-allele pair is predicted to bind. metadata carries netMHCpan’s per-protein summary metrics plus num_windows and strong_binders (strong-binder pairs with 1-indexed position, or None). A proposal with a non-standard residue gets MAX_ENERGY and netmhcpan_presentation_error instead.

Usage

python

Metadata