Skip to content

cucpbioinfo/CoCoBin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CoCoBin: Graph-Based Metagenomic Binning via Composition–Coverage Separation

The CoCoBin is a multi-stage binning method designed to enhance metagenomic analysis. It proceeds through the following stages: (1) assembling reads into contigs, (2) extracting compositional features, (3) computing contig similarity, (4) structuring complex networks, and (5) clustering. This study primarily focuses on the contig similarity computation stage, a critical component of the binning process. Contigs are initially grouped based on their length ranges. Similarity between contigs is then calculated using a combination of compositional similarity and coverage difference. This hybrid similarity metric, when integrated with the Louvain clustering algorithm, demonstrates strong performance in terms of the number of bins identified.

Installation

  1. First clone the CoCoBin repository to a local directory. Note that CoCoBin only supports linux.
git clone https://github.com/cucpbioinfo/CoCoBin.git
cd Metagenomic-Binning/Binning_project/
pip install .
  1. Then run following command to run the tool.
binning-run contigs.fasta 4Mer_Composition

Required File Formats

  1. Contig File The contig file from the metaSPAdes tool contains the genomes in the following format.
>NODE_1_length_1189502_cov_16.379288
AAGCCTCTCACCCAAGCCCCGGATGAACAACCTTCATAGCTTCGACATCTAGAGCAGCCG
>NODE_2_length_1127036_cov_16.549343
ACAGGCCCACAATGCATTAGACACAAGCCGGACCACTCAATAGGGGCAGGTCACGGGTGA
>NODE_3_length_1009819_cov_16.436396
TCCAAAGGCTCAAAAAGCCTACTTCACGGAGGACCACTTTTCAGGGGGCAGGCCACGCTC
  1. Composition Features File Run the following command in the iLearn tool to access the Composition features file.
python descnucleotide/RCKmer.py --file contigs.fasta --kmer 4 --normalize --format csv --out 4Mer_Composition

About

Metagenomic Binning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages