[phylo] some refactoring

parent dda52399
Pipeline #4046 failed with stages
in 9 minutes and 36 seconds