scripts/run_layer2_perturbation_and_regulatory_plane.py
Use this file in any AI chat (paste-only or attachment-capable):
Pinned raw file: https://openislet.org/files/gen-eb955f8266035aba/scripts/run_layer2_perturbation_and_regulatory_plane.py · SHA-256: 3220e68f97203dbc…
'distinct_peptide_flank_contexts_8_11mer': 272,
'positional_unmatched_15mer_sum': 121,
'unique_unmatched_15mer_count': 113},
'DesignA_Arm1B_15aaL1_plus_existing_L3BFB_4078bp_0xP2A_with_precursors': {'included_species': ['HLAE_SCT_Arm1B_precursor_500aa',
'CD47_Arm1B_nativeSP_precursor_175aa',
'SERPINB9_WT_scarfree_L3BFB_4078bp_376aa',
'PDL1_nativeSP_precursor_290aa',
'iCasp9_cytosolic_monomer_396aa'],
'positional_unmatched_8_11mer_sum': 271,
'unique_unmatched_8_11mer_count': 269,
'distinct_peptide_flank_contexts_8_11mer': 271,
'positional_unmatched_15mer_sum': 116,
'unique_unmatched_15mer_count': 113},
'DesignB_WT_TYK2_plus_Canonical_P2A_Locus3': {'included_species': ['SERPINB9_with_P2A_Locus3_canonical_397aa',
'PDL1_postP2A_Pro_precursor_291aa',
'Locus3_canonical_uncleaved_SERPINB9_P2A_PDL1_688aa',
'iCasp9_cytosolic_monomer_396aa',
'TYK2_WT_1187aa'],
'positional_unmatched_8_11mer_sum': 293,
'unique_unmatched_8_11mer_count': 205,
'distinct_peptide_flank_contexts_8_11mer': 229,
'positional_unmatched_15mer_sum': 90,
'unique_unmatched_15mer_count': 68,
'hlac_14allele_panel': {'peptide_allele_pairs_affinity_le_500nM': 38,
'peptide_allele_pairs_affinity_le_100nM': 11,
'peptide_allele_pairs_affinity_le_50nM': 4,
'peptide_allele_pairs_best_context_pres_pct_le_0_5': 8,
'alleles_with_any_binder_le_500nM': '12/14',
'alleles_with_any_binder_le_100nM': '7/14'}},
'DesignB_WT_TYK2_plus_Existing_ScarFree_L3BFB_4078bp_or_DXL3_3799bp': {'included_species': ['SERPINB9_WT_scarfree_L3BFB_4078bp_376aa',
'PDL1_nativeSP_precursor_290aa',
'iCasp9_cytosolic_monomer_396aa',
'TYK2_WT_1187aa'],
'positional_unmatched_8_11mer_sum': 83,
'unique_unmatched_8_11mer_count': 83,
'distinct_peptide_flank_contexts_8_11mer': 83,
'positional_unmatched_15mer_sum': 32,
'unique_unmatched_15mer_count': 32,
'hlac_14allele_panel': {'peptide_allele_pairs_affinity_le_500nM': 5,
'peptide_allele_pairs_affinity_le_100nM': 0,
'peptide_allele_pairs_affinity_le_50nM': 0,
'peptide_allele_pairs_best_context_pres_pct_le_0_5': 0,
'alleles_with_any_binder_le_500nM': '2/14',
'alleles_with_any_binder_le_100nM': '0/14'}},
'DesignB2_TYK2_P1104A_plus_Canonical_P2A_Locus3': {'included_species': ['SERPINB9_with_P2A_Locus3_canonical_397aa',
'PDL1_postP2A_Pro_precursor_291aa',
'Locus3_canonical_uncleaved_SERPINB9_P2A_PDL1_688aa',
'iCasp9_cytosolic_monomer_396aa',
'TYK2_P1104A_c3310CG_1187aa'],
'positional_unmatched_8_11mer_sum': 331,
'unique_unmatched_8_11mer_count': 243,
'distinct_peptide_flank_contexts_8_11mer': 267,
'positional_unmatched_15mer_sum': 105,
'unique_unmatched_15mer_count': 83,
'hlac_14allele_panel': {'peptide_allele_pairs_affinity_le_500nM': 78,
'peptide_allele_pairs_affinity_le_100nM': 26,
'peptide_allele_pairs_affinity_le_50nM': 12,
'peptide_allele_pairs_best_context_pres_pct_le_0_5': 27,
'alleles_with_any_binder_le_500nM': '14/14',
'alleles_with_any_binder_le_100nM': '13/14'}},
'DesignB2_TYK2_P1104A_plus_Existing_ScarFree_L3BFB_4078bp_or_DXL3_3799bp': {'included_species': ['SERPINB9_WT_scarfree_L3BFB_4078bp_376aa',
'PDL1_nativeSP_precursor_290aa',
'iCasp9_cytosolic_monomer_396aa',
'TYK2_P1104A_c3310CG_1187aa'],
'positional_unmatched_8_11mer_sum': 121,
'unique_unmatched_8_11mer_count': 121,
'distinct_peptide_flank_contexts_8_11mer': 121,
'positional_unmatched_15mer_sum': 47,
'unique_unmatched_15mer_count': 47,
'hlac_14allele_panel': {'peptide_allele_pairs_affinity_le_500nM': 45,
'peptide_allele_pairs_affinity_le_100nM': 15,
'peptide_allele_pairs_affinity_le_50nM': 8,
'peptide_allele_pairs_best_context_pres_pct_le_0_5': 19,
'alleles_with_any_binder_le_500nM': '14/14',
'alleles_with_any_binder_le_100nM': '12/14'}},
'DesignA_EmbodimentAstar_1xP2A_mature_only_WT_TYK2': {'included_species': ['HLAE_SCT_EmbodimentAstar_20aaL1_mature_485aa',
'CD47_IgV_GPI_WT_Cys15_mature_129aa',
'SERPINB9_with_P2A_Locus3_canonical_397aa',
'PDL1_mature_272aa',
'iCasp9_cytosolic_monomer_396aa'],
'positional_unmatched_8_11mer_sum': 322,
'unique_unmatched_8_11mer_count': 319,
'distinct_peptide_flank_contexts_8_11mer': 322,
'positional_unmatched_15mer_sum': 123,
'unique_unmatched_15mer_count': 115},
'DesignA_EmbodimentAstar_1xP2A_mature_only_plus_optional_TYK2_P1104A': {'included_species': ['HLAE_SCT_EmbodimentAstar_20aaL1_mature_485aa',
'CD47_IgV_GPI_WT_Cys15_mature_129aa',
'SERPINB9_with_P2A_Locus3_canonical_397aa',
'PDL1_mature_272aa',
'iCasp9_cytosolic_monomer_396aa',
'TYK2_P1104A_c3310CG_1187aa'],
'positional_unmatched_8_11mer_sum': 360,
'unique_unmatched_8_11mer_count': 357,
'distinct_peptide_flank_contexts_8_11mer': 360,
'positional_unmatched_15mer_sum': 138,
'unique_unmatched_15mer_count': 130},
'DesignA_EmbodimentAstar_plus_existing_L3BFB_4078bp_0xP2A_mature_only_WT_TYK2': {'included_species': ['HLAE_SCT_EmbodimentAstar_20aaL1_mature_485aa',
'CD47_IgV_GPI_WT_Cys15_mature_129aa',
'SERPINB9_WT_scarfree_L3BFB_4078bp_376aa',
'PDL1_mature_272aa',
'iCasp9_cytosolic_monomer_396aa'],
'positional_unmatched_8_11mer_sum': 238,