# error from dada2 plugin

**URL:** <https://forum.qiime2.org/t/error-from-dada2-plugin/15677>\
**Category:** Technical Support\
**Tags:** dada2\
**Created:** [July 8, 2020, 9:32pm UTC](https://forum.qiime2.org/t/error-from-dada2-plugin/15677 "2020-07-08T21:32:34Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sky23](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/s/f08c70/32.png) [@Sky23](https://forum.qiime2.org/u/Sky23)\
**Post date:** [July 8, 2020, 9:32pm UTC](https://forum.qiime2.org/t/error-from-dada2-plugin/15677/1 "2020-07-08T21:32:34Z")

</div>

HI QIIME2,  
I am facing a technical issue and really appreciate an advice.  
I have trimmed primers from my raw data using cutadapt paired end to produce qza file.  
Please follow the link for qza folder ([Sign in to your account](https://rutgersconnect-my.sharepoint.com/:u:/r/personal/yadavsk_rwjms_rutgers_edu/Documents/trimmed-seqs.qza?csf=1&web=1&e=FJPJIp))  
Please see attached for qzv file[trimmed-seqs.qzv](https://forum.qiime2.org/uploads/short-url/gvgHo00UL9Mlk4xu9spx7lzMc3c.qzv) (291.3 KB) .

Then I used following commands to run command for dada2 analysis.

```bash
qiime dada2 denoise-paired --i-demultiplexed-seqs trimmed-seqs.qza --p-trim-left-f 0 --p-trim-left-r 0 --p-trunc-len-f 0 --p-trunc-len-r 248 --o-table table.qza --o-representative-sequences rep-seqs.qza --o-denoising-stats denoising-stats.qza

```

After running command I am getting error "Plugin error from dada2" and a error log was saved.  
I am pasting the error below.

```bash
(qiime2-2020.2) qiime2@qiime2core2020-2:/media/sf_Shared_Folder/Final$ cat /tmp/qiime2-q2cli-err-bhy2omnu.log
Running external command line application(s). This may print messages to stdout and/or stderr.
The command(s) being run are below. These commands cannot be manually re-run as they will depend on temporary files that no longer exist.

Command: run_dada_paired.R /tmp/tmp2x49fpuj/forward /tmp/tmp2x49fpuj/reverse /tmp/tmp2x49fpuj/output.tsv.biom /tmp/tmp2x49fpuj/track.tsv /tmp/tmp2x49fpuj/filt_f /tmp/tmp2x49fpuj/filt_r 0 248 0 0 2.0 2.0 2 consensus 1.0 1 1000000

R version 3.5.1 (2018-07-02) 
Loading required package: Rcpp
DADA2: 1.10.0 / Rcpp: 1.0.3 / RcppParallel: 4.4.4 
1) Filtering ................
2) Learning Error Rates
167947 total bases in 724 reads from 16 samples will be used for learning the error rates.
179552 total bases in 724 reads from 16 samples will be used for learning the error rates.
Error in err[c(1, 6, 11, 16),] <- 1 : 
  incorrect number of subscripts on matrix
Execution halted
Traceback (most recent call last):
  File "/home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/site-packages/q2_dada2/_denoise.py", line 257, in denoise_paired
    run_commands([cmd])
  File "/home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/site-packages/q2_dada2/_denoise.py", line 36, in run_commands
    subprocess.run(cmd, check=True)
  File "/home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/subprocess.py", line 418, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['run_dada_paired.R', '/tmp/tmp2x49fpuj/forward', '/tmp/tmp2x49fpuj/reverse', '/tmp/tmp2x49fpuj/output.tsv.biom', '/tmp/tmp2x49fpuj/track.tsv', '/tmp/tmp2x49fpuj/filt_f', '/tmp/tmp2x49fpuj/filt_r', '0', '248', '0', '0', '2.0', '2.0', '2', 'consensus', '1.0', '1', '1000000']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/site-packages/q2cli/commands.py", line 328, in __call__
    results = action(**arguments)
  File "</home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/site-packages/decorator.py:decorator-gen-455>", line 2, in denoise_paired
  File "/home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/site-packages/qiime2/sdk/action.py", line 245, in bound_callable
    output_types, provenance)
  File "/home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/site-packages/qiime2/sdk/action.py", line 390, in _callable_executor_
    output_views = self._callable(**view_args)
  File "/home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/site-packages/q2_dada2/_denoise.py", line 272, in denoise_paired
    " and stderr to learn more." % e.returncode)
Exception: An error was encountered while running DADA2 in R (return code 1), please inspect stdout and stderr to learn more.

```

I was going through the forum and found this post with similar kind of problem ([Doing taxonomy analysis and getting abundancies with manifests - #9 by ebolyen](https://forum.qiime2.org/t/doing-taxonomy-analysis-and-getting-abundancies-with-manifests/1202/9))  
But I am not able to understand the problem since my sequencing facility provided me with fastq file with quality score. I can see lot of F, : and , symbols below nucleotide sequence in my fastq files. Are they quality score. If I am not able to use dada2 for this data then what should do next? any suggestion will be appreciated.

Thank you for the help.

Regards  
Sudhir

---

<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:** [July 9, 2020, 2:51pm UTC](https://forum.qiime2.org/t/error-from-dada2-plugin/15677/2 "2020-07-09T14:51:57Z")

</div>

Hi @Sky23! It looks like you are running this in a Virtualbox VM, is that right? Have you customized the available RAM for the VM? If not, that should be your next stop - the VM is configured to use the _least_ amount of RAM necessary, that way people can run tutorial datasets, etc. This part of the error message

> [@Sky23](#):
>
> ```auto
> Error in err[c(1, 6, 11, 16),] <- 1 : 
> incorrect number of subscripts on matrix
> 
> ```

happens _usually_ when too many threads are specified, resulting in too much RAM being used. In your case, it doesn't look like you ran the command with multiple threads, which is why I am wondering if its just running out of memory pretty quickly. Let us know!

:qiime2:

---

<div class="post-metadata">

**Author:** ![Sky23](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/s/f08c70/32.png) [@Sky23](https://forum.qiime2.org/u/Sky23)\
**Post date:** [July 9, 2020, 4:36pm UTC](https://forum.qiime2.org/t/error-from-dada2-plugin/15677/3 "2020-07-09T16:36:59Z")

</div>

Hi Mathew,  
Thank you for your suggestion.  
Yes, I am using VM for running qiime2 in my desktop.  
I assigned 16 GB ram out of 64 GB total ram and 5 CPU out of 16 CPU for VM.  
Is it not enough to run my analysis?  
As suggested by you I tried to use multiple threads in command, please see my commands below.  
(qiime2-2020.2) qiime2@qiime2core2020-2:/media/sf\_Shared\_Folder/Final$ qiime dada2 denoise-paired --i-demultiplexed-seqs trimmed-seqs.qza --p-trim-left-f 0 --p-trim-left-r 0 --p-trunc-len-f 0 --p-trunc-len-r 248 --p-n-threads 5 --o-table table.qza --o-representative-sequences rep-seqs.qza --o-denoising-stats denoising-stats.qza

However I am still getting the error again which i pasted below.  
(qiime2-2020.2) qiime2@qiime2core2020-2:/media/sf\_Shared\_Folder/Final$ cat /tmp/qiime2-q2cli-err-pnjwghs7.log  
Running external command line application(s). This may print messages to stdout and/or stderr.  
The command(s) being run are below. These commands cannot be manually re-run as they will depend on temporary files that no longer exist.

Command: run\_dada\_paired.R /tmp/tmp5uqy8\_y9/forward /tmp/tmp5uqy8\_y9/reverse /tmp/tmp5uqy8\_y9/output.tsv.biom /tmp/tmp5uqy8\_y9/track.tsv /tmp/tmp5uqy8\_y9/filt\_f /tmp/tmp5uqy8\_y9/filt\_r 0 248 0 0 2.0 2.0 2 consensus 1.0 5 1000000

R version 3.5.1 (2018-07-02)  
Loading required package: Rcpp  
DADA2: 1.10.0 / Rcpp: 1.0.3 / RcppParallel: 4.4.4

1. Filtering ................
2. Learning Error Rates  
167947 total bases in 724 reads from 16 samples will be used for learning the error rates.  
179552 total bases in 724 reads from 16 samples will be used for learning the error rates.  
Error in err[c(1, 6, 11, 16),] \<- 1 :  
incorrect number of subscripts on matrix  
Execution halted  
Traceback (most recent call last):  
File "/home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/site-packages/q2\_dada2/\_denoise.py", line 257, in denoise\_paired  
run\_commands([cmd])  
File "/home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/site-packages/q2\_dada2/\_denoise.py", line 36, in run\_commands  
subprocess.run(cmd, check=True)  
File "/home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/subprocess.py", line 418, in run  
output=stdout, stderr=stderr)  
subprocess.CalledProcessError: Command '['run\_dada\_paired.R', '/tmp/tmp5uqy8\_y9/forward', '/tmp/tmp5uqy8\_y9/reverse', '/tmp/tmp5uqy8\_y9/output.tsv.biom', '/tmp/tmp5uqy8\_y9/track.tsv', '/tmp/tmp5uqy8\_y9/filt\_f', '/tmp/tmp5uqy8\_y9/filt\_r', '0', '248', '0', '0', '2.0', '2.0', '2', 'consensus', '1.0', '5', '1000000']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File "/home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/site-packages/q2cli/commands.py", line 328, in **call**  
results = action(\*\*arguments)  
File "\</home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/site-packages/decorator.py:decorator-gen-455\>", line 2, in denoise\_paired  
File "/home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/site-packages/qiime2/sdk/action.py", line 245, in bound\_callable  
output\_types, provenance)  
File "/home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/site-packages/qiime2/sdk/action.py", line 390, in _callable\_executor_  
output\_views = self.\_callable(\*\*view\_args)  
File "/home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/site-packages/q2\_dada2/\_denoise.py", line 272, in denoise\_paired  
" and stderr to learn more." % e.returncode)  
Exception: An error was encountered while running DADA2 in R (return code 1), please inspect stdout and stderr to learn more.  
How can I solve this problem? Please advice.  
Thank you  
Regards  
Sudhir

---

<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:** [July 9, 2020, 5:09pm UTC](https://forum.qiime2.org/t/error-from-dada2-plugin/15677/4 "2020-07-09T17:09:37Z")

</div>

Hi @Sky23!

> [@Sky23](#):
>
> I assigned 16 GB ram out of 64 GB total ram and 5 CPU out of 16 CPU for VM.  
> Is it not enough to run my analysis?

Hmm, maybe not enough, it depends on the characteristics of the data.

> [@Sky23](#):
>
> As suggested by you I tried to use multiple threads in command

I think there might be a misunderstanding - the RAM requirements increase as you add more threads - making the problem worse. Since you can't specify less than 1 threads, the only other thing to do is add more RAM - make sense?

---

<div class="post-metadata">

**Author:** ![Sky23](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/s/f08c70/32.png) [@Sky23](https://forum.qiime2.org/u/Sky23)\
**Post date:** [July 9, 2020, 7:00pm UTC](https://forum.qiime2.org/t/error-from-dada2-plugin/15677/6 "2020-07-09T19:00:17Z")

</div>

Now I configured my VM with 32 GB ram and ran the dada2 again.

I used following commands  
(qiime2-2020.2) qiime2@qiime2core2020-2:/media/sf\_Shared\_Folder/Final$ qiime dada2 denoise-paired \

> --i-demultiplexed-seqs trimmed-seqs.qza   
> --p-trim-left-f 0   
> --p-trim-left-r 0   
> --p-trunc-len-f 0   
> --p-trunc-len-r 248   
> --p-n-threads 1   
> --o-table table.qza   
> --o-representative-sequences rep-seqs.qza   
> --o-denoising-stats denoising-stats.qza

I encountered the similar problem. Please see the error log below.

(qiime2-2020.2) qiime2@qiime2core2020-2:/media/sf\_Shared\_Folder/Final$ cat /tmp/qiime2-q2cli-err-coliwnhy.log  
Running external command line application(s). This may print messages to stdout and/or stderr.  
The command(s) being run are below. These commands cannot be manually re-run as they will depend on temporary files that no longer exist.

Command: run\_dada\_paired.R /tmp/tmpfjou1cz4/forward /tmp/tmpfjou1cz4/reverse /tmp/tmpfjou1cz4/output.tsv.biom /tmp/tmpfjou1cz4/track.tsv /tmp/tmpfjou1cz4/filt\_f /tmp/tmpfjou1cz4/filt\_r 0 248 0 0 2.0 2.0 2 consensus 1.0 1 1000000

R version 3.5.1 (2018-07-02)  
Loading required package: Rcpp  
DADA2: 1.10.0 / Rcpp: 1.0.3 / RcppParallel: 4.4.4

1. Filtering ................
2. Learning Error Rates  
167947 total bases in 724 reads from 16 samples will be used for learning the error rates.  
179552 total bases in 724 reads from 16 samples will be used for learning the error rates.  
Error in err[c(1, 6, 11, 16),] \<- 1 :  
incorrect number of subscripts on matrix  
Execution halted  
Traceback (most recent call last):  
File "/home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/site-packages/q2\_dada2/\_denoise.py", line 257, in denoise\_paired  
run\_commands([cmd])  
File "/home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/site-packages/q2\_dada2/\_denoise.py", line 36, in run\_commands  
subprocess.run(cmd, check=True)  
File "/home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/subprocess.py", line 418, in run  
output=stdout, stderr=stderr)  
subprocess.CalledProcessError: Command '['run\_dada\_paired.R', '/tmp/tmpfjou1cz4/forward', '/tmp/tmpfjou1cz4/reverse', '/tmp/tmpfjou1cz4/output.tsv.biom', '/tmp/tmpfjou1cz4/track.tsv', '/tmp/tmpfjou1cz4/filt\_f', '/tmp/tmpfjou1cz4/filt\_r', '0', '248', '0', '0', '2.0', '2.0', '2', 'consensus', '1.0', '1', '1000000']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File "/home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/site-packages/q2cli/commands.py", line 328, in **call**  
results = action(\*\*arguments)  
File "\</home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/site-packages/decorator.py:decorator-gen-455\>", line 2, in denoise\_paired  
File "/home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/site-packages/qiime2/sdk/action.py", line 245, in bound\_callable  
output\_types, provenance)  
File "/home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/site-packages/qiime2/sdk/action.py", line 390, in _callable\_executor_  
output\_views = self.\_callable(\*\*view\_args)  
File "/home/qiime2/miniconda/envs/qiime2-2020.2/lib/python3.6/site-packages/q2\_dada2/\_denoise.py", line 272, in denoise\_paired  
" and stderr to learn more." % e.returncode)  
Exception: An error was encountered while running DADA2 in R (return code 1), please inspect stdout and stderr to learn more.

Please advice.  
Thank you

---

<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:** [July 13, 2020, 4:40pm UTC](https://forum.qiime2.org/t/error-from-dada2-plugin/15677/7 "2020-07-13T16:40:21Z")

</div>

Hi @Sky23 - can you tell us a bit more about these reads? I just noticed this part:

```auto
 179552 total bases in 724 reads from 16 samples will be used for learning the error rates

```

That sounds like longer-than-usual reads to me - is this from a pyrosequencing platform?

Usually this error means that you have run out of RAM, but it might also be possible that it is cropping up because the sequences have either been modified in some way, or aren't from a supported platform.

Check out [DADA2: Fast and accurate sample inference from amplicon data with single-nucleotide resolution](https://benjjneb.github.io/dada2/) for more details. Keep us posted.

---

<div class="post-metadata">

**Author:** ![Sky23](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/s/f08c70/32.png) [@Sky23](https://forum.qiime2.org/u/Sky23)\
**Post date:** [July 13, 2020, 8:59pm UTC](https://forum.qiime2.org/t/error-from-dada2-plugin/15677/8 "2020-07-13T20:59:06Z")

</div>

HI Mathew,  
Thank you for your suggestions and time.  
This is illumina Miseq data with 2X250 paired reads for V3-V4 target region (465 bp).  
Company used 341F/806R primers. I have a overlap of 35 bp. Do you think it is good enough?  
Over the weekend I did several run with different –p-trunc-len-r parameters.  
When I was using –p-trunc-len-r at 248, it is giving me the error i pasted in my previous posts.  
I decided to use 248 since my reverse read has median quality score below 20 at this read. Please see attached qzv file.[trimmed-seqs.qzv](https://forum.qiime2.org/uploads/short-url/gvgHo00UL9Mlk4xu9spx7lzMc3c.qzv) (291.3 KB)  
However, when I used –p-trunc-len-r 0, my run was successful and got 1500 ASV's.  
Why removing 2 last base of reverse read is making DADA2 to fail.  
Do you think it is still a RAM problem?  
Any explanation will be appreciated.  
Thank you  
Regards

---

<div class="post-metadata">

**Author:** ![Sky23](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/s/f08c70/32.png) [@Sky23](https://forum.qiime2.org/u/Sky23)\
**Post date:** [July 13, 2020, 9:36pm UTC](https://forum.qiime2.org/t/error-from-dada2-plugin/15677/9 "2020-07-13T21:36:49Z")

</div>

There is a small correction in my last mail.  
Company used illumina NovaSeq platform plate, not Miseq.

---

<div class="post-metadata">

**Author:** ![Sky23](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/s/f08c70/32.png) [@Sky23](https://forum.qiime2.org/u/Sky23)\
**Post date:** [July 16, 2020, 10:37am UTC](https://forum.qiime2.org/t/error-from-dada2-plugin/15677/10 "2020-07-16T10:37:10Z")

</div>

Good morning Mathew. Can you please give any advice on my previous posts?  
Thank you

---

<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:** [July 16, 2020, 8:44pm UTC](https://forum.qiime2.org/t/error-from-dada2-plugin/15677/11 "2020-07-16T20:44:17Z")

</div>

Hi @Sky23:

> [@Sky23](#):
>
> Company used illumina NovaSeq platform plate

The version of DADA2 that is in q2-dada2 does not officially support NovaSeq, as best I can recall. There are a few posts floating around here on the forum about it - I don't have any concrete suggestions for moving forward with DADA2 (or deblur). You could go with OTU clustering, though.

> [@Sky23](#):
>
> Good morning Mathew. Can you please give any advice on my previous posts?

My apologies that it took me a little longer than hoped to get back to you, but please do remember, this support forum is provided free of charge, and the forum moderation team is trying our best to handle all incoming requests. Please take a few minutes to refresh your memory on the Forum Code of Conduct:

[https://forum.qiime2.org/faq](https://forum.qiime2.org/faq)

Particularly this section: [Code of Conduct - QIIME 2 Forum](https://forum.qiime2.org/faq#patience)

Thanks! :qiime2:

---

<div class="post-metadata">

**Author:** ![Sky23](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/s/f08c70/32.png) [@Sky23](https://forum.qiime2.org/u/Sky23)\
**Post date:** [July 16, 2020, 8:51pm UTC](https://forum.qiime2.org/t/error-from-dada2-plugin/15677/12 "2020-07-16T20:51:42Z")

</div>

thank you for your suggestions. Regards.

---

<div class="post-metadata">

**Author:** ![Sky23](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/s/f08c70/32.png) [@Sky23](https://forum.qiime2.org/u/Sky23)\
**Post date:** [July 22, 2020, 7:22pm UTC](https://forum.qiime2.org/t/error-from-dada2-plugin/15677/13 "2020-07-22T19:22:02Z")

</div>

Hi mathew,  
I am running OTU clustering on my data since Novaseq 16S rRNA sequencing data have some issues while running DADA2. Please see this link: [Consequences of using dada2 on NovaSeq data · Issue #791 · benjjneb/dada2 · GitHub](https://github.com/benjjneb/dada2/issues/791).  
I trimmed my paired sequences for primer using cutadapt plugin and then imported my data into qiime2 using manifest file.

Then I joined my pairs using vsearch join pairs. After joining when i looked into my quality plot it looks weird. There is an elevated section in plot with median quality score of 41. Please see the attached picture

 ![quality plot-merged sequences](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/1/18332015a06dbe93e4d42652939d08de3de12d55.jpeg) . Is it abnormal? or it might be due to different quality binning system in Novaseq plateform?

Then I did the quality filter and de-replicated my data. Since, I am not sure whether i can use deblur with Novaseq data, I am doing following steps:  
1)- chimera filter  
2)- closed OTU picking with silva. Should I use other data base then silva? Should i train classifier or use whole sequence?

Does my workflow is proper for OTU picking?

Thank you for your time.  
Regards

---

<div class="post-metadata">

**Author:** ![llenzi](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/l/9fc29f/32.png) [@llenzi](https://forum.qiime2.org/u/llenzi)\
**Post date:** [July 27, 2020, 8:41am UTC](https://forum.qiime2.org/t/error-from-dada2-plugin/15677/14 "2020-07-27T08:41:36Z")

</div>

Hi @Sky23,

I would say the elevated region should be the region on which the sequences overlap, and so the the quality values are strengthened by the scores in both reads.

On deblur, as long as I know it does not consider quality scores, so it should avoid this quality issue!

The chimera filter is a valid point in here!  
On the database, Silva is a good start as long as you know it includes all/most of the species in your samples. Do you have a mock communities included in the experiment to validate the pipeline?

If you opt for the closed-OTU picking, go with the whole sequences, then look at the results and see if many sequences are out of any clusters. If so, you may try a denovo-clustering with trained classifier!  
Hope it make sense

Luca

---

<div class="post-metadata">

**Author:** ![Sky23](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/s/f08c70/32.png) [@Sky23](https://forum.qiime2.org/u/Sky23)\
**Post date:** [July 27, 2020, 10:32am UTC](https://forum.qiime2.org/t/error-from-dada2-plugin/15677/15 "2020-07-27T10:32:53Z")

</div>

Hi Luca,  
Thank you for your time.  
I do not have any mock commmunities included in the experiment.  
My samples are V3-V4 amplicon generated using 341F/806R primers in human microbiota.  
How can i get a good quality mock community for my study? Is there any guideline?  
I was looking for it and was not sure how to get one for my study.  
Should i remove mock community data from my qiime2 analysis after I am done.  
Any advice will be appreciated.

Thank you

---

<div class="post-metadata">

**Author:** ![llenzi](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/l/9fc29f/32.png) [@llenzi](https://forum.qiime2.org/u/llenzi)\
**Post date:** [July 27, 2020, 10:55am UTC](https://forum.qiime2.org/t/error-from-dada2-plugin/15677/16 "2020-07-27T10:55:24Z")

</div>

Hi,  
yes form your region it would make sense that the elevated region you are seeing is the overlapping region.

For the mock, you may look at:  
[msystems.asm.org/content/1/5/e00062-16](http://msystems.asm.org/content/1/5/e00062-16)

But there are few commercially available now, if you google you can find easily.

When I am dealing with controls (mock communities as well as negative sample), I usually perform the diversity analysis and taxonomy assignment including them, to see how they behave; then I exclude them and repeat the diversity analysis for the final data.

Luca

---

<div class="post-metadata">

**Author:** ![Sky23](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/s/f08c70/32.png) [@Sky23](https://forum.qiime2.org/u/Sky23)\
**Post date:** [July 28, 2020, 2:15pm UTC](https://forum.qiime2.org/t/error-from-dada2-plugin/15677/17 "2020-07-28T14:15:25Z")

</div>

Thank you for the suggestions.  
I checked the mock in the github, all of them are for V4 region with primer 515f-806r.  
My sequencing data is for V3-V4 region with primers 341F/805R.  
Can I still use this mock for analysis validation?

---

<div class="post-metadata">

**Author:** ![llenzi](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/l/9fc29f/32.png) [@llenzi](https://forum.qiime2.org/u/llenzi)\
**Post date:** [July 28, 2020, 6:29pm UTC](https://forum.qiime2.org/t/error-from-dada2-plugin/15677/18 "2020-07-28T18:29:35Z")

</div>

Hi,  
one way may be to contact the submitter of the community and ask for the DNA, so you can amplify your region of interest. What you really need is the composition and the strain used in it so you can double check how your primer behave!

If they wont be able to support you on this, I suppose you have to go via commercial mock communities, which may provide DNA or even cell culture so you could test your extraction kit as well as the rest of the protocol.

Cheers

---

<div class="post-metadata">

**Author:** ![Sky23](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/s/f08c70/32.png) [@Sky23](https://forum.qiime2.org/u/Sky23)\
**Post date:** [July 29, 2020, 8:27pm UTC](https://forum.qiime2.org/t/error-from-dada2-plugin/15677/19 "2020-07-29T20:27:12Z")

</div>

Thank you.  
I am contacting ZymoBIOMICS for standards.  
regards

---

<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:** [August 30, 2020, 2:37am UTC](https://forum.qiime2.org/t/error-from-dada2-plugin/15677/20 "2020-08-30T02:37:49Z")

</div>

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