pylifemap: Mapping Data onto the Tree of Life
O_LIThe need to visualize data associated with NCBI Taxonomy Identifiers is growing in various biological fields ranging from comparative genomics to metagenomics and metabarcoding, and even for outreach. C_LIO_LINo tool today allows visualization of such data while still keeping the full vision of the whole taxonomy, possibly causing a biased view of the data at hand. C_LIO_LIHere we introduce pylifemap, a Python package that allows users to map their own data directly on the interactive taxonomic tree proposed by Lifemap. Through a simple syntax, layers (points, lines, icons, heatmaps, etc.) depicting any type of data are superimposed on the Lifemap basemap, producing an interactive map to inspect biological datasets. The produced visualizations can easily be shared with others through notebooks or standalone HTML files, or exported as static images. C_LIO_LIWe illustrate the utility of pylifemap in the exploration of two contrasting datasets: the IUCN Red List of Threatened Species and the output of a large-scale environmental metagenomics experiment. C_LI Data/Code for peer reviewpylifemap is available at PyPI and easily installable with pip or uv. The development version can be found at https://lifemap-tol.github.io/pylifemap/ along with extensive documentation and examples.