You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
let private_aa_mutations = find_private_aa_mutations(
nearest_node,
&aa_substitutions,
&aa_deletions,
&unknown_aa_ranges,
&aa_unsequenced_ranges,
ref_peptides,
gene_map,
);
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.
A toggle could allow switching between different options (e.g. reference, VaccineStrain2023, clade_parent) and would also update the sequence view.
The text was updated successfully, but these errors were encountered:
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:
nextclade/packages_rs/nextclade/src/run/nextclade_run_one.rs
Lines 152 to 176 in 12842f1
We could repeat this for different nodes in the tree, for example vaccines strains for flu. Instead of passing
nearest_node
to thefind_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.
A toggle could allow switching between different options (e.g. reference, VaccineStrain2023, clade_parent) and would also update the sequence view.
The text was updated successfully, but these errors were encountered: