Mutations relative to different references

Abierto
#1,237 1 comentario 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
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
rust

Línea de trabajo

Start with packages_rs/nextclade/src/run/nextclade_run_one.rs at the linked find_private_mutations calls to understand how mutations are compared with the nearest tree node. Then trace how mutation data reaches the UI and how the sequence view displays it. The issue proposes selectable comparison nodes, including vaccine strains or a parent clade founder, with the sequence view updated to match; it does not specify which options to implement first.

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

Descripción

t:feat

We currently report mutations relative to the reference sequences and relative to the nearest node in the reference tree, called private mutations. The former are derived straight from the alignment, the latter are deduced by comparing the full set of differences to the set of differences the attachment node in the tree has. This happens here in the code:

https://github.com/nextstrain/nextclade/blob/12842f182ce946b89c6d18cf77120779e57e91be/packages_rs/nextclade/src/run/nextclade_run_one.rs#L152-L176

We could repeat this for different nodes in the tree, for example vaccines strains for flu. Instead of passing nearest_node to the find_private_mutations functions, we can pass any other node.

In some cases, it could also be interesting to display mutations relative to the founder of the parent clade. In this case the the node we compare to would be dependent on the clade assignment of the node.

In the UI, once could move the mutations column to the right next to the sequence view and thereby separate it from the other properties that are independent of the point of comparison.

image

A toggle could allow switching between different options (e.g. reference, VaccineStrain2023, clade_parent) and would also update the sequence view.

Lenguaje dominante
Rust
Estrellas
265
Forks
68
Merge medio
1 d 3 h
PR fusionados (30 d)
21

Preparar el entorno

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 nextstrain/nextclade

Todos los issues de nextstrain/nextclade

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.