# Rarefraction curve creation errors information, how to fix it?

**URL:** <https://forum.qiime2.org/t/rarefraction-curve-creation-errors-information-how-to-fix-it/26431>\
**Category:** User Support\
**Tags:** alpha-rarefaction\
**Created:** [May 12, 2023, 2:23am UTC](https://forum.qiime2.org/t/rarefraction-curve-creation-errors-information-how-to-fix-it/26431 "2023-05-12T02:23:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LXE\_Soil\_ecol](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lxe_soil_ecol/32/5814_2.png) [@LXE\_Soil\_ecol](https://forum.qiime2.org/u/LXE_Soil_ecol)\
**Post date:** [May 12, 2023, 2:23am UTC](https://forum.qiime2.org/t/rarefraction-curve-creation-errors-information-how-to-fix-it/26431/1 "2023-05-12T02:23:16Z")

</div>

Hi qiime2 users,  
I got an error information like this : "Error: Detected invalid character in: –-i-table, –-p-max-depth, –-m-metadata-file, –-o-visualization  
Verify the correct quotes or dashes (ASCII) are being used." when I was running the following processes.

qiime diversity alpha-rarefaction   
–-i-table table\_filter.qza   
--i-phylogeny rooted-tree.qza   
–-p-max-depth 19085   
–-m-metadata-file sample-metadata-Se-RS.txt   
–-o-visualization alpha-rarefaction.qzv

Since the table\_filter.qza and rooted-tree.qza works at running the following processes:  
qiime diversity core-metrics-phylogenetic   
--i-phylogeny rooted-tree.qza   
--i-table table\_filter.qza   
--p-sampling-depth 19085   
--m-metadata-file sample-metadata-Se-RS.txt   
--output-dir core-metrics-results-Se-RS  
So, I don't know why the occuring the errors when running the rarefraction curve creation code.  
Could anyone do me a favor?  
All the data have been added in the atachment.  
[sample-metadata-Se-RS.txt](https://forum.qiime2.org/uploads/short-url/3LazMV9TY9tEPvQ6vhMfiOYvI1a.txt) (413 Bytes)  
[rooted-tree.qza](https://forum.qiime2.org/uploads/short-url/bVnbzJbqqIvNepUfBm471n8tEcw.qza) (1.0 MB)  
[table\_filter.qza](https://forum.qiime2.org/uploads/short-url/86TndOQbA57hHdjVOgAAyVWvD4X.qza) (1.0 MB)

Best wishes

Long

---

<div class="post-metadata">

**Author:** ![timanix](https://forum.qiime2.org/user_avatar/forum.qiime2.org/timanix/32/17879_2.png) [@timanix](https://forum.qiime2.org/u/timanix)\
**Post date:** [May 12, 2023, 1:27pm UTC](https://forum.qiime2.org/t/rarefraction-curve-creation-errors-information-how-to-fix-it/26431/2 "2023-05-12T13:27:12Z")

</div>

Hello!  
Looks like you should replace everywhere `–-` with `--`.

Best,

---

<div class="post-metadata">

**Author:** ![LXE\_Soil\_ecol](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lxe_soil_ecol/32/5814_2.png) [@LXE\_Soil\_ecol](https://forum.qiime2.org/u/LXE_Soil_ecol)\
**Post date:** [May 13, 2023, 1:37am UTC](https://forum.qiime2.org/t/rarefraction-curve-creation-errors-information-how-to-fix-it/26431/3 "2023-05-13T01:37:44Z")

</div>

Hi timanix,  
Thank you very much. Yes, you are right. It is very confusing that the dash line on Notepad++ is similar.

Best wishes

Long

---

<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:** [June 13, 2023, 7:38am UTC](https://forum.qiime2.org/t/rarefraction-curve-creation-errors-information-how-to-fix-it/26431/4 "2023-06-13T07:38:25Z")

</div>

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