# Error with Dada2 denoising process

**URL:** https://forum.qiime2.org/t/error-with-dada2-denoising-process/23098
**Category:** Technical Support
**Created:** [May 17, 2022, 8:51pm UTC](https://forum.qiime2.org/t/error-with-dada2-denoising-process/23098 "2022-05-17T20:51:15Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![t.gousdovas](https://forum.qiime2.org/user_avatar/forum.qiime2.org/t.gousdovas/32/13452_2.png) [@t.gousdovas](https://forum.qiime2.org/u/t.gousdovas)
#### Post date: [May 17, 2022, 8:51pm UTC](https://forum.qiime2.org/t/error-with-dada2-denoising-process/23098/1 "2022-05-17T20:51:16Z")

</div>

Hello, i wanted to ask if i can run the Dada2 algorithm in moving pictures using fastq files that i produced from fasta files. (My data were in fasta format and they were 16s single-end trimmed seqs. I converted them in fastq using a script and i made every base with quality score "I"). My purpose was to run the moving pictures pipeline. The files were imported just fine producing the "demux-single-end.qza" file, but when i run the dada2 algorithm there was an error "Plugin error from dada2: An error was encountered while running DADA2 in R (return code 1), please inspect stdout and stderr to learn more. See above for debug info."  
I run the same command with the --verbose command and got this result:  
R version 4.1.3 (2022-03-10)  
Loading required package: Rcpp  
DADA2: 1.22.0 / Rcpp: 1.0.8.3 / RcppParallel: 5.1.5

1. Filtering ...................................................................
2. Learning Error Rates  
430569243 total bases in 1000484 reads from 44 samples will be used for learning the error rates.  
Error rates could not be estimated (this is usually because of very few reads).  
Error in getErrors(err, enforce = TRUE) : Error matrix is NULL.  
Execution halted

The original command was this:  
qiime dada2 denoise-single --i-demultiplexed-seqs demux-single-end.qza --p-trunc-len 0 --o-representative-sequences rep-seqs-dada2.qza --o-table table-dada2.qza --o-denoising-stats stats-dada2.qza --verbose

Does this have to do with the fact that all my bases in the fastq files got the same quality score? Or is it something else?  
Thanks a lot

---

<div class="post-metadata">

### Author: ![jwdebelius](https://forum.qiime2.org/user_avatar/forum.qiime2.org/jwdebelius/32/9655_2.png) [@jwdebelius](https://forum.qiime2.org/u/jwdebelius)
#### Post date: [May 17, 2022, 10:41pm UTC](https://forum.qiime2.org/t/error-with-dada2-denoising-process/23098/2 "2022-05-17T22:41:04Z")

</div>

Hi @t.gousdovas,

Welcome to the :qiime2: forum!

Dada2 requires variation in the quality score since the model is based on learning about your sequencing quality. Because every basepair has the same error rate, there's no variability to model.

You can't run any of the denoising techniques on data without quality information; regardless of how you try to spoof semantic types. You should be able to cluster the data into OTUs, though, since those don't require quality information.

Best,  
Justine

---

<div class="post-metadata">

### Author: ![t.gousdovas](https://forum.qiime2.org/user_avatar/forum.qiime2.org/t.gousdovas/32/13452_2.png) [@t.gousdovas](https://forum.qiime2.org/u/t.gousdovas)
#### Post date: [May 18, 2022, 11:01am UTC](https://forum.qiime2.org/t/error-with-dada2-denoising-process/23098/3 "2022-05-18T11:01:57Z")

</div>

Thanks a lot.  
Is there any tutorial on how to do this with OTUs?

---

<div class="post-metadata">

### Author: ![jwdebelius](https://forum.qiime2.org/user_avatar/forum.qiime2.org/jwdebelius/32/9655_2.png) [@jwdebelius](https://forum.qiime2.org/u/jwdebelius)
#### Post date: [May 18, 2022, 2:20pm UTC](https://forum.qiime2.org/t/error-with-dada2-denoising-process/23098/4 "2022-05-18T14:20:12Z")

</div>

Hi @t.gousdovas,

Check out the [OTU clustering](https://docs.qiime2.org/2022.2/tutorials/otu-clustering/) tutorial.

Best,  
Justine

---

<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 18, 2022, 8:21pm UTC](https://forum.qiime2.org/t/error-with-dada2-denoising-process/23098/5 "2022-06-18T20:21:10Z")

</div>

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