I have generated a .sharedotus file, using the venn command. I now have a list of OTUs which are shared between all of my samples, which is great because I want to identify a “core” microbiome. However, is there a command that can be used to attach the respective classifications to these OTUs?
Could you specify for me what file I need to add for the template and taxonomy parameters of the classify.seqs command? I get some pretty alarming error messages when progressing onto classify.otus after this command, so would be great if you could confirm this.
So if you are doing something similar to Pat’s example analysis, http://www.mothur.org/wiki/Schloss_SOP, the classify.seqs command would look something like:
You want to classify your OTUs using the final.taxonomy file, which has the contaminants removed. If you continue along the SOP, the classify.otu command should look something like:
Thanks for your reply, and this did confirm what I was entering previously.
I get long clusters of error messages which include:
[ERROR]: Otu1278 is missing the final ‘;’, ignoring.
[ERROR]:Bacteria(100);unclassified(100);unclassified(100);unclassified(100);unclassified(100);unclassified(100); is missing the final ‘;’, ignoring.
[ERROR]: 1 is already in your taxonomy file, names must be unique.
Apologies for another post, but I am getting myself tied in a knot over this!
After generating a .sharedotus file, is it possible to take this file directly forward and assign taxonomy to the shared otus? Or, would I need to somehow generate a group file for the shared otus?
Perhaps I should clarify what I would like to do here…
I have three gut lumen samples, of which there are 200 shared OTUs between all samples. I would like to generate a list of these 200 shared OTUs, and then assign taxonomy to them - therefore, giving me an idea of the bacteria which may be shared in this environment.
As yet, I can’t seem to find a way to do this. Sorry if I’m missing something obvious!
Have you run the classify.otu command for your whole data set?
Do you now have the consensus taxonomy of your OTUs?
As you know the OTU numbers of your shared OTUs can you just look at those OTUs in the consensus taxonomy (e.g. open the consensus taxonomy in excel) and there you will find the information you need.
Thank you for your reply. Yes, I have the consensus taxonomy for my whole dataset and I know that there are 262 shared OTUs between all samples. However, how can I identify which OTU numbers are the ones which are shared?
Hi, I have not used venn-command but according to this, http://www.mothur.org/wiki/Venn#sharedotus, you should have the OTU labels that are shared among groups in the sharedsobs.sharedotus - file.
I’m having the same issue as above - I have generated a .sharedotus file, and it contains hundreds of OTU’s - and this is just for one comparison I’m doing. It seems like there has to be a better way to convert the list of OTU’s to a taxonomy, since I already have all of the information and just need to do the mapping…is there?
mothur > get.sharedseqs(shared=yourSharedFile, uniquegroups=group1-group2, label=yourLabel, output=accnos) - list OTU names in overlap in venn diagram. You can use various settings with unique groups and sharedgroups to find the different parts of the venn diagram.
mothur > get.otulabels(constaxonomy=yourConstaxonomyfile, accnos=accnosFileFromGetSharedSeqs) - select those Otus from constaxonomy file