Mutations relative to different references

Đang mở
#1,237 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
rust

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Rust
Star
265
Fork
68
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
21

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextstrain/nextclade

Tất cả issue của nextstrain/nextclade

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.