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…

                              'narrow_filter_scope': 'C-only positions [4..8] sequence filter only (NOT '
                                                     'editor-independent biological purity)',
                              'extended_tadcbEd_3to9_bystander_cytidines': [],
                              'extended_tadcbEd_c9_consequence': 'NONE_IN_3TO9',
                              'residual_adenine_editing_stop_loss_hazard': 'NONE_AT_STOP_CODON_TAA_OR_MINUS_STRAND_TGG '
                                                                           '(requires empirical haplotype '
                                                                           'sequencing for A positions [5, '
                                                                           '6, 7, 9])',
                              'uniprot_domain_and_nmd_context': 'UniProt P14778 TIR domain spans aa 383-538; '
                                                                'exon 12/12 is the terminal canonical exon '
                                                                'so canonical downstream-EJC NMD escape is '
                                                                'plausible, truncating the intracellular TIR '
                                                                'domain while retaining the ectodomain and '
                                                                'transmembrane segment (requires '
                                                                'surface-decoy vs residual MyD88 signaling '
                                                                'verification)'},
                             {'gene': 'IL1R1',
                              'transcript': 'ENST00000410023.6',
                              'exon': '12/12',
                              'protein_change': 'p.Q480Ter',
                              'codon_change': 'CAG->TAG',
                              'grch38_vcf': 'chr2:102176487:C>T',
                              'editor_class': 'SpG-CBE_NGN',
                              'protospacer_5to3': 'GTTCAGGATGGAATTAAAGT',
                              'pam_3nt': 'TGT',
                              'protospacer_strand': '+',
                              'target_pos_in_protospacer_1based': 4,
                              'five_prime_dinucleotide_context': 'TC',
                              'deaminase_context_note': 'TC motif: compatible with standard APOBEC/TadA CBEs',
                              'bystander_cytidines_in_4to8': [],
                              'expected_mechanism': 'Terminal-exon truncation hypothesis (requires empirical '
                                                    'NMD-escape, surface flow, and FADD/MyD88 non-signaling '
                                                    'verification)',
                              'ensembl_reconstruction_release': 'Ensembl release 116 (distinct from Layer-2 '
                                                                'baseline Ensembl 112 / GENCODE v46)',
                              'narrow_filter_scope': 'C-only positions [4..8] sequence filter only (NOT '
                                                     'editor-independent biological purity)',
                              'extended_tadcbEd_3to9_bystander_cytidines': [],
                              'extended_tadcbEd_c9_consequence': 'NONE_IN_3TO9',
                              'residual_adenine_editing_stop_loss_hazard': 'PRESENT_CAG_TO_TAG_TO_TGG_TRP_AT_PROTOSPACER_A5 '
                                                                           '(Neugebauer 2023 PMID:36357719; '
                                                                           'Zhang 2024 PMID:38402281)',
                              'uniprot_domain_and_nmd_context': 'UniProt P14778 TIR domain spans aa 383-538; '
                                                                'exon 12/12 is the terminal canonical exon '
                                                                'so canonical downstream-EJC NMD escape is '
                                                                'plausible, truncating the intracellular TIR '
                                                                'domain while retaining the ectodomain and '
                                                                'transmembrane segment (requires '
                                                                'surface-decoy vs residual MyD88 signaling '
                                                                'verification)'},
                             {'gene': 'IL1R1',
                              'transcript': 'ENST00000410023.6',
                              'exon': '12/12',
                              'protein_change': 'p.Q480Ter',
                              'codon_change': 'CAG->TAG',
                              'grch38_vcf': 'chr2:102176487:C>T',
                              'editor_class': 'SpG-CBE_NGN',
                              'protospacer_5to3': 'CTTGTTCAGGATGGAATTAA',
                              'pam_3nt': 'AGT',
                              'protospacer_strand': '+',
                              'target_pos_in_protospacer_1based': 7,
                              'five_prime_dinucleotide_context': 'TC',
                              'deaminase_context_note': 'TC motif: compatible with standard APOBEC/TadA CBEs',
                              'bystander_cytidines_in_4to8': [],
                              'expected_mechanism': 'Terminal-exon truncation hypothesis (requires empirical '
                                                    'NMD-escape, surface flow, and FADD/MyD88 non-signaling '
                                                    'verification)',
                              'ensembl_reconstruction_release': 'Ensembl release 116 (distinct from Layer-2 '
                                                                'baseline Ensembl 112 / GENCODE v46)',
                              'narrow_filter_scope': 'C-only positions [4..8] sequence filter only (NOT '
                                                     'editor-independent biological purity)',
                              'extended_tadcbEd_3to9_bystander_cytidines': [],
                              'extended_tadcbEd_c9_consequence': 'NONE_IN_3TO9',
                              'residual_adenine_editing_stop_loss_hazard': 'PRESENT_CAG_TO_TAG_TO_TGG_TRP_AT_PROTOSPACER_A8 '
                                                                           '(Neugebauer 2023 PMID:36357719; '
                                                                           'Zhang 2024 PMID:38402281)',
                              'uniprot_domain_and_nmd_context': 'UniProt P14778 TIR domain spans aa 383-538; '
                                                                'exon 12/12 is the terminal canonical exon '
                                                                'so canonical downstream-EJC NMD escape is '
                                                                'plausible, truncating the intracellular TIR '
                                                                'domain while retaining the ectodomain and '
                                                                'transmembrane segment (requires '
                                                                'surface-decoy vs residual MyD88 signaling '
                                                                'verification)'}],
 'retracted_or_reclassified_s1_edits': [{'s1_string': 'IFIH1 chr2:162268127:T>A (rs35667974)',
                                         's3_correction': 'chr2:162268127:T>C on current MANE Select '
                                                          'ENST00000649979.2 (NM_022168.4; fixing retired '
                                                          'ENST00000263642 and OAS3 ENST00000680230 typo) '
                                                          'encodes minus-strand c.2767A>G -> p.Ile923Val '
                                                          '(T>A was p.Ile923Phe). Live [4..8] window audit '
                                                          'shows ZERO canonical NGG ABE windows, an E924G '
                                                          'missense bystander on SpG (pos 4 CGT), and a '
                                                          'synonymous V922V bystander on SpRY-ABE8e (pos 7 '
                                                          "TCA, 5'-CATGTAATTGAGAAAATGCA-3').",
                                         'verified_modality': 'Benchmark germline allele requiring PEmax + '
                                                              'epegRNA or PAM-relaxed SpRY-ABE8e (with '
                                                              'synonymous V922V)'},
                                        {'s1_string': 'TYK2 chr19:10352442:G>C (rs34536443, P1104A) labeled '
                                                      'JH2 / base edit',
                                         's3_correction': 'chr19:10352442:G>C (ENST00000525621.8 c.3310C>G '
                                                          '-> p.Pro1104Ala) sits in the JH1 catalytic kinase '
                                                          'domain and is a C>G transversion',
                                         'verified_modality': 'Benchmark germline allele installed via PEmax '
                                                              '+ epegRNA in Layer 5 / CAND-009'},
                                        {'s1_string': 'IL1R1 chr2:102172839:G>A labeled post-TM DeltaTIR '
                                                      'membrane self-decoy',
                                         's3_correction': 'RETRACTED as membrane self-decoy: Exon-9 donor '
                                                          'c.991+1G>A sits upstream of TM (aa 337-356) and '
                                                          'carries V331I exonic bystander',
                                         'verified_modality': 'Replaced by Exon-6/5 canonical NGG CBE NMD KO '
                                                              '(Q206Ter/Q130Ter) and Exon-12 SpG-CBE stop '
                                                              'needles (Q471Ter/Q480Ter)'},
                                        {'s1_string': 'IL1R1 chr2:102176457:G>T (p.Glu470Ter) grouped under '
                                                      'CBE',
                                         's3_correction': 'G>T transversion requires PEmax + epegRNA; '
                                                          'superseded for CBE by zero-bystander C>T Q471Ter '
                                                          '(chr2:102176460:C>T) and Q480Ter '
                                                          '(chr2:102176487:C>T)',
                                         'verified_modality': 'Superseded by SpG-CBE Q471Ter / Q480Ter'}],
 'germline_protective_coding_benchmarks_non_cbe': [{'gene': 'IFIH1',
                                                    'mane_select_transcript': 'ENST00000649979.2 '
                                                                              '(NM_022168.4)',
                                                    'rsid': 'rs35667974',
                                                    'grch38_vcf': 'chr2:162268127:T>C',
                                                    'protein_change': 'p.Ile923Val',
                                                    'domain': 'C-terminal dsRNA-sensing regulatory domain',
                                                    'abe_4to8_window_audit': [{'target_pos_1based': 4,
                                                                               'protospacer_5to3': 'GTAATTGAGAAAATGCATCA',
                                                                               'pam_3nt': 'CGT',
                                                                               'bystander_adenines_in_4to8': [8]},
                                                                              {'target_pos_1based': 5,
                                                                               'protospacer_5to3': 'TGTAATTGAGAAAATGCATC',
                                                                               'pam_3nt': 'ACG',
                                                                               'bystander_adenines_in_4to8': [4]},
                                                                              {'target_pos_1based': 6,
                                                                               'protospacer_5to3': 'ATGTAATTGAGAAAATGCAT',
                                                                               'pam_3nt': 'CAC',
                                                                               'bystander_adenines_in_4to8': [5]},
                                                                              {'target_pos_1based': 7,
                                                                               'protospacer_5to3': 'CATGTAATTGAGAAAATGCA',
                                                                               'pam_3nt': 'TCA',
                                                                               'bystander_adenines_in_4to8': [6]},
                                                                              {'target_pos_1based': 8,
                                                                               'protospacer_5to3': 'CCATGTAATTGAGAAAATGC',
                                                                               'pam_3nt': 'ATC',
                                                                               'bystander_adenines_in_4to8': [7]}],
                                                    'required_modality': 'PEmax + epegRNA (or SpRY-ABE8e pos '
                                                                         '7 TCA PAM with synonymous '
                                                                         'p.Val922= bystander; zero '
                                                                         'canonical NGG windows)',
                                                    'biological_caveat': 'Attenuates MDA5 dsRNA sensing; '
                                                                         'requires Stage-0 '
                                                                         'enterovirus/picornavirus innate '
                                                                         'IFN-beta survival qualification in '
                                                                         'SC-islets.'},
                                                   {'gene': 'TYK2',
                                                    'mane_select_transcript': 'ENST00000525621.8 '
                                                                              '(NM_003331.5)',
                                                    'rsid': 'rs34536443',
                                                    'grch38_vcf': 'chr19:10352442:G>C',
                                                    'protein_change': 'p.Pro1104Ala',
                                                    'domain': 'JH1 catalytic tyrosine kinase domain',
                                                    'required_modality': 'PEmax + epegRNA (specified in '
                                                                         'Layer 5 / CAND-009; no separate '
                                                                         'pegRNA newly designed in CAND-010)',
                                                    'biological_caveat': 'Impairs IL-23-dependent IFN-gamma '
                                                                         'immunity in systemic human '
                                                                         'homozygotes while largely '
                                                                         'preserving primary-leukocyte '
                                                                         'IFN-alpha/IL-12 (Boisson-Dupuis '
                                                                         '2018 PMID:30578352) vs '
                                                                         'dose-dependent partial '
                                                                         'IFN-alpha/IL-12/IL-23 attenuation '
                                                                         '(Dendrou 2016 PMID:27807284); ex '
                                                                         'vivo graft-only editing leaves '
                                                                         'host leukocyte mycobacterial '
                                                                         'immunity intact, while Stage-0 '
                                                                         'SC-islet differentiation (Chandra '
                                                                         '2022 PMID:36289205) and Rule S8 '
                                                                         'CXCL10 licensing (GY-001) remain '
                                                                         'mandatory gates.'}],
 'opentargets_receipt': {'retrieved_utc': '2026-11-15T14:11:32Z',
                         'disease_efo_id': 'MONDO_0005147',
                         'total_associated_targets_in_opentargets': 6069,
                         'queried_top_n': 200,
                         'partition_counts': {'germline_associated_t1d_loci_gt_0p05': 112,
                                              'mody_neonatal_confounders': 1,
                                              'drug_or_metformin_label_confounders': 76,
                                              'exocrine_acinar_confounders': 2,
                                              't2d_metabolic_confounders': 6,
                                              'subthreshold_somatic_or_literature_tail': 3},
                         'rows_200': [{'rank': 1,
                                       'symbol': 'INS',
                                       'ensembl_id': 'ENSG00000254647',
                                       'overall_score': 0.7333,