# Can Qiime assign taxonomy to proteins?

**URL:** https://forum.qiime2.org/t/can-qiime-assign-taxonomy-to-proteins/20737
**Category:** User Support
**Created:** [September 14, 2021, 9:17am UTC](https://forum.qiime2.org/t/can-qiime-assign-taxonomy-to-proteins/20737 "2021-09-14T09:17:05Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![iquasere](https://forum.qiime2.org/user_avatar/forum.qiime2.org/iquasere/32/11859_2.png) [@iquasere](https://forum.qiime2.org/u/iquasere)
#### Post date: [September 14, 2021, 9:17am UTC](https://forum.qiime2.org/t/can-qiime-assign-taxonomy-to-proteins/20737/1 "2021-09-14T09:17:05Z")

</div>

I am trying to run Qiime2 to taxonomically annotate proteins. So far, I have run this command to import a FASTA as a Qiime object:

qiime tools import --type "FeatureData[ProteinSequence]" --input-path protein\_fasta\_qiime2\_test/non\_chimeric\_prot\_corr\_q2\_import\_test.fasta --output-path sequences.qza

and have tried running this command to classify the sequences

qiime feature-classifier classify-hybrid-vsearch-sklearn

but it doesn't accept "FeatureData[ProteinSequence]" as a valid input format. How can I classify protein sequences taxonomically with Qiime2? Also, would it be preferable (faster or more accurate) to common methods with BLAST or DIAMOND?

---

<div class="post-metadata">

### Author: ![Nicholas\_Bokulich](https://forum.qiime2.org/user_avatar/forum.qiime2.org/nicholas_bokulich/32/19937_2.png) [@Nicholas\_Bokulich](https://forum.qiime2.org/u/Nicholas_Bokulich)
#### Post date: [September 16, 2021, 5:26am UTC](https://forum.qiime2.org/t/can-qiime-assign-taxonomy-to-proteins/20737/2 "2021-09-16T05:26:48Z")

</div>

Welcome @iquasere !

QIIME 2 cannot currently assign taxonomy to proteins. It is a work in progress to add this functionality (contributions are very welcome! 😉 ), see here for more details and relevant discussion:

> [@Importing protein sequences into version 2021.2](https://forum.qiime2.org/t/importing-protein-sequences-into-version-2021-2/18708):
>
> Hi q2-team! I was excited to see the 2021.2 version including q2-types that can read proteins/amino acid sequences. But I am getting errors importing an unaligned .fasta file, which contains typical fasta headers and amino acid sequence lines. I reference this announcement about protein types ([https://forum.qiime2.org/t/qiime-2-2021-2-is-now-available/18642](https://forum.qiime2.org/t/qiime-2-2021-2-is-now-available/18642)). Can I confirm the formats/q2-types listed in the announcement are immediately available? For instance, when running a qiime tools import…

---

<div class="post-metadata">

### Author: ![system](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/2/1/21af5fe23cb6f4579467c66a9ed94e55274ca7bd.svg) [@system](https://forum.qiime2.org/u/system)
#### Post date: [October 17, 2021, 11:27am UTC](https://forum.qiime2.org/t/can-qiime-assign-taxonomy-to-proteins/20737/3 "2021-10-17T11:27:34Z")

</div>

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