# What's wrong with my classification+evaluation code for Silva database?

**URL:** <https://forum.qiime2.org/t/whats-wrong-with-my-classification-evaluation-code-for-silva-database/27558>\
**Category:** Technical Support\
**Created:** [September 4, 2023, 11:02pm UTC](https://forum.qiime2.org/t/whats-wrong-with-my-classification-evaluation-code-for-silva-database/27558 "2023-09-04T23:02:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![susan.pyakurel](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/s/9de053/32.png) [@susan.pyakurel](https://forum.qiime2.org/u/susan.pyakurel)\
**Post date:** [September 4, 2023, 11:02pm UTC](https://forum.qiime2.org/t/whats-wrong-with-my-classification-evaluation-code-for-silva-database/27558/1 "2023-09-04T23:02:43Z")

</div>

This is the code I used (modified a bit compared to the original which was for gg database ([Processing, filtering, and evaluating the SILVA database (and other reference sequence data) with RESCRIPt](https://forum.qiime2.org/t/processing-filtering-and-evaluating-the-silva-database-and-other-reference-sequence-data-with-rescript/15494#heading--TOC)).

 ![Output](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/0/d/0d092496c1b1f1f1335f1e4970a141364fd83072.png)

qiime rescript evaluate-fit-classifier   
--i-sequences silva-138.1-ssu-nr99-seqs-derep-uniq.qza   
--i-taxonomy silva-138.1-ssu-nr99-tax-derep-uniq.qza   
--o-classifier silva-138.1-ssu-nr99-classifier.qza  
--o-observed-taxonomy silva99-taxonomy-predicted-taxonomy.qza   
--o-evaluation silva99-taxonomy-fit-classifier-evaluation.qzv

Should I limit my output to just classifier? Or is there a problem that I renamed the output files of observed taxonomy and evaluation? Your help is much appreciated; thank you!

---

<div class="post-metadata">

**Author:** ![SoilRotifer](https://forum.qiime2.org/user_avatar/forum.qiime2.org/soilrotifer/32/21071_2.png) [@SoilRotifer](https://forum.qiime2.org/u/SoilRotifer)\
**Post date:** [September 5, 2023, 2:00pm UTC](https://forum.qiime2.org/t/whats-wrong-with-my-classification-evaluation-code-for-silva-database/27558/2 "2023-09-05T14:00:51Z")

</div>

Hi @susan.pyakurel,

When entering commands on multiple lines are you ending each line with a backslash (`\`) character ? Using `\` tells the terminal that you are not yet done entering the command. Otherwise it will interpret each line as a separate, or incomplete, command.

For example, you can enter the command in one of two ways, like this:

```auto
qiime rescript evaluate-fit-classifier \
    --i-sequences silva-138.1-ssu-nr99-seqs-derep-uniq.qza \
    --i-taxonomy silva-138.1-ssu-nr99-tax-derep-uniq.qza \
    --o-classifier silva-138.1-ssu-nr99-classifier.qza \
    --o-observed-taxonomy silva99-taxonomy-predicted-taxonomy.qza \
    --o-evaluation silva99-taxonomy-fit-classifier-evaluation.qzv

```

or

```auto
qiime rescript evaluate-fit-classifier --i-sequences silva-138.1-ssu-nr99-seqs-derep-uniq.qza --i-taxonomy silva-138.1-ssu-nr99-tax-derep-uniq.qza --o-classifier silva-138.1-ssu-nr99-classifier.qza --o-observed-taxonomy silva99-taxonomy-predicted-taxonomy.qza --o-evaluation silva99-taxonomy-fit-classifier-evaluation.qzv

```

---

<div class="post-metadata">

**Author:** ![susan.pyakurel](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/s/9de053/32.png) [@susan.pyakurel](https://forum.qiime2.org/u/susan.pyakurel)\
**Post date:** [September 5, 2023, 4:26pm UTC](https://forum.qiime2.org/t/whats-wrong-with-my-classification-evaluation-code-for-silva-database/27558/3 "2023-09-05T16:26:31Z")

</div>

Oh!! I just looked at this picture and found my mistake. There is one backlash missing. Let me try after getting that \ there and see if works. Thanks again.

---

<div class="post-metadata">

**Author:** ![susan.pyakurel](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/s/9de053/32.png) [@susan.pyakurel](https://forum.qiime2.org/u/susan.pyakurel)\
**Post date:** [September 6, 2023, 5:14pm UTC](https://forum.qiime2.org/t/whats-wrong-with-my-classification-evaluation-code-for-silva-database/27558/4 "2023-09-06T17:14:28Z")

</div>

It worked, thank you. Took a good 9 hours though with 32G and 24 processors.

What do you think of this? How could I make it better?

 ![Output](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/b/1/b12028eb6b3db0c9fbce6d9f3b343cf26683dc03.png)  
.

---

<div class="post-metadata">

**Author:** ![SoilRotifer](https://forum.qiime2.org/user_avatar/forum.qiime2.org/soilrotifer/32/21071_2.png) [@SoilRotifer](https://forum.qiime2.org/u/SoilRotifer)\
**Post date:** [September 6, 2023, 5:58pm UTC](https://forum.qiime2.org/t/whats-wrong-with-my-classification-evaluation-code-for-silva-database/27558/5 "2023-09-06T17:58:30Z")

</div>

Great! 🎇

That plot looks good to me. I think you are good to move ahead. 🛻

---

<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 7, 2023, 11:59pm UTC](https://forum.qiime2.org/t/whats-wrong-with-my-classification-evaluation-code-for-silva-database/27558/6 "2023-10-07T23:59:24Z")

</div>

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