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…

                                                                                      'diabetes) — DO NOT '
                                                                                      'KNOCK OUT!',
                                                              'mechanistic_evidence_and_pmids': 'Required '
                                                                                                'for INS '
                                                                                                'transcription '
                                                                                                'and '
                                                                                                'suppression '
                                                                                                'of SRp55 '
                                                                                                'splicing '
                                                                                                'stress / '
                                                                                                'BIM '
                                                                                                'apoptosis; '
                                                                                                'LoF causes '
                                                                                                'neonatal '
                                                                                                'diabetes '
                                                                                                'and '
                                                                                                'sensitizes '
                                                                                                'human beta '
                                                                                                'cells to '
                                                                                                'cytokines '
                                                                                                '(PMID:27899417).',
                                                              'rank': 31},
                                                             {'gene_or_intervention': 'DLK1',
                                                              'cascade_layer': 'U1_Beta_Lineage_Factor',
                                                              'causal_classification': 'PROTECTIVE_BETA_CELL_IDENTITY_FACTOR',
                                                              'bcrank_t1d_score_0_to_100': 0.0,
                                                              'unpenalized_subscore_0_to_100': 22.5,
                                                              'safety_gate_multiplier': 0.0,
                                                              'islet1_epistasis_multiplier': 1.0,
                                                              'subscores': {'human_evidence_25': 19.5,
                                                                            'amplifier_potency_25': 0.0,
                                                                            'iaa_plus_gada_endotype_breadth_20': 0.0,
                                                                            'cascade_nonredundancy_15': 0.0,
                                                                            'human_sc_islet_gsis_safety_15': 3.0},
                                                              'gnomad_v4': {'pLI': 0.9971,
                                                                            'oe_lof': 0.2559,
                                                                            'loeuf': 0.4465,
                                                                            'oe_mis': 0.9877},
                                                              'gtex_v10_pancreas_tpm': 3.721,
                                                              'gtex_v10_whole_blood_tpm': 0.052,
                                                              'recommended_modality': 'Imprinted 14q32 '
                                                                                      'beta-cell highly '
                                                                                      'expressed notch-like '
                                                                                      'factor — DO NOT KO',
                                                              'mechanistic_evidence_and_pmids': 'Highly '
                                                                                                'enriched in '
                                                                                                'human beta '
                                                                                                'cells; loss '
                                                                                                'impairs '
                                                                                                'islet '
                                                                                                'secretory '
                                                                                                'identity.',
                                                              'rank': 32},
                                                             {'gene_or_intervention': 'CASP8',
                                                              'cascade_layer': 'U4_Apoptosis_Switch',
                                                              'causal_classification': 'HARD_BLOCKED_RIPK3_NECROPTOSIS_TRAP',
                                                              'bcrank_t1d_score_0_to_100': 0.0,
                                                              'unpenalized_subscore_0_to_100': 20.5,
                                                              'safety_gate_multiplier': 0.0,
                                                              'islet1_epistasis_multiplier': 1.0,
                                                              'subscores': {'human_evidence_25': 17.5,
                                                                            'amplifier_potency_25': 0.0,
                                                                            'iaa_plus_gada_endotype_breadth_20': 0.0,
                                                                            'cascade_nonredundancy_15': 0.0,
                                                                            'human_sc_islet_gsis_safety_15': 3.0},
                                                              'gnomad_v4': {'pLI': 0.0009,
                                                                            'oe_lof': 0.5183,
                                                                            'loeuf': 0.7288,
                                                                            'oe_mis': 0.8229},
                                                              'gtex_v10_pancreas_tpm': 2.234,
                                                              'gtex_v10_whole_blood_tpm': 30.317,
                                                              'recommended_modality': 'FORBIDDEN KO/KD '
                                                                                      '(triggers lytic '
                                                                                      'RIPK1->RIPK3->MLKL '
                                                                                      'necroptosis!)',
                                                              'mechanistic_evidence_and_pmids': 'Kaiser et '
                                                                                                'al. 2011 '
                                                                                                'Nature '
                                                                                                '(PMID:21368762): '
                                                                                                'loss of '
                                                                                                'Caspase-8 '
                                                                                                'catalytic '
                                                                                                'restraint '
                                                                                                'on RIPK1 '
                                                                                                'under '
                                                                                                'TNF-alpha '
                                                                                                'converts '
                                                                                                'clean '
                                                                                                'apoptosis '
                                                                                                'blockade '
                                                                                                'into '
                                                                                                'explosive '
                                                                                                'DAMP-releasing '
                                                                                                'necroptosis, '
                                                                                                'supercharging '
                                                                                                'GY-010!',
                                                              'rank': 33},
                                                             {'gene_or_intervention': 'FADD',
                                                              'cascade_layer': 'U4_Death_Adaptor',
                                                              'causal_classification': 'HARD_BLOCKED_RIPK3_NECROPTOSIS_TRAP',
                                                              'bcrank_t1d_score_0_to_100': 0.0,
                                                              'unpenalized_subscore_0_to_100': 20.0,
                                                              'safety_gate_multiplier': 0.0,
                                                              'islet1_epistasis_multiplier': 1.0,
                                                              'subscores': {'human_evidence_25': 17.0,
                                                                            'amplifier_potency_25': 0.0,
                                                                            'iaa_plus_gada_endotype_breadth_20': 0.0,
                                                                            'cascade_nonredundancy_15': 0.0,
                                                                            'human_sc_islet_gsis_safety_15': 3.0},
                                                              'gnomad_v4': {'pLI': 0.1713,
                                                                            'oe_lof': 0.5182,
                                                                            'loeuf': 1.3392,
                                                                            'oe_mis': 0.8685},
                                                              'gtex_v10_pancreas_tpm': 3.696,
                                                              'gtex_v10_whole_blood_tpm': 18.203,
                                                              'recommended_modality': 'FORBIDDEN KO/KD '
                                                                                      '(triggers lytic RIPK3 '
                                                                                      'necroptosis!)',
                                                              'mechanistic_evidence_and_pmids': 'Same fatal '
                                                                                                'necroptosis '
                                                                                                'switch as '
                                                                                                'CASP8 under '
                                                                                                'TNF-alpha '
                                                                                                'exposure '
                                                                                                '(PMID:21368762); '
                                                                                                'block FAS '
                                                                                                'at the '
                                                                                                'plasma '
                                                                                                'membrane '
                                                                                                'instead!',
                                                              'rank': 34}]},
 'portfolio_2pow12_withdrawal_proof': {'symmetric_p05_true_same_design_survivor_states': '721/4096',
                                       'symmetric_p05_naive_product_of_hurdle_unions_states': '2401/4096',
                                       'symmetric_p05_true_same_design_survivor_prob': 0.176025,
                                       'symmetric_p05_naive_product_of_hurdle_unions_prob': 0.586182,
                                       'cross_design_chimera_inflation_factor': 3.33,
                                       'formal_action': 'WITHDRAWN: S1/Phase-3 numeric portfolio waterfall '
                                                        '(37.43% -> 62.80%) is permanently retired from '
                                                        'CAND-010.'}}




