Count data instead of normalized relative abundance

294 views
Skip to first unread message

Muntsa Rocafort

unread,
Jul 21, 2015, 6:43:03 AM7/21/15
to metaphl...@googlegroups.com
Hello,

I am quite new using Metaphlan2 and I would like to know if there is any way using Metaphlan2 to get the biom file with count data instead of normalized relative abundance. In a previous post someone asked a similar question but the answer given did not work for me as the count_marker option does not seem to exist.

I just need to be able to calculate richness and diversity using R phyloseq package but it does not accept non-integers values (i.e. relative abundances).

Thank you

Nicola Segata

unread,
Jul 21, 2015, 7:01:32 AM7/21/15
to Muntsa Rocafort, metaphl...@googlegroups.com
Hi Muntsa,
 because of how MetaPhlAn works (i.e. by estimating the coverage on marker genes), count data cannot be natively supported. But with the biom or abundance file, what you can do is to multiply all the values for, say, 1M and convert them to integer numbers. As long as the richness and diversity measure you use are scale-invariant, this will do the trick.
I hope it helps
Nicola

--
You received this message because you are subscribed to the Google Groups "MetaPhlAn-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to metaphlan-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages