Output Lists of OTUs for Each Group in Separate Files


I am currently looking through the commands and trying to figure out the best command to use to output a fasta or list for each group, that contains all of the OTU’s present within that group. Is the only way to do this to use get.otus for each group individually, or can this be achieved with some other command that I am missing?

Any advice is appreciated!

You can use the split.groups command, https://mothur.org/wiki/split.groups/.

mothur > split.groups(fasta=yourFastaFile, list=yourListFile, count=yourCountFile) - creates a *.fasta, *.list and *.count file for each group

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.