Closed jonasscheid closed 2 years ago
I would suggest storing the HLA allele string as a frozen set or other python object and then optional importing the set when initializing the explicit prediction object to avoid IO
Adjusted according to feedback by @b-schubert. Supported alleles are now stored in a python file containing the frozenset of supported alleles for each predictor. Files are stored under epytope/Data/supportedAlleles/pssm|ann|external
Adressing #61
Supported alleles of a predictor are currently stored within each predictor class. A more appealing way would be to outsource this information to a file. I'm proposing a
predictor_version.txt
file for storing the supported alleles inepytope/Data/supportedAlleles/external | pssm | ann.
I only did it for netmhcpan 4.1 as an example Please let me know what you think. Once we agreed on the implementation, I will change it for the other predictors as well