# Error running DADA2

**URL:** <https://forum.qiime2.org/t/error-running-dada2/1301>\
**Category:** User Support\
**Tags:** dada2, matplotlib, summarize\
**Created:** [September 22, 2017, 4:02pm UTC](https://forum.qiime2.org/t/error-running-dada2/1301 "2017-09-22T16:02:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sirtaj-Singh](https://forum.qiime2.org/user_avatar/forum.qiime2.org/sirtaj-singh/32/133_2.png) [@Sirtaj-Singh](https://forum.qiime2.org/u/Sirtaj-Singh)\
**Post date:** [September 22, 2017, 4:02pm UTC](https://forum.qiime2.org/t/error-running-dada2/1301/1 "2017-09-22T16:02:44Z")

</div>

Good Afternoon!

I am attempted to run the DADA2 sequence quality control steps on my data using the following code on a cluster running 2017.8.

```
qiime dada2 denoise-paired \
  --i-demultiplexed-seqs demux-paired-end.qza \
  --p-trunc-len-f 0 \
  --p-trunc-len-r 0 \
  --o-representative-sequences rep-seqs2.qza \
  --o-table table2.qza

```

I have added the error file I received, as well as the log that contains the actual errors below. Any suggestions on how to move forward would be greatly appreciated!

[QIIME2-DADA2-Attempt1e47\_4793.txt](https://cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/flex002/uploads/qiime21/original/1X/e8b7405f534608f12b6a83225fc87446fa49e76e.txt) (330 Bytes)  
[qiime2-q2cli-err-jgrosodj.txt](https://cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/flex002/uploads/qiime21/original/1X/ba5ba20cb403cd110e2feca58a94f87db6dbf0c9.txt) (2.3 KB)

- Sirtaj Singh

---

<div class="post-metadata">

**Author:** ![Sirtaj-Singh](https://forum.qiime2.org/user_avatar/forum.qiime2.org/sirtaj-singh/32/133_2.png) [@Sirtaj-Singh](https://forum.qiime2.org/u/Sirtaj-Singh)\
**Post date:** [September 22, 2017, 4:43pm UTC](https://forum.qiime2.org/t/error-running-dada2/1301/2 "2017-09-22T16:43:18Z")

</div>

Actually, I should apologize as I forgot to mention that I ran the following code as well in the same instance, which may be the actual source of the error:

```
qiime demux summarize \
  --i-data demux-paired-end.qza \
  --o-visualization demux2.qzv

```

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [September 22, 2017, 10:18pm UTC](https://forum.qiime2.org/t/error-running-dada2/1301/4 "2017-09-22T22:18:12Z")

</div>

Thanks for the followup command @Sirtaj-Singh, that `summarize` command is actually where the error is coming from! This error is actually coming from matplotlib, which we use behind the scenes for some work here. There are [a bunch](https://forum.qiime2.org/tags/matplotlib) of posts on the forum about fixing this problem, here is one I [grabbed off the stack](https://forum.qiime2.org/t/feature-table-summarize-invalid-display-variable/1227/5). Keep us posted!  
Thanks! 🦖

---

<div class="post-metadata">

**Author:** ![Sirtaj-Singh](https://forum.qiime2.org/user_avatar/forum.qiime2.org/sirtaj-singh/32/133_2.png) [@Sirtaj-Singh](https://forum.qiime2.org/u/Sirtaj-Singh)\
**Post date:** [September 23, 2017, 12:20am UTC](https://forum.qiime2.org/t/error-running-dada2/1301/6 "2017-09-23T00:20:21Z")

</div>

Ahhh, I had searched for similar errors related to DADA2, but I did not realize it could be an issue with the summarize function. Thanks a ton!

---

<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 24, 2017, 6:20am UTC](https://forum.qiime2.org/t/error-running-dada2/1301/7 "2017-10-24T06:20:35Z")

</div>

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