Repository navigation
Add Variant-to-Function (V2F) Tipping-Point & Rescue Radar - #4
Merged
Merged
Conversation
…2F radar, Studio, and CLI
…concile counts, and run frozen held-out evaluation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds$\Delta S_{\mathrm{crit}}$ ), propose dual cis/trans rescues, and test claims against matched negative controls (
examples/neural-v2f/radar.py(epigenesis radar/epigenesis.py radar/tests/verify.py neural-v2f) to detect passive-reporter-silent, endogenous-circuit tipping non-coding variants across full morphogen signaling regimes, quantify critical threshold shifts (biological_acceptance = False).What Was Added
examples/neural-v2f/radar.py):BISECTION_STEPS = 12), matching target-fate entry direction so locked-out regimes accurately flagsignal_locked = True.cryptic_bifurcation,concordant_switch,canalized_buffered, andneutral; when NumPy is present, optionally attaches bundled Kreimer 0–72h motif-temporal (|kreimer_mpra_mean| < 0.15) as the activesequence_silent/doubly_silentgate, while logging bundled Siraj Huber-linear (r = 0.049cross-study correlation) strictly as informational context.neural-tube,mutual-toggle,tri-lineage-switch, or custom JSONCircuitSpecs), HallikasGLI2/GLI3, all532JASPAR 2024 PWMs, custom PWMs, FASTA scans, and arbitrary JSON/CSV/TSV variant tables (SNVs,MNVs, insertions, deletions).Z_ns = 2e-4):--epsilon 0for exact Hallikas parity) to prevent ratio blow-ups on featureless decoys; eliminates ratio-only cryptic false positives from column-scrambled PWMs (0cryptic hits across all5 / 5curated loci).find_trans_signal_rescue): bisects minimal morphogen dose shift_rescue_candidate): searches all single-base second sites and verifies recovery across the full signaling regime.DEFAULT_SHUFFLES = 1000), frozen held-out test-split evaluation, & sealedbrainccausal verification:dinucleotide_shuffle, verified withverify_dinucleotide_counts) + column-scrambled motif PWM (scramble_motif_pwm).examples/neural-v2f/heldout-freeze/(PLAN.md,predict.py,FREEZE.json,predictions.json,score.py,results.json,RESULTS.md): SHA-256 predictions sealed before single-shot outcome scoring on118unseen GSE188264testloci and1,885unseen measured alleles.0.0), passive reporter isolation (0.0), and sealed SHA-256braincv2/v3 Development Modules for top candidate and cis rescue.radarintoepigenesis_cli.py,tools/release/epigenesis.py,tests/verify.py,README.md, and.github/workflows/ci.yml.tests/test_neural_v2f.py(10 tests) and expandedtests/test_epigenesis_cli.py.Verified Quantitative Results & Honest Limitations
7/33/4):circuit.pyat7cryptic SNVs onchr15and33across the5curated loci (chr157,chr137,chr217,chr186,chr16), while93edits are reporter-silent at at least one step (chr1519,chr1319,chr2119,chr1818,chr118).4strict regime-widecryptic_bifurcationedits (62:A>C,47:T>G,58:A>C,163:T>G;4 / 4doubly silent; trans rescues4 / 4, cis full-regime rescues2 / 4).chr15:90936956-90937127null controls (n = 1,000dinucleotide shuffles + scrambled PWM,Z_ns = 2e-4):dinucleotide_null_mean = 0.155(std = 1.3561,max = 19,empirical_p_ge = 0.04995,6.45×enrichment,305.6×partition-sum separation).scrambled_cryptic_count = 0(30,295.8×partition-sum separation).52switch fate cleanly and0are cryptic (total_measured_cryptic = 0).118unseen GSE188264testloci,1,885unseen alleles):8 / 118unseen loci harbor24strict SNV cryptic hits (24 / 24doubly silent; top locuschr3:20371482-20371653has14cryptic SNVs vs0 / 100dinucleotide decoys,empirical_p_ge = 0.009901,0scrambled-PWM hits).1,885measuredtestalleles:Pearson(|dRep_GLI2|, |alpha|) = 0.012258(Spearman = 0.019435); predicted cryptic CRE alleles (7) have lower mean|alpha|(1.258827) than concordant switches (15,2.471281), yet0 / 7are empirically silent (< 0.15).biological_acceptance = False): Software and mechanistic consistency controls pass; in vivo embryonic or clinical variant pathogenicity is not established.Verification
.venv/bin/python -m unittest tests.test_neural_v2f -v:10/10 OK3.14.6):tests.test_neural_v2f10/10 OK,studio/tests32/32 OK/Users/dttdrv/.local/bin/python3.11 tests/verify.py boundary:COMPILER-BOUNDARY-PASSED/Users/dttdrv/.local/bin/python3.11 tests/verify.py neural-circuit:NEURAL-CIRCUIT-SOFTWARE-PASSED(16/16)/Users/dttdrv/.local/bin/python3.11 tests/verify.py neural-v2f:NEURAL-V2F-SOFTWARE-PASSED(10/10)/Users/dttdrv/.local/bin/python3.11 tests/verify.py sdist && wheel:SDIST-SELF-TEST-PASSED,WHEEL-SMOKE-PASSEDresearch/check_freeze.py:61 original digests verified, 6 declared publication copies, 0 mismatched