Skip to main content

Bubble Tree

DOI

example

BubbleTree generates a Cleveland dot plot or heatmap ordered by a corresponding phylogenetic tree. Required input: a tab separated frequency table (i.e., with taxa as rows and samples as columns), a newick, nexus, nexml, phyloxml, or cdao formated tree, and a tab separated file with sample metdata. See example files for formatting requirements.

Prerequisites

Bubble tree is written with python 3+ and relies on the following packages:

Install with pip

pip install bubbletree

Install with conda

conda install -c aemann01 bubbletree

Examples

Generate a heatmap figure ordered by the mapping.txt column Habitat2

bubbletree.py -i examples/biom.txt -t examples/tree.tre -m examples/map.txt -c Habitat2 -d heatmap -s sampleID -a ASVID

Generate a bubble chart figure colored and ordered by the mapping.txt column Species and view the tree structure in ASCII format to screen

bubbletree.py -i examples/biom.txt -t examples/tree.tre -m examples/map.txt -c Species -d bubblechart -p True -s sampleID -a ASVID

Generate a bubble chart figure colored and ordered by the mapping.txt column Genus on a remote cluster (Disables the automatic $DISPLAY environment varible used by matplotlib)

bubbletree.py -i examples/biom.txt -t examples/tree.tre -m examples/map.txt -c Genus -d bubblechart -r True -s sampleID -a ASVID

Help and parameter description

bubbletree.py -h

Metadata

Release files for bubbletree 1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bubbletree 1.2
File Size Uploaded
bubbletree-1.2.tar.gz 17.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bubbletree 1.2
File Interpreter ABI Platform
bubbletree-1.2-py3-none-any.whl Python 3 none any Details

Total release size: 37.5 kB

Release files / bubbletree-1.2.tar.gz

Download URL bubbletree-1.2.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fb2d9eaa6474c42e078c627cdf091fce63d819109919f938d120624d562b5022
BLAKE2b-256 checksum
How to use checksums
b973ed5b3ab0467095db2b8c2b3e359d8338e00c4071a4560028116fb561ce00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

Release files / bubbletree-1.2-py3-none-any.whl

Download URL bubbletree-1.2-py3-none-any.whl
Size 20.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5c92b6c9b2d418ae7aa2b23eee84f79da08cf63720e51513a899c591fb0650d
BLAKE2b-256 checksum
How to use checksums
723120e5bb179a140af970f925ce9b3e72cca1949969de14f24e606c90ca1ab6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

Release history Release notifications | RSS feed

This release

1.2 This release

2 release files

1.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page