RasmussenLab / phamb

Downstream processing of VAMB binning for Viral Elucidation
MIT License
44 stars 8 forks source link

Suggestion : add checkv step beforehand to remove complete genomes #34

Open michoug opened 2 years ago

michoug commented 2 years ago

Hi, I compared the results that I obtained using vibrant contigs before and after running phamb using checkv

Before checkv_quality n mean sum max
Complete 557 46179.5 25721993 373392
High-quality 413 44008.8 18175622 275626

After

checkv_quality n mean sum max
Complete 351 54600 19164596 197996
High-quality 975 72413.1 70602775 622104

Where mean is the mean of contig length, sum is the total length of all contigs and max is the maximum size of the biggest “virus”.

This suggests to me that phamb wants to combine contigs even if they are considered "complete". Maybe adding a checkv step beforehand to remove the complete ones from the phamb analysis could be useful?

joacjo commented 2 years ago

Hi Greg

Yes, I have seen cases where VAMB clustering results in complete virus contigs (DTR presence) are binned with unrelated contigs (not very frequent though), i.e. bin contamination. Based on your results, it looks like it is a matter of 557-351=206 complete virus contigs that ends up in a HQ bin, is my interpretation correct?

I would appreciate your thoughts on this, thanks!

Best, Joachim

kellifeeser commented 2 years ago

Regarding the above issue, I have found a few hundred contigs representing complete viral genomes (based off CheckV - DTR presence and high confidence only). I am using both VAMB and PHAMB. My questions are:

1) When would be the best time to remove these contigs from the dataset? 2) When would be the best time to add them back in (and how)?