GraphBin2: Refined and Overlapped Binning of Metagenomic Contigs Using Assembly Graphs
Project description
GraphBin2: Refined and Overlapped Binning of Metagenomic Contigs Using Assembly Graphs
GraphBin2 is an extension of 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.
NEW: GraphBin2 is now available on PyPI at https://pypi.org/project/graphbin2/.
Getting Started
Downloading GraphBin2
You can download the latest release of GraphBin2 from Releases or clone the GraphBin2 repository to your machine.
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.
unzip [file_name].zip
Now go in to the GraphBin2 folder using the command
cd GraphBin2/
Setting up the environment
We recommend that you use Conda to run GraphBin2. You can download Anaconda or Miniconda 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.
conda env create -f environment.yml
conda activate graphbin2
Now install GraphBin2 using the following command.
flit install
Test the setup
After installing, run the following command to ensure that GraphBin2 is working.
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) and is published in Leibniz International Proceedings in Informatics (LIPIcs) DOI: 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.
If you use GraphBin2 in your work, please cite the following publications.
@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 from the Chan Zuckerberg Initiative.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file graphbin2-1.3.1.tar.gz
.
File metadata
- Download URL: graphbin2-1.3.1.tar.gz
- Upload date:
- Size: 902.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd939b5657d784906c5d0ed0499b8e3f57e3a08b28b364824561cc37109ec671 |
|
MD5 | 60c3a60d75327ca6dc2e4f3018cf70ba |
|
BLAKE2b-256 | 59dad33d355049bdbb1f9ef4cbc314a8e38d3b18ff1dda204d3f43ca155d7a1d |
File details
Details for the file graphbin2-1.3.1-py3-none-any.whl
.
File metadata
- Download URL: graphbin2-1.3.1-py3-none-any.whl
- Upload date:
- Size: 30.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d8d99c841460a975492ee7b8805afca8d7036e57eeb405be31bc0772e89da47 |
|
MD5 | 2949063ad179daca9f8d27488cfd0623 |
|
BLAKE2b-256 | cbc55a961f4e102ab136a140cdfc89bc255bc410598e4d002d01f9f51e3a049b |