q2-dbbact


Nameq2-dbbact JSON
Version 1.5.0 PyPI version JSON
download
home_pagehttp://dbbact.org
SummaryA qiime2 (https://qiime2.org/) plugin for dbBact (http://dbbact.org) annotations of microbiome experiments
upload_time2023-04-19 14:19:22
maintainer
docs_urlNone
authordbBact team
requires_python>=3.6
licenseBSD
keywords microbiome qiime2 dbbact database analysis bioinformatics
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # q2-dbbact
A [Qiime2](https://qiime2.org/) plugin for [dbBact](http://dbbact.org)

![wordcloud](https://github.com/amnona/q2-dbbact/blob/main/pics/cfs-wordcloud.jpg)
![enriched barplot](https://github.com/amnona/q2-dbbact/blob/main/pics/enriched_terms.jpg)
![heatmap](https://github.com/amnona/q2-dbbact/blob/main/pics/heatmap.jpg)
 
# Features:
* Differential abundance testing using [Calour](https://github.com/biocore/calour) rank-mean differential abundance test (with [dsFDR](https://escholarship.org/content/qt3j68q5n7/qt3j68q5n7_noSplash_e7ad1cf405f67b9cef0e5a99c1804fd5.pdf) 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](https://github.com/amnona/q2-dbbact/blob/main/pics/heatmap.jpg)

## 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](https://github.com/amnona/q2-dbbact/blob/main/pics/cfs-wordcloud.jpg)

## 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:
* [songbird](https://github.com/biocore/songbird)
* [ancom](https://github.com/qiime2/q2-composition)
* [q2-aldex2](https://library.qiime2.org/plugins/q2-aldex2/24/)
* dbBact diff-abundance
* any tsv file

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](https://github.com/amnona/q2-dbbact/blob/main/pics/enriched_terms.jpg)

## 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](https://github.com/amnona/q2-dbbact/blob/main/pics/venn-cfs-village.png)

            

Raw data

            {
    "_id": null,
    "home_page": "http://dbbact.org",
    "name": "q2-dbbact",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "microbiome qiime2 dbbact database analysis bioinformatics",
    "author": "dbBact team",
    "author_email": "info@dbbact.org",
    "download_url": "https://files.pythonhosted.org/packages/12/f2/a1fda970757170277e373db676f6403794bbe4b557f2e9cdf4e2c416e5a9/q2-dbbact-1.5.0.tar.gz",
    "platform": null,
    "description": "# q2-dbbact\nA [Qiime2](https://qiime2.org/) plugin for [dbBact](http://dbbact.org)\n\n![wordcloud](https://github.com/amnona/q2-dbbact/blob/main/pics/cfs-wordcloud.jpg)\n![enriched barplot](https://github.com/amnona/q2-dbbact/blob/main/pics/enriched_terms.jpg)\n![heatmap](https://github.com/amnona/q2-dbbact/blob/main/pics/heatmap.jpg)\n \n# Features:\n* Differential abundance testing using [Calour](https://github.com/biocore/calour) rank-mean differential abundance test (with [dsFDR](https://escholarship.org/content/qt3j68q5n7/qt3j68q5n7_noSplash_e7ad1cf405f67b9cef0e5a99c1804fd5.pdf) correction).\n* dbBact term enrichment from differntial abundance results of qiime2 (i.e. songbird/q2-aldex2/ancom/dacomp or the built in rank-mean test).\n* Create a wordcloud of dbBact terms for a given feature table.\n* Generate an interactive heatmap visualization for a feature table. The heatmap provides links to dbBact annotations for each ASV.\n* Generate Venn diagram for a differential abundance result and a given dbBact term.\n* 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).\n\n# Examples:\n## Run the q2-dbBact enrichment pipeline for a given feature table:\nOur input is a feature table and a metadata file with a given column dividing our samples into two groups.\n\nq2-dbBact will detect ASVs different between the two groups, and identify dbBact terms enriched in one of the two groups compared to the other\n\n``` qiime dbbact enrich-pipeline --i-table cfs-merged.qza --m-metadata-file map.cfs.txt --p-field Subject --output-dir cfs-pipeline```\n\n## Draw an interactive heatmap\nThis 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.)\n\nOur input is a feature table and a metadata file with a given column dividing our samples into two groups.\n\n```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```\n\n![heatmap](https://github.com/amnona/q2-dbbact/blob/main/pics/heatmap.jpg)\n\n## Draw a dbBact terms wordcloud for the set of bacteria in a feature-table\nThe wordcloud is created for all the bacteria in the feature table.\n\nThe 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).\n\n```qiime dbbact draw-wordcloud-vis --i-data cfs-table.qza --i-repseqs cfs-rep-seqs.qza --o-visualization wordcloud-cfs```\n\n![wordcloud](https://github.com/amnona/q2-dbbact/blob/main/pics/cfs-wordcloud.jpg)\n\n## Identify differentially abundant bacteria between two sample groups\nq2-dbBact utilizes the non-parametric (permutation based) Calour diff_abundance() function. By default it uses a rank-mean test with dsFDR multiple hypothesis correction.\n\nThe 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).\n\n```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```\n\n## Identify and plot enriched dbBact terms between two groups of bacteria\nPerformed on the output of a differential-abundance test. q2-dbBact supports the following formats:\n* [songbird](https://github.com/biocore/songbird)\n* [ancom](https://github.com/qiime2/q2-composition)\n* [q2-aldex2](https://library.qiime2.org/plugins/q2-aldex2/24/)\n* dbBact diff-abundance\n* any tsv file\n\nThis command identifies dbBact terms the are significantly more associated with bacteria from one group compared to the other\n\n```qiime dbbact enrichment --i-diff diff-cfs-dsfdr.qza --p-source dsfdr --o-enriched enriched-cfs-dsfdr```\n\nThe output can be visualized (and the complete table saved) using the visualization command:\n\n```qiime dbbact plot-enrichment --i-enriched enriched-cfs-dsfdr.qza --o-visualization barplot-enriched-cfs-dsfdr --p-labels CFS Control```\n\n![enriched barplot](https://github.com/amnona/q2-dbbact/blob/main/pics/enriched_terms.jpg)\n\n## Venn diagram for examining term distribution in the two groups\nInput is the results of a differential abundance analysis (which provides two ASV groups - positive and negative effect size), and a dbBact term.\n\nThe 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.\n\n```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```\n\n![venn](https://github.com/amnona/q2-dbbact/blob/main/pics/venn-cfs-village.png)\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "A qiime2 (https://qiime2.org/) plugin for dbBact (http://dbbact.org) annotations of microbiome experiments",
    "version": "1.5.0",
    "split_keywords": [
        "microbiome",
        "qiime2",
        "dbbact",
        "database",
        "analysis",
        "bioinformatics"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7f6dd19ca603cd4b9423564bedbc03c6c8977bb981e1c79890b3aa620e355826",
                "md5": "dd37acec2fb976ee1588c55400389f7c",
                "sha256": "506a9e1ceb9babfeed9c1f3495cb6b4d04cff8144c9fc3c931aa3869cc739198"
            },
            "downloads": -1,
            "filename": "q2_dbbact-1.5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "dd37acec2fb976ee1588c55400389f7c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 22538,
            "upload_time": "2023-04-19T14:19:20",
            "upload_time_iso_8601": "2023-04-19T14:19:20.014874Z",
            "url": "https://files.pythonhosted.org/packages/7f/6d/d19ca603cd4b9423564bedbc03c6c8977bb981e1c79890b3aa620e355826/q2_dbbact-1.5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "12f2a1fda970757170277e373db676f6403794bbe4b557f2e9cdf4e2c416e5a9",
                "md5": "0fbc21aa462b57f97bb6ca0e85f51aa1",
                "sha256": "60e38e1911ab381d752015d5dabdb54b3cbe6c83ef73e272856d9a8c3cb3be8c"
            },
            "downloads": -1,
            "filename": "q2-dbbact-1.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "0fbc21aa462b57f97bb6ca0e85f51aa1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 22454,
            "upload_time": "2023-04-19T14:19:22",
            "upload_time_iso_8601": "2023-04-19T14:19:22.002410Z",
            "url": "https://files.pythonhosted.org/packages/12/f2/a1fda970757170277e373db676f6403794bbe4b557f2e9cdf4e2c416e5a9/q2-dbbact-1.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-19 14:19:22",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "q2-dbbact"
}
        
Elapsed time: 0.13534s