# Strain Identity Cutoff

**URL:** <https://forum.biobakery.org/t/strain-identity-cutoff/1094>\
**Category:** StrainPhlAn\
**Created:** [September 30, 2020, 2:37pm UTC](https://forum.biobakery.org/t/strain-identity-cutoff/1094 "2020-09-30T14:37:58Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![aitor.blancomiguez](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/aitor.blancomiguez/32/86_2.png) [@aitor.blancomiguez](https://forum.biobakery.org/u/aitor.blancomiguez)\
**Post date:** [October 2, 2020, 9:56am UTC](https://forum.biobakery.org/t/strain-identity-cutoff/1094/5 "2020-10-02T09:56:49Z")

</div>

Hi @cazzlewazzle89  
I meant the sum of all the branch lengths in the tree. If you are using Python, you could use the **total\_branch\_length()** function of the _Phylo.BaseTree_ included in _Biopython_: [https://biopython.org/docs/1.75/api/Bio.Phylo.BaseTree.html#Bio.Phylo.BaseTree.TreeMixin.total\_branch\_length](https://biopython.org/docs/1.75/api/Bio.Phylo.BaseTree.html#Bio.Phylo.BaseTree.TreeMixin.total_branch_length)  
For the other normalisation method using the mean value, that will also work ([https://www.sciencedirect.com/science/article/pii/S1931312818303172](https://www.sciencedirect.com/science/article/pii/S1931312818303172))

Best,  
Aitor

---

_[View the full topic](https://forum.biobakery.org/t/strain-identity-cutoff/1094)._
