Include MLR lineage fitness by trvrb · Pull Request #1169 · nextstrain/ncov (original) (raw)

added 5 commits

January 22, 2025 17:58

@trvrb

This include a script to grab live estimate of MLR lineage fitness and apply this as a tip-level coloring in the tree.

@trvrb

This is mostly updating the description.md files to include sentence describing the MLR fitness coloring.

@trvrb

@trvrb

The mutational fitness analysis relies on results posted to https://github.com/bkotzen/sars-cov2-modeling. However, this analysis hasn't been updated since 2024-07-22. This results in all circulating strains in the key 6m tree to have essentially identical fitness. This makes this coloring not informative and potentially misleading. If these results become updated more frequently, we should restore this analysis. In this case, we should also contact the authors to ask for a more stable GitHub URL. The current strategy of dated analyses with now "latest" tag makes automated updated difficult.

@trvrb

The logistic growth analysis used frequencies of strains in the tree to estimate logistic growth rates. However, analyses at nextstrain.org/sars-cov-2/forecasts use all the available sequence data and provide a more sophisticated estimate of growth rate accounting for competition between circulating viruses. These updated results are available in the mlr_lineage_fitness analysis. The mlr_lineage_fitness results should be substantially more accurate.

@trvrb trvrb marked this pull request as ready for review

January 23, 2025 19:14

huddlej

@trvrb

@trvrb

jameshadfield

victorlin

@trvrb

Small refactor of fetch_mlr_lineage_fitness script primarily to break out a main() function and to call this function from if __name__ == '__main__':

victorlin

@trvrb

Explicitly set these entries as Python None rather than the NaN that Pandas wants to do. Then the resulting JSON gets values of null rather than NaN.

@trvrb trvrb deleted the mlr-lineage-fitness branch

January 29, 2025 23:23

@trvrb trvrb mentioned this pull request

Jan 31, 2025

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})