Closed richelbilderbeek closed 3 years ago
Works!
These were some old bbbq
MHC-II haplotypes:
"HLA-DRB5*0101",
"HLA-DQA1*0501/DQB1*0201",
these can be converted using stringr
to official ones like this:
haplotype <- stringr::str_replace_all(
haplotype, "\\*([[:digit:]]{2})([[:digit:]]{2})",
"*\\1:\\2"
)
And also adapted bbbq
to now use the official allele names:
"HLA-DRB5*01:01",
"HLA-DQA1*05:01/DQB1*02:01",
Done!
The
bbbq
package tries to use the official MHC allele names:From iedb.org, however, it appears that these allele names differ:
Problem is that the epitope downloads from iedb.org fail due to this:
Correct for this in
bbbq_article/scripts/issue_240