get_mhcpan_input {immunotation} | R Documentation

## Get format for NetMHCpan tools

### Description

NetMHCpan tools for MHC-peptide binding prediction require HLA complex names in a specific format. `get_mhcpan_input` formats a list of HLA alleles into a list of NetMHC-formated complexes.

### Usage

    get_mhcpan_input(allele_list, mhc_class)

### Arguments

`allele_list` | list of HLA alles (e.g. c("A*01:01:01","B*27:01"))
`mhc_class` | ["MHC-I"|"MHC-II"] indicated which NetMHC you want to use.

### Value

protein chain list as formatted for MHCpan input

### Examples

    allele_list <- c("A*01:01:01","B*27:01")
    get_mhcpan_input(allele_list, mhc_class = "MHC-I")

[Package immunotation version 1.2.0 Index]