_Inheritance algorithm_ is a command line program written in [Python](https://www.python.org/) that allows to attribute to each clonal group (CG), an identifier that would maximally reflect the widely adopted 7-gene ST identifier of the corresponding isolates.