21 buildPythonPackage rec {
26 src = fetchFromGitHub {
29 rev = "refs/tags/v${version}";
30 hash = "sha256-dxCGCPnk1IFKg8ZVqMJsojQL0KlNirKlHJoaaOYIzMU=";
33 # keras and tensorflow are not in the official setup.py requirements but are required for the CLI utilities to run.
46 # Tests currently depend on nose; see
47 # <https://github.com/openvax/mhcflurry/pull/244>.
53 # RuntimeError: Missing MHCflurry downloadable file: /homeless-shelter/.local...
54 "test_a1_mage_epitope_downloaded_models"
55 "test_a1_titin_epitope_downloaded_models"
56 "test_a2_hiv_epitope_downloaded_models"
59 "test_class1_neural_network_a0205_training_accuracy"
60 "test_commandline_sequences"
63 "test_downloaded_predictor_gives_percentile_ranks"
64 "test_downloaded_predictor_invalid_peptides"
65 "test_downloaded_predictor_is_savable"
66 "test_downloaded_predictor_is_serializable"
67 "test_downloaded_predictor_small"
68 "test_downloaded_predictor"
75 "test_run_cluster_parallelism"
78 "test_speed_allele_specific"
79 "test_speed_pan_allele"
83 # RuntimeError: Missing MHCflurry downloadable file: /homeless-shelter/.local...
84 "test/test_changing_allele_representations.py"
85 "test/test_class1_affinity_predictor.py"
86 "test/test_class1_pan.py"
89 pythonImportsCheck = [ "mhcflurry" ];
92 description = "Peptide-MHC I binding affinity prediction";
93 homepage = "https://github.com/openvax/mhcflurry";
94 changelog = "https://github.com/openvax/mhcflurry/releases/tag/v${version}";
95 license = lib.licenses.asl20;
96 maintainers = with lib.maintainers; [ samuela ];
97 # Requires a recent version of tensorflow
98 broken = lib.versionOlder tensorflow.version "2.15.0";