dwell confound: per-read-normalized dwell channel and run-held-out dwell ablation

Aperta
#396 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python

Direzione di ricerca

Start in features.py around lines 627-667, where dwell, dwell_log and dwell_mean are computed, and compare with dwell_ratio. Add dwell_rel to the feature-channel registry and check that both backends produce identical values under a parity test. Then add the read-median baseline and the ablation.smk arms. Done means the parity test passes, the 6-seed results table with SD is in results/, and a written decision on whether dwell survives de-confounding is recorded there. This issue depends on the run-held-out split work, which is not yet done.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement review-2026-10

Review finding 3. dwell, dwell_log, dwell_mean are absolute samples/base (features.py:627-667); dwell_ratio normalizes against a 5-base local mean only. Nothing normalizes for per-read translocation speed. Sibling repo reports charged library translocating ~53% slower (library-prep proxy) and feature arms adding only +0.0005 to +0.005 AUROC. Depends on the run-held-out split issue.

Acceptance criteria

  • New feature channel dwell_rel = dwell / read_median_dwell, registered in the feature-channel machinery, identical across both backends (parity-tested).
  • A baseline script/rule: logistic regression on read-median dwell alone, AUROC on a run-held-out split.
  • ablation.smk arms: absolute-dwell channels off, dwell_rel on, --augment-time-stretch on; 6 paired seeds; results table with seed SD.
  • Written result in results/ with the decision: does dwell survive de-confounding?

Non-goals

Changing existing channel definitions or any trained model's inputs.

Lingua principale
Python
Stelle
0
Fork
0
Merge medio
11h 17m
PR unite (30g)
23

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di rnabioco/leech

Tutte le issue di rnabioco/leech

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.