OpenIslet

scripts/run_layer2_perturbation_and_regulatory_plane.py

Layer 2: Single-Cell Perturbation & Regulatory Sequence Plane (v0.8.0)

script Release v0.8.0 gen-eb955f8266035aba 1.13 MB · 71 sections

Use this file in any AI chat (paste-only or attachment-capable):

Download as text (.txt) Download section (.txt)

Pinned raw file: https://openislet.org/files/gen-eb955f8266035aba/scripts/run_layer2_perturbation_and_regulatory_plane.py · SHA-256: 3220e68f97203dbc…

                                                                  'processing_score': 0.52563,
                                                                  'presentation_score': 0.369787,
                                                                  'presentation_percentile': 1.045},
                                                                 {'allele': 'HLA-C*05:01',
                                                                  'ipd_imgt_hla_signal_peptide_class': 'SP-1C '
                                                                                                       '(VMAPRTLIL)',
                                                                  'kir_or_receptor_licensing_group': 'C2 (Asn77/Lys80, '
                                                                                                     'KIR2DL1)',
                                                                  'peptide': 'SAPTKFLEL',
                                                                  'n_flank_5aa': 'CDSSQ',
                                                                  'c_flank_5aa': 'IGIAQ',
                                                                  'variant': 'TYK2_p.Pro1104Ala_c.3310C>G',
                                                                  'affinity_nM': 102.4305,
                                                                  'affinity_percentile': 0.4438,
                                                                  'processing_score': 0.784848,
                                                                  'presentation_score': 0.923762,
                                                                  'presentation_percentile': 0.089},
                                                                 {'allele': 'HLA-C*06:02',
                                                                  'ipd_imgt_hla_signal_peptide_class': 'SP-1C '
                                                                                                       '(VMAPRTLIL)',
                                                                  'kir_or_receptor_licensing_group': 'C2 (Asn77/Lys80, '
                                                                                                     'KIR2DL1)',
                                                                  'peptide': 'SPPTKFLEL',
                                                                  'n_flank_5aa': 'CDSSQ',
                                                                  'c_flank_5aa': 'IGIAQ',
                                                                  'variant': 'WT_TYK2_1104P',
                                                                  'affinity_nM': 1106.8543,
                                                                  'affinity_percentile': 2.2647,
                                                                  'processing_score': 0.52563,
                                                                  'presentation_score': 0.256817,
                                                                  'presentation_percentile': 1.4505},
                                                                 {'allele': 'HLA-C*06:02',
                                                                  'ipd_imgt_hla_signal_peptide_class': 'SP-1C '
                                                                                                       '(VMAPRTLIL)',
                                                                  'kir_or_receptor_licensing_group': 'C2 (Asn77/Lys80, '
                                                                                                     'KIR2DL1)',
                                                                  'peptide': 'SAPTKFLEL',
                                                                  'n_flank_5aa': 'CDSSQ',
                                                                  'c_flank_5aa': 'IGIAQ',
                                                                  'variant': 'TYK2_p.Pro1104Ala_c.3310C>G',
                                                                  'affinity_nM': 55.8516,
                                                                  'affinity_percentile': 0.0954,
                                                                  'processing_score': 0.784848,
                                                                  'presentation_score': 0.958318,
                                                                  'presentation_percentile': 0.0395},
                                                                 {'allele': 'HLA-C*07:01',
                                                                  'ipd_imgt_hla_signal_peptide_class': 'SP-3C '
                                                                                                       '(VMAPRALLL)',
                                                                  'kir_or_receptor_licensing_group': 'C1 (Ser77/Asn80, '
                                                                                                     'KIR2DL2/3)',
                                                                  'peptide': 'SPPTKFLEL',
                                                                  'n_flank_5aa': 'CDSSQ',
                                                                  'c_flank_5aa': 'IGIAQ',
                                                                  'variant': 'WT_TYK2_1104P',
                                                                  'affinity_nM': 988.468,
                                                                  'affinity_percentile': 1.7939,
                                                                  'processing_score': 0.52563,
                                                                  'presentation_score': 0.280272,
                                                                  'presentation_percentile': 1.3472},
                                                                 {'allele': 'HLA-C*07:01',
                                                                  'ipd_imgt_hla_signal_peptide_class': 'SP-3C '
                                                                                                       '(VMAPRALLL)',
                                                                  'kir_or_receptor_licensing_group': 'C1 (Ser77/Asn80, '
                                                                                                     'KIR2DL2/3)',
                                                                  'peptide': 'SAPTKFLEL',
                                                                  'n_flank_5aa': 'CDSSQ',
                                                                  'c_flank_5aa': 'IGIAQ',
                                                                  'variant': 'TYK2_p.Pro1104Ala_c.3310C>G',
                                                                  'affinity_nM': 94.8228,
                                                                  'affinity_percentile': 0.3647,
                                                                  'processing_score': 0.784848,
                                                                  'presentation_score': 0.929307,
                                                                  'presentation_percentile': 0.0809},
                                                                 {'allele': 'HLA-C*07:02',
                                                                  'ipd_imgt_hla_signal_peptide_class': 'SP-3C '
                                                                                                       '(VMAPRALLL)',
                                                                  'kir_or_receptor_licensing_group': 'C1 (Ser77/Asn80, '
                                                                                                     'KIR2DL2/3)',
                                                                  'peptide': 'SPPTKFLEL',
                                                                  'n_flank_5aa': 'CDSSQ',
                                                                  'c_flank_5aa': 'IGIAQ',
                                                                  'variant': 'WT_TYK2_1104P',
                                                                  'affinity_nM': 351.4344,
                                                                  'affinity_percentile': 1.4397,
                                                                  'processing_score': 0.52563,
                                                                  'presentation_score': 0.537188,
                                                                  'presentation_percentile': 0.6818},
                                                                 {'allele': 'HLA-C*07:02',
                                                                  'ipd_imgt_hla_signal_peptide_class': 'SP-3C '
                                                                                                       '(VMAPRALLL)',
                                                                  'kir_or_receptor_licensing_group': 'C1 (Ser77/Asn80, '
                                                                                                     'KIR2DL2/3)',
                                                                  'peptide': 'SAPTKFLEL',
                                                                  'n_flank_5aa': 'CDSSQ',
                                                                  'c_flank_5aa': 'IGIAQ',
                                                                  'variant': 'TYK2_p.Pro1104Ala_c.3310C>G',
                                                                  'affinity_nM': 69.4228,
                                                                  'affinity_percentile': 0.2883,
                                                                  'processing_score': 0.784848,
                                                                  'presentation_score': 0.948112,
                                                                  'presentation_percentile': 0.0536},
                                                                 {'allele': 'HLA-C*08:01',
                                                                  'ipd_imgt_hla_signal_peptide_class': 'SP-1C '
                                                                                                       '(VMAPRTLIL)',
                                                                  'kir_or_receptor_licensing_group': 'C1 (Ser77/Asn80, '
                                                                                                     'KIR2DL2/3)',
                                                                  'peptide': 'SPPTKFLEL',
                                                                  'n_flank_5aa': 'CDSSQ',
                                                                  'c_flank_5aa': 'IGIAQ',
                                                                  'variant': 'WT_TYK2_1104P',
                                                                  'affinity_nM': 618.5246,
                                                                  'affinity_percentile': 1.0506,
                                                                  'processing_score': 0.52563,
                                                                  'presentation_score': 0.389837,
                                                                  'presentation_percentile': 0.9912},
                                                                 {'allele': 'HLA-C*08:01',
                                                                  'ipd_imgt_hla_signal_peptide_class': 'SP-1C '
                                                                                                       '(VMAPRTLIL)',
                                                                  'kir_or_receptor_licensing_group': 'C1 (Ser77/Asn80, '
                                                                                                     'KIR2DL2/3)',
                                                                  'peptide': 'SAPTKFLEL',
                                                                  'n_flank_5aa': 'CDSSQ',
                                                                  'c_flank_5aa': 'IGIAQ',
                                                                  'variant': 'TYK2_p.Pro1104Ala_c.3310C>G',
                                                                  'affinity_nM': 82.6606,
                                                                  'affinity_percentile': 0.1176,
                                                                  'processing_score': 0.784848,
                                                                  'presentation_score': 0.938258,
                                                                  'presentation_percentile': 0.0675},
                                                                 {'allele': 'HLA-C*12:02',
                                                                  'ipd_imgt_hla_signal_peptide_class': 'SP-1C '
                                                                                                       '(VMAPRTLIL)',
                                                                  'kir_or_receptor_licensing_group': 'C1 (Ser77/Asn80, '
                                                                                                     'KIR2DL2/3)',
                                                                  'peptide': 'SPPTKFLEL',
                                                                  'n_flank_5aa': 'CDSSQ',
                                                                  'c_flank_5aa': 'IGIAQ',
                                                                  'variant': 'WT_TYK2_1104P',
                                                                  'affinity_nM': 841.2635,
                                                                  'affinity_percentile': 4.1534,
                                                                  'processing_score': 0.52563,
                                                                  'presentation_score': 0.31587,
                                                                  'presentation_percentile': 1.2124},
                                                                 {'allele': 'HLA-C*12:02',
                                                                  'ipd_imgt_hla_signal_peptide_class': 'SP-1C '
                                                                                                       '(VMAPRTLIL)',
                                                                  'kir_or_receptor_licensing_group': 'C1 (Ser77/Asn80, '
                                                                                                     'KIR2DL2/3)',
                                                                  'peptide': 'SAPTKFLEL',
                                                                  'n_flank_5aa': 'CDSSQ',
                                                                  'c_flank_5aa': 'IGIAQ',
                                                                  'variant': 'TYK2_p.Pro1104Ala_c.3310C>G',
                                                                  'affinity_nM': 41.4941,
                                                                  'affinity_percentile': 0.1316,
                                                                  'processing_score': 0.784848,
                                                                  'presentation_score': 0.969199,
                                                                  'presentation_percentile': 0.0242},
                                                                 {'allele': 'HLA-C*12:03',
                                                                  'ipd_imgt_hla_signal_peptide_class': 'SP-1C '
                                                                                                       '(VMAPRTLIL)',
                                                                  'kir_or_receptor_licensing_group': 'C1 (Ser77/Asn80, '
                                                                                                     'KIR2DL2/3)',
                                                                  'peptide': 'SPPTKFLEL',
                                                                  'n_flank_5aa': 'CDSSQ',
                                                                  'c_flank_5aa': 'IGIAQ',
                                                                  'variant': 'WT_TYK2_1104P',
                                                                  'affinity_nM': 503.9655,
                                                                  'affinity_percentile': 1.8236,
                                                                  'processing_score': 0.52563,
                                                                  'presentation_score': 0.442338,
                                                                  'presentation_percentile': 0.8666},
                                                                 {'allele': 'HLA-C*12:03',
                                                                  'ipd_imgt_hla_signal_peptide_class': 'SP-1C '
                                                                                                       '(VMAPRTLIL)',
                                                                  'kir_or_receptor_licensing_group': 'C1 (Ser77/Asn80, '
                                                                                                     'KIR2DL2/3)',
                                                                  'peptide': 'SAPTKFLEL',
                                                                  'n_flank_5aa': 'CDSSQ',
                                                                  'c_flank_5aa': 'IGIAQ',
                                                                  'variant': 'TYK2_p.Pro1104Ala_c.3310C>G',
                                                                  'affinity_nM': 26.4341,
                                                                  'affinity_percentile': 0.0487,