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…
'share '
'identical '
'native '
'protein '
'cores '
'(376-aa '
'SERPINB9 '
'and '
'272-aa '
'mature '
'PD-L1 '
'from '
'290-aa '
'native '
'precursor) '
'while '
'differing '
'in '
'complete '
'precursor/stub '
'species '
'and '
'transcriptional '
'architecture.'},
'species_catalog_22_molecular_species': {'species_count_reconciliation': 'Catalogs 22 distinct molecular species (the '
'21 species in the S3 clean-core union — 11 '
'mature/processed chains, 7 ER/post-2A '
'precursors, 2 uncleaved 2A readthrough '
'fusions [697-aa Arm 1A, 688-aa Locus 3], '
'and the 537-aa Embodiment A* unhardened B2M '
'Exon-2 cryptic-splice frameshift species — '
'plus the corresponding 532-aa Arm 1B '
'unhardened B2M Exon-2 cryptic-splice '
'frameshift species). In both 537-aa (291 '
'pos / 288 unique 8-11; 109 pos / 101 unique '
'15) and 532-aa (290 pos / 288 unique 8-11; '
'104 pos / 101 unique 15) cryptic-splice '
'species, 128 8-11mers and 32 15mers '
'actually touch the 32-aa B2M Exon-2 '
'+1-frame tail while the remaining windows '
'arise from the upstream HLA-E SCT linkers. '
'Across the 22-species union there are '
'exactly 659 distinct Swiss-Prot-unmatched '
'8-11mers, 768 distinct (peptide, 5-aa '
'n_flank, 5-aa c_flank) contexts, and 94 '
'peptides occurring in multiple flank '
'contexts.',
'union_context_preservation_summary': {'distinct_unmatched_peptides_8_11mer': 659,
'distinct_peptide_flank_contexts_8_11mer': 768,
'peptides_occurring_in_multiple_flank_contexts': 94},
'per_species_ledger': {'HLAE_SCT_Arm1A_mature_with_P2A_501aa': {'length_aa': 501,
'sha256': 'af3a6d11ce66f1d69adc6871ce92618008d854196d713131c989dda6c3b5319b',
'positional_unmatched_8_11mer': 213,
'unique_unmatched_8_11mer': 211,
'distinct_flank_contexts_8_11mer': 213,
'positional_unmatched_15mer': 79,
'unique_unmatched_15mer': 76},
'HLAE_SCT_Arm1B_15aaL1_mature_480aa': {'length_aa': 480,
'sha256': '178b1c5377a0ecccda4ad398cc4c4208b1599e8d245177b5e482f14a366e7f79',
'positional_unmatched_8_11mer': 129,
'unique_unmatched_8_11mer': 127,
'distinct_flank_contexts_8_11mer': 129,
'positional_unmatched_15mer': 58,
'unique_unmatched_15mer': 55},
'HLAE_SCT_EmbodimentAstar_20aaL1_mature_485aa': {'length_aa': 485,
'sha256': 'b6f6de69719ae1cefea9d24e0533e04006430f10e2c35b95f191131f31e094a8',
'positional_unmatched_8_11mer': 130,
'unique_unmatched_8_11mer': 127,
'distinct_flank_contexts_8_11mer': 130,
'positional_unmatched_15mer': 63,
'unique_unmatched_15mer': 55},
'CD47_IgV_GPI_WT_Cys15_mature_129aa': {'length_aa': 129,
'sha256': '8da1592d946815faf4dd12f1845a9bc9cdbc1820d3df60c05d106e0f33670883',
'positional_unmatched_8_11mer': 25,
'unique_unmatched_8_11mer': 25,
'distinct_flank_contexts_8_11mer': 25,
'positional_unmatched_15mer': 7,
'unique_unmatched_15mer': 7},
'CD47_IgV_GPI_Arm1X_C15G_mature_129aa': {'length_aa': 129,
'sha256': 'b99e46848d592d325ddd7426806203ac8eb2809b1f2a3c97d9ad19b8396da5a8',
'positional_unmatched_8_11mer': 63,
'unique_unmatched_8_11mer': 63,
'distinct_flank_contexts_8_11mer': 63,
'positional_unmatched_15mer': 22,
'unique_unmatched_15mer': 22},
'SERPINB9_with_P2A_Locus3_canonical_397aa': {'length_aa': 397,
'sha256': '2cba54d74a7809015d496bce611ebea1af43f26aafba0b989cfa5bb4af5812fa',
'positional_unmatched_8_11mer': 84,
'unique_unmatched_8_11mer': 84,
'distinct_flank_contexts_8_11mer': 84,
'positional_unmatched_15mer': 21,
'unique_unmatched_15mer': 21},
'SERPINB9_WT_scarfree_L3BFB_4078bp_376aa': {'length_aa': 376,
'sha256': '5941182405e96639c6b0faccdeee7b72d773cd2ab67405bb49143592bebc6567',
'positional_unmatched_8_11mer': 0,
'unique_unmatched_8_11mer': 0,
'distinct_flank_contexts_8_11mer': 0,
'positional_unmatched_15mer': 0,
'unique_unmatched_15mer': 0},
'PDL1_mature_272aa': {'length_aa': 272,
'sha256': 'dd57f4093f48274aba79b402470e8eb3cbedb164d764d59d922f2a89187c93b9',
'positional_unmatched_8_11mer': 0,
'unique_unmatched_8_11mer': 0,
'distinct_flank_contexts_8_11mer': 0,
'positional_unmatched_15mer': 0,
'unique_unmatched_15mer': 0},
'iCasp9_cytosolic_monomer_396aa': {'length_aa': 396,
'sha256': '9c658142531fb4fbad7b80d7c94d412118e2a878122ab6795bbac88035e836de',
'positional_unmatched_8_11mer': 83,
'unique_unmatched_8_11mer': 83,
'distinct_flank_contexts_8_11mer': 83,
'positional_unmatched_15mer': 32,
'unique_unmatched_15mer': 32},
'TYK2_WT_1187aa': {'length_aa': 1187,
'sha256': '3f6b27ef15f1a0769f6d67bc2e74c379d3b7bd9e36093cb9bb74486a4a241890',
'positional_unmatched_8_11mer': 0,
'unique_unmatched_8_11mer': 0,
'distinct_flank_contexts_8_11mer': 0,
'positional_unmatched_15mer': 0,
'unique_unmatched_15mer': 0},
'TYK2_P1104A_c3310CG_1187aa': {'length_aa': 1187,
'sha256': '15b05dca3761952b9d7ca904e17fa2ed3da919588e636873c326604bde6fb087',
'positional_unmatched_8_11mer': 38,
'unique_unmatched_8_11mer': 38,
'distinct_flank_contexts_8_11mer': 38,
'positional_unmatched_15mer': 15,
'unique_unmatched_15mer': 15},
'HLAE_SCT_Arm1A_precursor_521aa': {'length_aa': 521,
'sha256': '40bae37521bec09819ae9ac5395a6344b21e596b8e347ec494c08e604dc4d9eb',
'positional_unmatched_8_11mer': 246,
'unique_unmatched_8_11mer': 244,
'distinct_flank_contexts_8_11mer': 246,
'positional_unmatched_15mer': 93,
'unique_unmatched_15mer': 90},
'HLAE_SCT_Arm1B_precursor_500aa': {'length_aa': 500,
'sha256': 'a55d6e121d4528648c606fab355bf63a701581116f04898af5249bbdbefe8177',
'positional_unmatched_8_11mer': 162,
'unique_unmatched_8_11mer': 160,