Closed apcamargo closed 4 years ago
Hi,
Thanks for the kind words. jgi_summarize_bam_contig_depths
has been updated from its original form e.g. https://bitbucket.org/berkeleylab/metabat/issues/48 - are you using a new version?
I think you are right about the decimal places - I've fixed this in ada7540 citing you.
I'm using the version in Bioconda. Probably it wasn't updated there.
Thank you for the prompt response!
HI,
OK, maybe that's it. If you have time I'd encourage you to update the bioconda repo and/or report your results here to the metabat peeps - You have a nice reduced BAM files which will make the bug easier to fix on their end, if it is still a problem. Thanks again for the report. Closing now - let me know if there's anything else. ben
On Sat, 8 Feb 2020 at 07:38, Antônio Pedro Camargo notifications@github.com wrote:
I'm using the version in Bioconda. Probably it wasn't updated there.
Thank you for the prompt response!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/wwood/CoverM/issues/19?email_source=notifications&email_token=AAADX5DHC3BCUJZOWTWVVVDRBXIHBA5CNFSM4KRDONI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELEWZNY#issuecomment-583625911, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADX5GFE4Z2CTAOATXMUXDRBXIHBANCNFSM4KRDONIQ .
Ben Woodcroft http://ecogenomic.org/users/ben-woodcroft http://www.ecogenomic.org/
Hi! CheckM produces the mean of four values and jgi_summarize_bam_contig_depths produces the sum. You may easily check it: 22.2811 / 4 = 5.70275; 12.2786 / 4 = 3.06965; and so on.. The values you got with CheckM. Inconsistencies in last cases are due to the reason you mentioned: CheckM store values with more decimal places. Hope that helps!
Hi Ben
I just replaced
jgi_summarize_bam_contig_depths
with CoverM in my binning pipeline (which uses both MetaBat2 and MaxBin2) and I've noticed that my final bins was different from the ones I got before.I prepared reduced BAMs, with just three contigs, and measured coverage with both
jgi_summarize_bam_contig_depths
and CoverM:reduced_bam.zip
As you can see, there are two differences:
totalAvgDepth
differs a lot between the two tools. CoverM got the values right and I don't know howjgi_summarize_bam_contig_depths
computed its results.jgi_summarize_bam_contig_depths
. I think that's the reason the binning performed with CoverM gave me different results.I'm wondering if CoverM should use the same number of decimal cases when using
-m metabat
output, just to keep consistency withjgi_summarize_bam_contig_depths
.Thank you for the great tool!