

def test_netmhc_pan():
    alleles = [normalize_allele_name(DEFAULT_ALLELE)]
    pan_predictor = NetMHCpan(alleles=alleles, epitope_lengths=[9])
    fasta_dictionary = {
        'SMAD4-001': 'ASIINFKELA',
        'TP53-001': 'ASILLLVFYW',
    }
    epitope_collection = pan_predictor.predict(fasta_dictionary=pan_predictor)
    assert (len(epitope_collection) == 4), ('Expected 4 epitopes from %s' % (epitope_collection,))

dataset/ETHPy150Open hammerlab/mhctools/test/test_netmhc_pan.py test_netmhc_pan/VarMisuse@57/114 `fasta_dictionary`->`pan_predictor`