BigDataBiology / SemiBin

SemiBin: metagenomics binning with self-supervised deep learning
https://semibin.rtfd.io/
116 stars 10 forks source link

Accept a contigs coverage table generated by another tool #70

Closed fplazaonate closed 2 years ago

fplazaonate commented 2 years ago

Hi!

I was wondering if SemiBin could accept a contigs coverage table generated by another tool (e.g. jgi_summarize_bam_contig_depths) instead of computing it from the bam files?

I think it has several advantages:

luispedro commented 2 years ago

The big thing is that we need to have the full bedtools output with the per base coverage to simulate breaking up the contigs as part of the algorithm; many other tools do not generate this output.

fplazaonate commented 2 years ago

I see. I will try to modify the source code to filter on the fly alignments with a low percentage of identity.