r/bioinformaticstools • u/Designer_Bad_1571 • 1d ago
Sentropy: a Python package for measuring similarity-sensitive diversity
Hi everyone!
I’d like to share an open-source Python package my collaborators and I have been developing called sentropy.
In bioinformatics, we often use entropy-related quantities to quantify the diversity of various datasets, such as biological sequences. A shortcoming of traditional entropies such as the Shannon entropy is that they treat distinct elements as completely different. This can be problematic in applications like bioinformatics or ecology, where e.g. two distinct sequences can be highly similar. Sentropy addresses this by adopting the mathematical framework developed by Leinster, Cobbold and Reeve to take into account similarities when quantifying diversities of datasets.
It’s written in Python and can be installed with:
pip install sentropy
Github: https://github.com/ArnaoutLab/sentropy
Documentation: https://sentropy.readthedocs.io/
PyPI: https://pypi.org/project/sentropy/
As a developer, I’d appreciate any feedback from people working with biological sequence data or other complex datasets. I’m also interested in hearing about potential applications to machine learning of our package.
Thanks for reading!
1
u/themode7 1d ago
Thx for sharing