# Using logistic\_growth to identify a more transmissible/fit lineage?

**URL:** <https://nextstrain.discourse.group/t/using-logistic-growth-to-identify-a-more-transmissible-fit-lineage/503>\
**Category:** General\
**Created:** [April 27, 2021, 12:23am UTC](https://nextstrain.discourse.group/t/using-logistic-growth-to-identify-a-more-transmissible-fit-lineage/503 "2021-04-27T00:23:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rsultana](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/rsultana/32/42_2.png) [@rsultana](https://nextstrain.discourse.group/u/rsultana)\
**Post date:** [April 27, 2021, 12:23am UTC](https://nextstrain.discourse.group/t/using-logistic-growth-to-identify-a-more-transmissible-fit-lineage/503/1 "2021-04-27T00:23:43Z")

</div>

Hi!  
I have just finalized a build on ~1750 genomes that we have collected so far in Hawaii.  
Lately, the B.1.429 lineage has been the dominating variant detected here.  
For this particular build, I looked at the interesting logistic\_growth value, calculated as shown in this  
fascinating discussion between mostly Trevor @trvrb and John @jlhudd [https://github.com/nextstrain/ncov/pull/595](https://github.com/nextstrain/ncov/pull/595) .  
I need more time to understand the subtleties of how this calculated value reflects or not a lineage that is more transmissible or fit to expand in a certain context (with limitations caused by non-uniform or insufficient sampling), but I would be very grateful if you could look below and tell me whether do you think this is a red herring or a true sub-lineage of interest.

The B.1.429 lineage seems to be split into a few sub-clades that are either below or above 0 in terms of logistic\_growth:

 ![Screenshot from 2021-04-26 13-02-47](https://canada1.discourse-cdn.com/flex031/uploads/nextstrain/original/1X/b60ff8b77585a4411ffab0b617c38e0bd60e2c16.png)  
What seems to differentiate the clades that are above from the ones that are below 0 is a mutation in the nucleocapsid protein - N:M234I (M is blue in the screenshot above and I is yellow)

If you look at the time-resolved tree of these samples colored by logistic\_growth, the clades below the N:M234I mutation are all orange-red, showing the same idea:

 ![Screenshot from 2021-04-26 13-05-25](https://canada1.discourse-cdn.com/flex031/uploads/nextstrain/original/1X/34300b310c305611b64febc5f3ad370526ac1e97.png)

Now, if I look at the latest North America Nextstrain build (which has though only 108 B.1.429 sequences) in the same way:  
[https://nextstrain.org/ncov/north-america?branchLabel=aa&c=gt-N\_234&d=tree,map,frequencies&f\_pango\_lineage=B.1.429&l=scatter&m=div&p=grid&scatterY=logistic\_growth](https://nextstrain.org/ncov/north-america?branchLabel=aa&c=gt-N_234&d=tree,map,frequencies&f_pango_lineage=B.1.429&l=scatter&m=div&p=grid&scatterY=logistic_growth)  
it looks somewhat similar, since there are two subclades of B.1.429, one with a slightly positive logistic\_growth value (~0.38) and one with a slightly negative value (~ -0.05).

Unfortunately, both these values fall into the same color bin if you color by logistic\_growth, but you can still see the positive or negative value if you hover over the tips:  
[https://nextstrain.org/ncov/north-america?branchLabel=aa&c=logistic\_growth&d=tree,map,frequencies&f\_pango\_lineage=B.1.429&m=div&p=grid](https://nextstrain.org/ncov/north-america?branchLabel=aa&c=logistic_growth&d=tree,map,frequencies&f_pango_lineage=B.1.429&m=div&p=grid)

What is different is that there are some subclades that are not under N:M234I that still have a positive value for logistic\_growth. In fact, everything that is under C12100T and C8947T seem to have a positive value (although in our tree, all the samples have both C12100T and C8947T, but they are still separated in subclades with positive and negative logistic\_growth values).

The Andersen lab has a community Nextstrain build that has 517 B.1.429’s, but unfortunately they don’t do their builds calculating logistic\_growth at least not yet:  
[https://nextstrain.org/community/andersen-lab/HCoV-19-Genomics-Nextstrain/hCoV-19/usa/sandiego?branchLabel=aa&c=gt-N\_234&d=tree,frequencies&f\_pangolin\_lineage=B.1.429&p=full](https://nextstrain.org/community/andersen-lab/HCoV-19-Genomics-Nextstrain/hCoV-19/usa/sandiego?branchLabel=aa&c=gt-N_234&d=tree,frequencies&f_pangolin_lineage=B.1.429&p=full)

So my question(s) are:

- can we assert that we see some subclades that have increased transmissibility, or is it just sampling noise?
- can we link the higher logistic\_growth value to a particular mutation or not (it seems not, by looking at the global build data)?

Your insight would be highly appreciated.  
Thank you,  
Razvan

---

<div class="post-metadata">

**Author:** ![babarlelephant](https://avatars.discourse-cdn.com/v4/letter/b/8e8cbc/32.png) [@babarlelephant](https://nextstrain.discourse.group/u/babarlelephant)\
**Post date:** [April 28, 2021, 12:09am UTC](https://nextstrain.discourse.group/t/using-logistic-growth-to-identify-a-more-transmissible-fit-lineage/503/2 "2021-04-28T00:09:04Z")

</div>

Your link to the original discussion and code is very useful by the way.

My understanding is that logistic growth L=0.38 is saying that your lineage was exp(L/12)=1.032 times smaller one month earlier (when everything else is kept the same) and a significant growth would be more something like L \> 5.

If there are only two lineages under exponential growth a exp(b t), c exp(d t) with t the time in year then their frequencies follow the logistic functions f(t)= a/c exp((b-d)t)/(a/c exp((b-d)t)+1), 1-f(t)

and augur aims at finding the L=b-d matching the frequency data (over one month?) for this lineage.

---

<div class="post-metadata">

**Author:** ![rsultana](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/rsultana/32/42_2.png) [@rsultana](https://nextstrain.discourse.group/u/rsultana)\
**Post date:** [April 28, 2021, 12:27am UTC](https://nextstrain.discourse.group/t/using-logistic-growth-to-identify-a-more-transmissible-fit-lineage/503/3 "2021-04-28T00:27:21Z")

</div>

Indeed. But in fact the logistic growth value in my dataset for the subclade of interest is around 5 (It is 0.38 in the global build only, where there are much less sequences of this clade). It is in fact very similar to the value for the B.1.1.7 and P.1, which is around 8 (data not shown, I might post a screenshot later). My question was more towards whether this value could be just caused by sampling bias. Thanks for chiming in, though!

---

<div class="post-metadata">

**Author:** ![rsultana](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/rsultana/32/42_2.png) [@rsultana](https://nextstrain.discourse.group/u/rsultana)\
**Post date:** [April 28, 2021, 12:40am UTC](https://nextstrain.discourse.group/t/using-logistic-growth-to-identify-a-more-transmissible-fit-lineage/503/4 "2021-04-28T00:40:10Z")

</div>

Our sampling strategy, by the way, is to have a random number of samples from the positive community samples, distributed as evenly as possible across different geographical locations. We do occasionally sequence additional samples from outbreaks, though. In this case, I think that the tree I’m showing includes one small outbreak in the beginning of the timeline. I guess I would have to make a build downsampling that outbreak to mitigate the effect it might have on the logistic growth calculation.

---

<div class="post-metadata">

**Author:** ![rsultana](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/rsultana/32/42_2.png) [@rsultana](https://nextstrain.discourse.group/u/rsultana)\
**Post date:** [April 28, 2021, 6:05pm UTC](https://nextstrain.discourse.group/t/using-logistic-growth-to-identify-a-more-transmissible-fit-lineage/503/5 "2021-04-28T18:05:54Z")

</div>

I just wanted to add a screenshot of the logistic growth scatter plot for all the variants of concern in our dataset. B.1.1.7 and P1 are at about 8, which makes perfect sense.  
There are a few other VOCs (B.1.351, B.1.427 and B.1.526) which are below zero for logistic growth. The tips of these lineages though end in the past (there are no recent samples within these lineages).  
The B.1.429 though has different sub-lineages at either positive or negative logistic growth values (the positive ones being around 5).  
This is what prompted my initial question - is this a good reason to label a sub-clade as more transmissible or fit or it’s likely sampling noise?  
Looking at the screenshot attached to this post, it seems that all the lineages that have tips in the past are below 0, which makes sense, but there is one sub-lineage in B.1.429 that is still sampled in the present, but its logistic growth value is below zero. Does that mean that it is maybe a less transmissible/fit sub-lineage?

 ![Screen Shot 2021-04-28 at 7.40.50 AM](https://canada1.discourse-cdn.com/flex031/uploads/nextstrain/original/1X/f15a65c10d0bfa759a2348558d5ea651d5354b19.jpeg)
