# Estimated time for DADA2 process

**URL:** <https://forum.qiime2.org/t/estimated-time-for-dada2-process/941>\
**Category:** User Support\
**Tags:** chimera, dada2\
**Created:** [August 3, 2017, 1:02pm UTC](https://forum.qiime2.org/t/estimated-time-for-dada2-process/941 "2017-08-03T13:02:20Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![yeojuny](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/y/aca169/32.png) [@yeojuny](https://forum.qiime2.org/u/yeojuny)\
**Post date:** [August 3, 2017, 1:02pm UTC](https://forum.qiime2.org/t/estimated-time-for-dada2-process/941/1 "2017-08-03T13:02:21Z")

</div>

Hi,  
I'm running DADA2 in qiime2 now,  
V3-V4 Paired-end, total over 1500 samples, around 50G size of sequence files (Foward+Reverse).  
I started almost two weeks ago but it's still running, and I don't know when it will end.  
so here are questions,

1. in the moment I'm giving the option of maxee 2 and trunc-q 0 with threads 36. will these options influence a lot to the ending time? I'm doing maxee 1 and trunk-q 2 in the other computer though. anyway both are still running.
2. and since almost one week, they are removing chimeras, which step doesn't show how far it's going. so is there any way to see how this chimera checking step is going? since it's quite boring to watch the one step without any reports.
3. do you have any idea when my processes will end?

Anyway so far I really satisfied with the concept of DADA2 for 16S data, especially with qiime2. Thanks for keeping this open forum!

Best,  
Yeojun

---

<div class="post-metadata">

**Author:** ![gregcaporaso](https://forum.qiime2.org/user_avatar/forum.qiime2.org/gregcaporaso/32/17769_2.png) [@gregcaporaso](https://forum.qiime2.org/u/gregcaporaso)\
**Post date:** [August 3, 2017, 3:58pm UTC](https://forum.qiime2.org/t/estimated-time-for-dada2-process/941/2 "2017-08-03T15:58:37Z")

</div>

Hi @yeojuny,  
Sorry to hear that this is taking so long for you, something doesn't seem right.

Can you tell if the job is using CPU, or if it's just hanging? You should be able to run the command `top` to determine what the current CPU utilization is on the system where this is running.

---

<div class="post-metadata">

**Author:** ![benjjneb](https://forum.qiime2.org/user_avatar/forum.qiime2.org/benjjneb/32/1602_2.png) [@benjjneb](https://forum.qiime2.org/u/benjjneb)\
**Post date:** [August 3, 2017, 6:28pm UTC](https://forum.qiime2.org/t/estimated-time-for-dada2-process/941/4 "2017-08-03T18:28:18Z")

</div>

Could you also clarify which version of QIIIME2 you are using? Attaching the standard output or log file might also be helpful, as well as your compute environment.

I'm a bit confused as the chimera step should be much faster than the sample inference step. Two guesses are that you are using an older version of Q2 before we added multithreading to chimera removal, or that it is hanging/stalling on that step for memory reasons (chimera removal loads the sequence-variant table into memory, and w/ 50GB of input data the table will be pretty big).

PS: The lack of progress reporting is a current limitation of the underlying dada2 package, and you can follow future progress on that here: [dada2 is taciturn · Issue #215 · benjjneb/dada2 · GitHub](https://github.com/benjjneb/dada2/issues/215)

---

<div class="post-metadata">

**Author:** ![yeojuny](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/y/aca169/32.png) [@yeojuny](https://forum.qiime2.org/u/yeojuny)\
**Post date:** [August 3, 2017, 10:10pm UTC](https://forum.qiime2.org/t/estimated-time-for-dada2-process/941/6 "2017-08-03T22:10:27Z")

</div>

yes I always checked 'top', and it's sure it's running. Using many R jobs. So in my opinion, a chimera job with threads is working. My qiime2 version is 2017.4.  
Since I'm moving in the moment, if I could get the log file, I will attach it soon.

---

<div class="post-metadata">

**Author:** ![yeojuny](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/y/aca169/32.png) [@yeojuny](https://forum.qiime2.org/u/yeojuny)\
**Post date:** [August 7, 2017, 3:43am UTC](https://forum.qiime2.org/t/estimated-time-for-dada2-process/941/7 "2017-08-07T03:43:00Z")

</div>

> [@benjjneb](#):
>
> andard output or

sorry for late updating my status.  
actually one process with maxee 2 and truncn-q 2 options was finished yesterday (it took total 16 days, the other process with maxee 2 and trunc-q 0 is still running at day 18 now.), and I wanted to check the output files today. Two output files look ok with 5.8M table.qza and 17.4M rep-seqs.qza. but the log file showed some error message in the final step (I will attach the log file [B2840\_mx2\_tq2.txt](https://cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/flex002/uploads/qiime21/original/1X/87e7e2845bcce48db7440594edbacd566d50eb70.txt) (8.8 KB)  
.)  
now I'm trying to convert them to visualization files. But the converting table.qza to table.qzv showed an error message with "core dumped", and I found the solution here ([Error in qiime feature-table summarize - #2 by thermokarst](https://forum.qiime2.org/t/error-in-qiime-feature-table-summarize/308/2)), so it's running well. but it seems to take long again (so far 40min passed).  
The computing environment are shown below.

$ vi /proc/cpuinfo  
processor : 0  
vendor\_id : GenuineIntel  
cpu family : 6  
model : 79  
model name : Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz  
stepping : 1  
microcode : 0xb00001e  
cpu MHz : 1200.289  
cache size : 30720 KB  
physical id : 0  
siblings : 24  
core id : 0  
cpu cores : 12  
apicid : 0  
initial apicid : 0  
fpu : yes  
fpu\_exception : yes  
cpuid level : 20  
wp : yes

$ vi /proc/meminfo  
MemTotal: 230828360 kB  
MemFree: 223588644 kB  
MemAvailable: 226649432 kB  
Buffers: 20 kB  
Cached: 673396 kB  
SwapCached: 9212 kB  
Active: 2051348 kB  
Inactive: 467448 kB  
Active(anon): 1873836 kB  
Inactive(anon): 41176 kB  
Active(file): 177512 kB  
Inactive(file): 426272 kB  
Unevictable: 0 kB  
Mlocked: 0 kB  
SwapTotal: 16777212 kB  
SwapFree: 16691368 kB  
Dirty: 4 kB  
Writeback: 0 kB  
AnonPages: 1838964 kB  
Mapped: 61120 kB  
Shmem: 69492 kB  
Slab: 2986660 kB  
SReclaimable: 2794888 kB

---

<div class="post-metadata">

**Author:** ![benjjneb](https://forum.qiime2.org/user_avatar/forum.qiime2.org/benjjneb/32/1602_2.png) [@benjjneb](https://forum.qiime2.org/u/benjjneb)\
**Post date:** [August 7, 2017, 1:11pm UTC](https://forum.qiime2.org/t/estimated-time-for-dada2-process/941/8 "2017-08-07T13:11:09Z")

</div>

Thanks Yeojun. That would seem to be enough memory to avoid hanging in the chimera stage.

I suspect the length of your run-time is related to a recent issue we discovered at STAMPS, that conda-installed dada2 is much slower than it should be. Progress on that bug should appear here: [conda installed dada2 is slow · Issue #74 · qiime2/q2-dada2 · GitHub](https://github.com/qiime2/q2-dada2/issues/74)

---

<div class="post-metadata">

**Author:** ![yeojuny](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/y/aca169/32.png) [@yeojuny](https://forum.qiime2.org/u/yeojuny)\
**Post date:** [August 9, 2017, 4:11am UTC](https://forum.qiime2.org/t/estimated-time-for-dada2-process/941/9 "2017-08-09T04:11:48Z")

</div>

So do you recommend to run DADA2 outside of Qiime2 in the case of big data?

---

<div class="post-metadata">

**Author:** ![benjjneb](https://forum.qiime2.org/user_avatar/forum.qiime2.org/benjjneb/32/1602_2.png) [@benjjneb](https://forum.qiime2.org/u/benjjneb)\
**Post date:** [August 9, 2017, 1:09pm UTC](https://forum.qiime2.org/t/estimated-time-for-dada2-process/941/10 "2017-08-09T13:09:03Z")

</div>

That's an option for now. We are actively exploring the conda installation issue so hopefully it will be fixed soon though.

---

<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:** [September 9, 2017, 7:09pm UTC](https://forum.qiime2.org/t/estimated-time-for-dada2-process/941/11 "2017-09-09T19:09:03Z")

</div>

Closed on September 9, 2017, 7:09pm UTC

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

---

<div class="post-metadata">

**Author:** ![ebolyen](https://forum.qiime2.org/user_avatar/forum.qiime2.org/ebolyen/32/11_2.png) [@ebolyen](https://forum.qiime2.org/u/ebolyen)\
**Post date:** [December 22, 2017, 5:33pm UTC](https://forum.qiime2.org/t/estimated-time-for-dada2-process/941/12 "2017-12-22T17:33:45Z")

</div>

[QIIME 2 2017.12](https://forum.qiime2.org/t/qiime-2-2017-12-release-is-now-live/2308) has been released and uses DADA2 1.6 which has explicit SSE vectorization for much better performance!
