graphbin2


Namegraphbin2 JSON
Version 1.2.3 PyPI version JSON
download
home_pageNone
SummaryGraphBin2: Refined and Overlapped Binning of Metagenomic Contigs Using Assembly Graphs
upload_time2024-04-22 07:00:48
maintainerNone
docs_urlNone
authorNone
requires_python<3.13,>=3.9
licenseNone
keywords metagenomics binning contigs bioinformatics
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
  <img src="https://raw.githubusercontent.com/metagentools/GraphBin2/master/GraphBin2_Logo.png" width="450" title="GraphBin2 Logo" alt="GraphBin2 Logo">
</p>

# GraphBin2: Refined and Overlapped Binning of Metagenomic Contigs Using Assembly Graphs

[![DOI](https://img.shields.io/badge/DOI-10.4230/LIPIcs.WABI.2020.8-informational)](https://doi.org/10.4230/LIPIcs.WABI.2020.8)
[![DOI](https://img.shields.io/badge/DOI-10.1186/s13015--021--00185--6-yellow)](https://doi.org/10.1186/s13015-021-00185-6)
[![DOI](https://zenodo.org/badge/262936904.svg)](https://zenodo.org/badge/latestdoi/262936904)

[![CI](https://github.com/metagentools/GraphBin2/actions/workflows/testing.yml/badge.svg)](https://github.com/metagentools/GraphBin2/actions/workflows/testing.yml)
![GitHub](https://img.shields.io/github/license/Vini2/GraphBin2)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![CodeQL](https://github.com/metagentools/GraphBin2/actions/workflows/codeql.yml/badge.svg)](https://github.com/metagentools/GraphBin2/actions/workflows/codeql.yml)
[![Documentation Status](https://readthedocs.org/projects/graphbin2/badge/?version=latest)](https://graphbin2.readthedocs.io/en/latest/?badge=latest)


GraphBin2 is an extension of [GraphBin](https://github.com/Vini2/GraphBin) which refines the binning results obtained from existing tools and, more importantly, is able to assign contigs to multiple bins. GraphBin2 uses the connectivity and coverage information from assembly graphs to adjust existing binning results on contigs and to infer contigs shared by multiple species.

**Note:** Due to recent requests from the community, we have added support for long-read assemblies produced from Flye. Please note that GraphBin2 has not been tested extensively on long-read assemblies. We originally developed GraphBin2 for short-read assemblies. Long-read assemblies might have sparsely connected graphs which can make the label propagation process less effective and may not result in improvements.

## Getting Started

### Downloading GraphBin2
You can download the latest release of GraphBin2 from [Releases](https://github.com/Vini2/GraphBin2/releases) or clone the GraphBin2 repository to your machine.

```bash
git clone https://github.com/Vini2/GraphBin2.git
```

If you have downloaded a release, you will have to extract the files using the following command.

```bash
unzip [file_name].zip
```

Now go in to the GraphBin2 folder using the command

```bash
cd GraphBin2/
```

### Setting up the environment

We recommend that you use [Conda](https://docs.conda.io/en/latest/) to run GraphBin2. You can download [Anaconda](https://www.anaconda.com/distribution/) or [Miniconda](https://docs.conda.io/en/latest/miniconda.html) which contains Conda.

Once you have installed Conda, make sure you are in the GraphBin2 folder. Now run the following commands to create a Conda environment and activate it to run GraphBin2.

```bash
conda env create -f environment.yml
conda activate graphbin2
```

Now install GraphBin2 using the following command.

```bash
flit install
```

### Test the setup

After installing, run the following command to ensure that GraphBin2 is working.

```bash
graphbin2 -h
```

Now you are ready to run GraphBin2.


## Citation

GraphBin2 was accepted for publication at the 20th International Workshop on Algorithms in Bioinformatics ([WABI 2020](http://algo2020.di.unipi.it/WABI2020/)) and is published in [Leibniz International Proceedings in Informatics (LIPIcs)](https://www.dagstuhl.de/dagpub/978-3-95977-161-0) DOI: [10.4230/LIPIcs.WABI.2020.8](https://doi.org/10.4230/LIPIcs.WABI.2020.8). 

An extended journal article of GraphBin2 has been published in BMC Algorithms for Molecular Biology at DOI: [10.1186/s13015-021-00185-6](https://doi.org/10.1186/s13015-021-00185-6).

If you use GraphBin2 in your work, please cite the following publications.

```bibtex
@InProceedings{mallawaarachchi_et_al:LIPIcs:2020:12797,
  author =	{Vijini G. Mallawaarachchi and Anuradha S. Wickramarachchi and Yu Lin},
  title =	{{GraphBin2: Refined and Overlapped Binning of Metagenomic Contigs Using Assembly Graphs}},
  booktitle =	{20th International Workshop on Algorithms in Bioinformatics (WABI 2020)},
  pages =	{8:1--8:21},
  series =	{Leibniz International Proceedings in Informatics (LIPIcs)},
  ISBN =	{978-3-95977-161-0},
  ISSN =	{1868-8969},
  year =	{2020},
  volume =	{172},
  editor =	{Carl Kingsford and Nadia Pisanti},
  publisher =	{Schloss Dagstuhl--Leibniz-Zentrum f{\"u}r Informatik},
  address =	{Dagstuhl, Germany},
  URL =		{https://drops.dagstuhl.de/opus/volltexte/2020/12797},
  URN =		{urn:nbn:de:0030-drops-127974},
  doi =		{10.4230/LIPIcs.WABI.2020.8},
  annote =	{Keywords: Metagenomics binning, contigs, assembly graphs, overlapped binning}
}

@Article{Mallawaarachchi2021,
  author={Mallawaarachchi, Vijini G. and Wickramarachchi, Anuradha S. and Lin, Yu},
  title={Improving metagenomic binning results with overlapped bins using assembly graphs},
  journal={Algorithms for Molecular Biology},
  year={2021},
  month={May},
  day={04},
  volume={16},
  number={1},
  pages={3},
  abstract={Metagenomic sequencing allows us to study the structure, diversity and ecology in microbial communities without the necessity of obtaining pure cultures. In many metagenomics studies, the reads obtained from metagenomics sequencing are first assembled into longer contigs and these contigs are then binned into clusters of contigs where contigs in a cluster are expected to come from the same species. As different species may share common sequences in their genomes, one assembled contig may belong to multiple species. However, existing tools for binning contigs only support non-overlapped binning, i.e., each contig is assigned to at most one bin (species).},
  issn={1748-7188},
  doi={10.1186/s13015-021-00185-6},
  url={https://doi.org/10.1186/s13015-021-00185-6}
}
```

## Funding

GraphBin2 is funded by an [Essential Open Source Software for Science Grant](https://chanzuckerberg.com/eoss/proposals/cogent3-python-apis-for-iq-tree-and-graphbin-via-a-plug-in-architecture/) from the Chan Zuckerberg Initiative.

<p align="left">
  <img src="https://chanzuckerberg.com/wp-content/themes/czi/img/logo.svg" width="300">
</p>


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "graphbin2",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.13,>=3.9",
    "maintainer_email": null,
    "keywords": "metagenomics, binning, contigs, bioinformatics",
    "author": null,
    "author_email": "Vijini Mallawaarachchi <viji.mallawaarachchi@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/91/4b/b2967bb90bfb0f40ef18b41525e2131c1dd857e9b010d64c77d7a95e3cb1/graphbin2-1.2.3.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/metagentools/GraphBin2/master/GraphBin2_Logo.png\" width=\"450\" title=\"GraphBin2 Logo\" alt=\"GraphBin2 Logo\">\n</p>\n\n# GraphBin2: Refined and Overlapped Binning of Metagenomic Contigs Using Assembly Graphs\n\n[![DOI](https://img.shields.io/badge/DOI-10.4230/LIPIcs.WABI.2020.8-informational)](https://doi.org/10.4230/LIPIcs.WABI.2020.8)\n[![DOI](https://img.shields.io/badge/DOI-10.1186/s13015--021--00185--6-yellow)](https://doi.org/10.1186/s13015-021-00185-6)\n[![DOI](https://zenodo.org/badge/262936904.svg)](https://zenodo.org/badge/latestdoi/262936904)\n\n[![CI](https://github.com/metagentools/GraphBin2/actions/workflows/testing.yml/badge.svg)](https://github.com/metagentools/GraphBin2/actions/workflows/testing.yml)\n![GitHub](https://img.shields.io/github/license/Vini2/GraphBin2)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![CodeQL](https://github.com/metagentools/GraphBin2/actions/workflows/codeql.yml/badge.svg)](https://github.com/metagentools/GraphBin2/actions/workflows/codeql.yml)\n[![Documentation Status](https://readthedocs.org/projects/graphbin2/badge/?version=latest)](https://graphbin2.readthedocs.io/en/latest/?badge=latest)\n\n\nGraphBin2 is an extension of [GraphBin](https://github.com/Vini2/GraphBin) which refines the binning results obtained from existing tools and, more importantly, is able to assign contigs to multiple bins. GraphBin2 uses the connectivity and coverage information from assembly graphs to adjust existing binning results on contigs and to infer contigs shared by multiple species.\n\n**Note:** Due to recent requests from the community, we have added support for long-read assemblies produced from Flye. Please note that GraphBin2 has not been tested extensively on long-read assemblies. We originally developed GraphBin2 for short-read assemblies. Long-read assemblies might have sparsely connected graphs which can make the label propagation process less effective and may not result in improvements.\n\n## Getting Started\n\n### Downloading GraphBin2\nYou can download the latest release of GraphBin2 from [Releases](https://github.com/Vini2/GraphBin2/releases) or clone the GraphBin2 repository to your machine.\n\n```bash\ngit clone https://github.com/Vini2/GraphBin2.git\n```\n\nIf you have downloaded a release, you will have to extract the files using the following command.\n\n```bash\nunzip [file_name].zip\n```\n\nNow go in to the GraphBin2 folder using the command\n\n```bash\ncd GraphBin2/\n```\n\n### Setting up the environment\n\nWe recommend that you use [Conda](https://docs.conda.io/en/latest/) to run GraphBin2. You can download [Anaconda](https://www.anaconda.com/distribution/) or [Miniconda](https://docs.conda.io/en/latest/miniconda.html) which contains Conda.\n\nOnce you have installed Conda, make sure you are in the GraphBin2 folder. Now run the following commands to create a Conda environment and activate it to run GraphBin2.\n\n```bash\nconda env create -f environment.yml\nconda activate graphbin2\n```\n\nNow install GraphBin2 using the following command.\n\n```bash\nflit install\n```\n\n### Test the setup\n\nAfter installing, run the following command to ensure that GraphBin2 is working.\n\n```bash\ngraphbin2 -h\n```\n\nNow you are ready to run GraphBin2.\n\n\n## Citation\n\nGraphBin2 was accepted for publication at the 20th International Workshop on Algorithms in Bioinformatics ([WABI 2020](http://algo2020.di.unipi.it/WABI2020/)) and is published in [Leibniz International Proceedings in Informatics (LIPIcs)](https://www.dagstuhl.de/dagpub/978-3-95977-161-0) DOI: [10.4230/LIPIcs.WABI.2020.8](https://doi.org/10.4230/LIPIcs.WABI.2020.8). \n\nAn extended journal article of GraphBin2 has been published in BMC Algorithms for Molecular Biology at DOI: [10.1186/s13015-021-00185-6](https://doi.org/10.1186/s13015-021-00185-6).\n\nIf you use GraphBin2 in your work, please cite the following publications.\n\n```bibtex\n@InProceedings{mallawaarachchi_et_al:LIPIcs:2020:12797,\n  author =\t{Vijini G. Mallawaarachchi and Anuradha S. Wickramarachchi and Yu Lin},\n  title =\t{{GraphBin2: Refined and Overlapped Binning of Metagenomic Contigs Using Assembly Graphs}},\n  booktitle =\t{20th International Workshop on Algorithms in Bioinformatics (WABI 2020)},\n  pages =\t{8:1--8:21},\n  series =\t{Leibniz International Proceedings in Informatics (LIPIcs)},\n  ISBN =\t{978-3-95977-161-0},\n  ISSN =\t{1868-8969},\n  year =\t{2020},\n  volume =\t{172},\n  editor =\t{Carl Kingsford and Nadia Pisanti},\n  publisher =\t{Schloss Dagstuhl--Leibniz-Zentrum f{\\\"u}r Informatik},\n  address =\t{Dagstuhl, Germany},\n  URL =\t\t{https://drops.dagstuhl.de/opus/volltexte/2020/12797},\n  URN =\t\t{urn:nbn:de:0030-drops-127974},\n  doi =\t\t{10.4230/LIPIcs.WABI.2020.8},\n  annote =\t{Keywords: Metagenomics binning, contigs, assembly graphs, overlapped binning}\n}\n\n@Article{Mallawaarachchi2021,\n  author={Mallawaarachchi, Vijini G. and Wickramarachchi, Anuradha S. and Lin, Yu},\n  title={Improving metagenomic binning results with overlapped bins using assembly graphs},\n  journal={Algorithms for Molecular Biology},\n  year={2021},\n  month={May},\n  day={04},\n  volume={16},\n  number={1},\n  pages={3},\n  abstract={Metagenomic sequencing allows us to study the structure, diversity and ecology in microbial communities without the necessity of obtaining pure cultures. In many metagenomics studies, the reads obtained from metagenomics sequencing are first assembled into longer contigs and these contigs are then binned into clusters of contigs where contigs in a cluster are expected to come from the same species. As different species may share common sequences in their genomes, one assembled contig may belong to multiple species. However, existing tools for binning contigs only support non-overlapped binning, i.e., each contig is assigned to at most one bin (species).},\n  issn={1748-7188},\n  doi={10.1186/s13015-021-00185-6},\n  url={https://doi.org/10.1186/s13015-021-00185-6}\n}\n```\n\n## Funding\n\nGraphBin2 is funded by an [Essential Open Source Software for Science Grant](https://chanzuckerberg.com/eoss/proposals/cogent3-python-apis-for-iq-tree-and-graphbin-via-a-plug-in-architecture/) from the Chan Zuckerberg Initiative.\n\n<p align=\"left\">\n  <img src=\"https://chanzuckerberg.com/wp-content/themes/czi/img/logo.svg\" width=\"300\">\n</p>\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "GraphBin2: Refined and Overlapped Binning of Metagenomic Contigs Using Assembly Graphs",
    "version": "1.2.3",
    "project_urls": {
        "Home": "https://github.com/metagentools/GraphBin2"
    },
    "split_keywords": [
        "metagenomics",
        " binning",
        " contigs",
        " bioinformatics"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7b6108c8dfc5ec9f3c5e9ac2cb53c59c52314f8031fa2ebd1b97b7e75eb067a9",
                "md5": "45272fed83baf6725db6e91de64adb75",
                "sha256": "599a76911524c37fef9a93fb3be433e689595aaa3f26f29d76fadd35ff7b281f"
            },
            "downloads": -1,
            "filename": "graphbin2-1.2.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "45272fed83baf6725db6e91de64adb75",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.13,>=3.9",
            "size": 32052,
            "upload_time": "2024-04-22T07:00:46",
            "upload_time_iso_8601": "2024-04-22T07:00:46.787514Z",
            "url": "https://files.pythonhosted.org/packages/7b/61/08c8dfc5ec9f3c5e9ac2cb53c59c52314f8031fa2ebd1b97b7e75eb067a9/graphbin2-1.2.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "914bb2967bb90bfb0f40ef18b41525e2131c1dd857e9b010d64c77d7a95e3cb1",
                "md5": "c65d49ac220f3f0352e0710bda1f4b8f",
                "sha256": "2b39ac262bc9dddf5e22e76b6b35a740736cb09108bc4bb82aefd1d0b3e5519d"
            },
            "downloads": -1,
            "filename": "graphbin2-1.2.3.tar.gz",
            "has_sig": false,
            "md5_digest": "c65d49ac220f3f0352e0710bda1f4b8f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.13,>=3.9",
            "size": 903494,
            "upload_time": "2024-04-22T07:00:48",
            "upload_time_iso_8601": "2024-04-22T07:00:48.704511Z",
            "url": "https://files.pythonhosted.org/packages/91/4b/b2967bb90bfb0f40ef18b41525e2131c1dd857e9b010d64c77d7a95e3cb1/graphbin2-1.2.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-22 07:00:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "metagentools",
    "github_project": "GraphBin2",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "graphbin2"
}
        
Elapsed time: 0.23612s