Hi everyone! How do you handle circular MAGs? I am...
# mag
o
Hi everyone! How do you handle circular MAGs? I am specifically interested in cases of hybrid assemblies 😊
j
I don't know if we explicitly do....
@Diego Alvarez Saravia?
d
In mag we don't do everything special with circularized contigs
👍 1
o
ok 😅 But would this be something worth considering? I see that @Jim Downie also suggested this enhancement github.com/nf-core/mag/issues/1097
j
In our pipeline (github.com/sanger-tol/metagenomeassembly) I do directly extract circular contigs as MAGs prior to binning. But that’s long-read only and not hybrid. I have some reservations about the approach: 1. We treat circularity as “complete”, but there could be premature circularisation during assembly and there are other fragments that are lost, or there could be more than 1 bacterial chromosome in a genome 2. We don’t have a good way to similarly identify “complete” linear bacterial genomes, so these go through the binning process. Not sure that either of the above is a showstopper, and I think the risks of adding contamination to circular genomes when binning are probably greater
t
We have a similar approach as Jim’s in our pipeline: github.com/dsamoht/mag-ont. Long contigs (>=500k) are passed to Checkm2 prior to binning. If they are flagged >90% complete, we put the contigs directly in the final bins set. These thresholds are arbitrary (90% completeness to match MIMAG’s high quality). I find it quite conservative and could be easily implemented
j
You don't check for circularity, just length?
t
Yes just length, I let the users check for circularity afterwards. I was planning to add circularity checkpoints but I had too reservation about premature circularisation or erroneous flags by Flye.