motleystate / moonstone

Library to perform Metagenomics data analysis with Python
https://moonstone.readthedocs.io/en/latest/?badge=latest
MIT License
1 stars 0 forks source link

Utils to adapt phylogenetic tree to count dataframe #97

Closed AgnesBaud closed 1 year ago

AgnesBaud commented 1 year ago

Description

Translate phylogenetic tree labels to names present in a count dataframe using the txid as key of translation. Phylogenetic tree is CustomDB phylogenetic tree-like, meaning its leaves labels follow the format '{species name}, {txid}' or '{species name}, {txid}*'