Hi Mothur group,
I would like to know if there is any command in mothur to get top 50 OTU’s.
Its there for heatmap command but i think not in general for shared file.
Thank you in advance
Hi Mothur group,
I would like to know if there is any command in mothur to get top 50 OTU’s.
Its there for heatmap command but i think not in general for shared file.
Thank you in advance
You could use the split.abund command, http://www.mothur.org/wiki/Split.abund. Just set the cutoff to the size of the 50th OTU.
Thank you for reply!
Just to confirm i did following steps
I did deunique before doing split.abund.
Almost, the cutoff should be the number of sequences in the 51th OTU. OTUs with abundances <= the cutoff are put into the “rare” file. Mothur sorts the OTUs by abundances, so if you look in the shared file at the OTU with the label 51 (OTU**51) and add up the abundances of all the groups, you will have the cutoff value. Here’s a simple example for top 4:
OTU005 -> 277+234+339+471+371+354+267+313+193+343=3162
cutoff=3162 would give you the top 4 OTUs