# Searching for command...

**URL:** <https://forum.mothur.org/t/searching-for-command/1444>\
**Category:** Commands in mothur\
**Created:** [July 29, 2013, 7:58pm UTC](https://forum.mothur.org/t/searching-for-command/1444 "2013-07-29T19:58:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cvilleresler](https://avatars.discourse-cdn.com/v4/letter/c/f17d59/32.png) [@cvilleresler](https://forum.mothur.org/u/cvilleresler)\
**Post date:** [July 29, 2013, 7:58pm UTC](https://forum.mothur.org/t/searching-for-command/1444/1 "2013-07-29T19:58:50Z")

</div>

Hello,

I have been looking around in the manual but cannot seem to find a command to complete a task I’d like to do.

When we had our data sequenced, we got our raw data back, as well as some processing of it. Some of the analyzed files gave us our OTU counts for different samples, for different levels of taxa, in specific lineages. For example, at the phylum level:  
\_\_\_\_\_\_\_\_\_\_\_\_\_\_ sample 1\_\_\_\_ sample 2\_\_\_sample 3 …  
bacteroidetes\_\_\_\_\_\_ X \_\_\_\_\_\_\_\_\_ X \_\_\_\_\_\_\_\_ X  
spirochaetes \_\_\_\_\_\_ X \_\_\_\_\_\_\_\_\_ X\_\_\_\_\_\_\_\_\_ X  
proteobacteria \_\_\_\_ X \_\_\_\_\_\_\_\_\_ X\_\_\_\_\_\_\_\_\_ X  
…

or genus:  
\_\_\_\_\_\_\_\_\_\_\_\_\_\_ sample 1\_\_\_\_ sample 2\_\_\_sample 3 …  
clostridium\_\_\_\_\_\_\_ X \_\_\_\_\_\_\_\_\_ X \_\_\_\_\_\_\_\_ X  
roseburia \_\_\_\_\_\_\_\_ X \_\_\_\_\_\_\_\_\_ X\_\_\_\_\_\_\_\_\_ X  
pseudomonas\_\_\_\_\_ X \_\_\_\_\_\_\_\_\_ X\_\_\_\_\_\_\_\_\_ X  
…

Is there a command that I have overlooked in order to make such an output at different taxa? I would really like to compare the analysis that they did to the results from my own run-through of the SOP.

Thanks

---

<div class="post-metadata">

**Author:** ![somi06](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@somi06](https://forum.mothur.org/u/somi06)\
**Post date:** [July 30, 2013, 7:41am UTC](https://forum.mothur.org/t/searching-for-command/1444/2 "2013-07-30T07:41:43Z")

</div>

Do you want OTUs or number of sequences from each sample?

I usually do:  
classify.seqs  
OR  
classify.otu  
BUT include the group file in there.

If you open the tax.summary file you should hopefully get what you want…

---

<div class="post-metadata">

**Author:** ![cvilleresler](https://avatars.discourse-cdn.com/v4/letter/c/f17d59/32.png) [@cvilleresler](https://forum.mothur.org/u/cvilleresler)\
**Post date:** [July 30, 2013, 1:06pm UTC](https://forum.mothur.org/t/searching-for-command/1444/3 "2013-07-30T13:06:08Z")

</div>

Thank you for your help!

It appears that the classify.seqs tax.summary file was pretty close to what I need. I would still prefer to have each taxa in its own file/sheet. I don’t see any options in the file command that would let me pick out my taxon of choice. I could always cut and paste in Excel the taxon into their own sheet, but if there is another easier way I would be very happy to be enlightened as to what that is.

Also, it seems like there is a lot of “unclassified.” I used the trainset template as specified in the 454 SOP. Is there another template that would provide better results?

Thanks

---

<div class="post-metadata">

**Author:** ![pschloss](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/pschloss/32/4_2.png) [@pschloss](https://forum.mothur.org/u/pschloss)\
**Post date:** [July 30, 2013, 4:12pm UTC](https://forum.mothur.org/t/searching-for-command/1444/4 "2013-07-30T16:12:50Z")

</div>

The output should be easily parsable in R.

As for the unclassifieds that’s all part of the problem of database-dependent approaches like classification. Your sequences are too short, the 16S gene doesn’t have enough resolution, the database is incomplete, the overall taxonomic hierarchy is limited, etc.

Pat
