Quantified patient MHC presentation
Author: Rachel Marty
PyPresent has been developed to improve the reproducibility of MHC-I and MHC-II presentation scores as seen in (Marty et al. 2017). It is a wrapper that is build around netMHCpan and netMHCIIpan. Users can get residue-centric presentation by single alleles and multi-allelic patients.
PyPresent uses the following software:
Licensed only for academic use
And the following Python modules:
Anaconda makes downloading the python modules easy
- Clone repository locally.
- Download NetMHCpan and NetMHCIIpan.
- Update paths for NetMHCpan, NetMHCIIpan and a temporary directory in the config.py file.
- Download python modules.
- Run example_usage.ipynb. The scores should be as follows:
- HLA-A01:01 - 0.25
- DRB1_1114 - 46.0
- Patient MHCI - 1.810..
- Patient MHCII - 5.379..
- MHC-I/MHC-II allele
- Mutation information:
- Gene sequence - string or fasta file
- Residue position
- New amino acid
- All MHC-I/MHC-II alleles
- Mutation information:
- Gene sequence
- Residue position
- New amino acid
See example_usage.ipynb
ramarty [at] ucsd.edu
[Marty, Rachel, et al. "MHC-I genotype restricts the oncogenic mutational landscape." Cell 171.6 (2017): 1272-1283.] (https://www.cell.com/cell/fulltext/S0092-8674(17)31144-3)