We will be offering an R workshop December 18-20, 2019. Learn more.


From mothur
Revision as of 16:17, 12 April 2016 by Westcott (Talk | contribs)

Jump to: navigation, search

The get.otus command selects otus containing sequences from a specific group or set of groups.

Default Settings

The groups or accnos parameter is required. The command will generate a *.pick.* file.

mothur > get.otus(groups=B-C, group=esophagus.groups, list=esophagus.fn.list, label=0.03)

or you may wish to list your groups in a file instead of manually typing them. This can be done by using an accnos file.

mothur > get.otus(accnos=esophagus.groups.accnos, group=esophagus.groups, list=esophagus.fn.list, label=0.03) 

Both commands will output a new esophagus.fn.pick.0.03.list containing the 66 otus with sequences in groups B or C, and well as esophagus.pick.0.03.groups.



The constaxonomy parameter is used to input the results of the classify.otu command.

mothur > get.otus(accnos=final.an.0.03.subsample.0.03.pick.0.03.otulabels, constaxonomy=final.an.0.03cons.taxonomy)

The final.an.0.03cons.taxonomy contains 684 otus, but the get.otulabels command selected the 598 otus from the accnos file.


The otucorr parameter is used to input the results of the otu.association command.

mothur > get.otus(accnos=final.an.0.03.subsample.0.03.pick.0.03.otulabels, otucorr=final.an.0.03.subsample.0.03.pick.0.03.pearson.otu.corr)


The corraxes parameter is used to input the results of the corr.axes command.

mothur > get.otus(accnos=final.an.0.03.subsample.0.03.pick.0.03.otulabels, corraxes=final.an.0.03.subsample.0.03.pick.pearson.corr.axes)


The list parameter allows you to input a list file you wish to select OTUs from.


The shared parameter allows you to input a shared file you wish to select OTUs from.

mothur > get.otus(groups=B-C, shared=esophagus.fn.shared, label=0.03)


  • 1.37.0 Merged functionality of get.otulabels command.