Skip to main content

q2-dbbact

A Qiime2 plugin for dbBact

wordcloud enriched barplot heatmap

Features:

  • Differential abundance testing using Calour rank-mean differential abundance test (with dsFDR correction).
  • dbBact term enrichment from differntial abundance results of qiime2 (i.e. songbird/q2-aldex2/ancom/dacomp or the built in rank-mean test).
  • Create a wordcloud of dbBact terms for a given feature table.
  • Generate an interactive heatmap visualization for a feature table. The heatmap provides links to dbBact annotations for each ASV.
  • Generate Venn diagram for a differential abundance result and a given dbBact term.
  • Background dbBact term enrichment analysis for experiments without controls (i.e. what terms are enriched in the bacteria in a given feature table compared to all dbBact experiments of a given type).

Examples:

Run the q2-dbBact enrichment pipeline for a given feature table:

Our input is a feature table and a metadata file with a given column dividing our samples into two groups.

q2-dbBact will detect ASVs different between the two groups, and identify dbBact terms enriched in one of the two groups compared to the other

qiime dbbact enrich-pipeline --i-table cfs-merged.qza --m-metadata-file map.cfs.txt --p-field Subject --output-dir cfs-pipeline

Draw an interactive heatmap

This creates a zoomable heatmap with a list of dbBact annotation for each bacteria that is clicked. Useful for exploring your sequencing results and getting a feeling for what is going on (contaminations, bacterial sources, groups of samples, etc.)

Our input is a feature table and a metadata file with a given column dividing our samples into two groups.

qiime dbbact heatmap --i-table cfs-table.qza --i-repseqs cfs-rep-seqs.qza --i-taxonomy cfs-taxonomy.qza --m-metadata-file map.cfs.txt --p-sort-field Subject --o-visualization heatmap-cfs

heatmap

Draw a dbBact terms wordcloud for the set of bacteria in a feature-table

The wordcloud is created for all the bacteria in the feature table.

The output wordcloud words are dbBact terms associated with the bacteria. The word size corresponds to the F-score (recall and precision) of the term. Blue terms are positively associated (i.e. appear in COMMON/DOMINANT/HIGHER IN annotations) where as red terms (preceeded by a "-") are negatively associated (i.e. appear in LOWER IN annotations).

qiime dbbact draw-wordcloud-vis --i-data cfs-table.qza --i-repseqs cfs-rep-seqs.qza --o-visualization wordcloud-cfs

wordcloud

Identify differentially abundant bacteria between two sample groups

q2-dbBact utilizes the non-parametric (permutation based) Calour diff_abundance() function. By default it uses a rank-mean test with dsFDR multiple hypothesis correction.

The test can also be performed as a paired test using an additional metadata pair-field (permutations are performed only between samples sharing the same pair-field value).

qiime dbbact diff-abundance --i-table cfs-merged.qza --m-metadata-file map.cfs.txt --p-field Subject --p-alpha 0.1 --p-val1 Patient --p-val2 Control --o-diff diff-cfs-dsfdr

Identify and plot enriched dbBact terms between two groups of bacteria

Performed on the output of a differential-abundance test. q2-dbBact supports the following formats:

This command identifies dbBact terms the are significantly more associated with bacteria from one group compared to the other

qiime dbbact enrichment --i-diff diff-cfs-dsfdr.qza --p-source dsfdr --o-enriched enriched-cfs-dsfdr

The output can be visualized (and the complete table saved) using the visualization command:

qiime dbbact plot-enrichment --i-enriched enriched-cfs-dsfdr.qza --o-visualization barplot-enriched-cfs-dsfdr --p-labels CFS Control

enriched barplot

Venn diagram for examining term distribution in the two groups

Input is the results of a differential abundance analysis (which provides two ASV groups - positive and negative effect size), and a dbBact term.

The venn diagram shows how many of the ASVs in each group have the term, as well as how many total dbBact ASVs have the term associated.

qiime dbbact venn --i-diff diff-cfs-dsfdr.qza --p-terms "small village" --p-source dsfdr --p-label1 Control --p-label2 CFS --o-visualization venn-cfs-human-village

venn

Metadata

Release files for q2-dbbact 1.5.0

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

Source distribution (sdist)

Source distribution for q2-dbbact 1.5.0
File Size Uploaded Provenance Actions
q2-dbbact-1.5.0.tar.gz 22.5 kB Without provenance Details for q2-dbbact-1.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for q2-dbbact 1.5.0
File Interpreter ABI Platform Actions
q2_dbbact-1.5.0-py3-none-any.whl Python 3 none any Details for q2_dbbact-1.5.0-py3-none-any.whl

Total release size: 45.0 kB

Release files / q2-dbbact-1.5.0.tar.gz

Download URL q2-dbbact-1.5.0.tar.gz
Size 22.5 kB
Tags Source
SHA-256 checksum
How to use checksums
60e38e1911ab381d752015d5dabdb54b3cbe6c83ef73e272856d9a8c3cb3be8c
BLAKE2b-256 checksum
How to use checksums
12f2a1fda970757170277e373db676f6403794bbe4b557f2e9cdf4e2c416e5a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / q2_dbbact-1.5.0-py3-none-any.whl

Download URL q2_dbbact-1.5.0-py3-none-any.whl
Size 22.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
506a9e1ceb9babfeed9c1f3495cb6b4d04cff8144c9fc3c931aa3869cc739198
BLAKE2b-256 checksum
How to use checksums
7f6dd19ca603cd4b9423564bedbc03c6c8977bb981e1c79890b3aa620e355826
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Security for q2-dbbact 1.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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