scikit-bio: a community-driven Python library for bioinformatics, providing versatile data structures, algorithms and educational resources.
BSD 3-Clause "New" or "Revised" License
884
stars
268
forks
source link
TreeNode.from_taxonomy should take a pandas dataframe as input #2009
Open
mortonjt opened 6 months ago
Dataframes are easier to obtain than list of tuple of lists (which is the current input of
TreeNode.from_taxonomy
)The current workaround (using the metaphlan4 database as a reference) is as follows