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

Abierto
#396 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
python

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
0
Forks
0
Merge medio
11 h 17 min
PR fusionados (30 d)
23

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de rnabioco/leech

Todos los issues de rnabioco/leech

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.