def _build_extracellular_biomaterial_census_iip_0020() -> Dict[str, Any]:
    """Deterministic extracellular pouch/cuff biomaterial foreign-peptide census against pinned 20,429-protein Swiss-Prot (IIP-0020; DEC-099)."""
    return {
        "contribution_id": "IIP-0020",
        "decision_id": "DEC-099",
        "pinned_human_swissprot_protein_count": 20429,
        "pinned_human_swissprot_gzip_sha256": "40a8856b4e3f3620b11635143b501ef701558ed97309b0cdb4423ef09e4618d0",
        "license": "CC-BY-4.0",
        "reference_scope_and_isoform_qualification": (
            "Positional 8-11mer and 15mer non-matches are counted against the canonical 20,429-entry UniProtKB/Swiss-Prot human reference "
            "(matching IIP-0017). Absence from canonical Swiss-Prot is a reference-sequence classification rather than proof of recipient "
            "immunogenicity: for example, FHL-1 (UniProt P08603-2) carries a genuine human alternative-splice C-terminal SFTL tetrapeptide "
            "absent from canonical CFH (P08603-1), whereas canonical CFH[19-448] has 0/1,686 and 0/416 canonical non-matches. Conversely, "
            "MHCflurry 2.3.28 scans cover Layer 2's 14 retained HLA-C alleles for Design B cross-presentation screening and do not replace "
            "recipient HLA-A/B, HLA-DP/DQ/DR, B-cell antibody, or host-cell impurity testing."
        ),
        "gate_p05_catalase_species_lock": {
            "required_uniprot_accession": "P04040",
            "disqualified_xeno_accessions": ["P00432", "P55303"],
            "rationale": (
                "Gate P05 activity retention (>=70% Day-7, >=73,800 IU retained across 333.33 cm^2) does not enforce enzyme species or bound "
                "shed inactive protein mass; bovine P00432 (1,049/2,074 [50.58%] 8-11mers) and fungal P55303 (2,884/2,886 [99.93%] 8-11mers) "
                "are disqualified fail-closed in favor of sequence-verified recombinant human CAT P04040 (0/2,074 [527 aa] and 0/2,070 [526-aa Met-cleaved])."
            ),
        },