get_mhcpan_input: Get format for NetMHCpan tools

View source: R/nomenclature_queries.R

get_mhcpan_inputR 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")

imkeller/immunotation documentation built on Jan. 3, 2023, 1:31 p.m.