Hi! I’m running 2019.7 on a Virtualbox machine. dada2 has worked well for me in the past, but now it’s glitching in a way I’m not sure how to interpret or fix. I recently upgraded from 2018.8 and removed the old 2018.8 environment. I’m guessing that has something to do with the problem.
The main error message is the long one at the end, but here are a couple of others I’ve been getting in case they’re relevant.
When first opening a terminal:
Could not find conda environment: qiime2-2018.8
You can list all discoverable environments with conda info --envs
.
bash: tab-qiime: No such file or directory
Easily solved with source activate qiime2-2019.7, though it would be nice to know how to set this as the default environment. I did that somehow when upgrading to 2018.8 a long time ago, but I can’t find instructions now.
I also get the following warning when using quality-filter q-score, but it completes successfully.
qiime quality-filter q-score --i-demux 20190904Popko_MiFish.qza --p-quality-window 0 --p-min-quality 5 --p-min-length-fraction 0.75 --o-filtered-sequences 20190904Popko_MiFish_qual1.qza --o-filter-stats 20190904Popko_MiFish_filterstats1 --verbose
/home/qiime2/miniconda/envs/qiime2-2019.7/lib/python3.6/site-packages/q2_quality_filter/_filter.py:88: YAMLLoadWarning: calling yaml.load() without Loader=… is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
** phred_offset = yaml.load(metadata_view)[‘phred-offset’]**
Saved SampleData[SequencesWithQuality] to: 20190904Popko_MiFish_qual1.qza
Saved QualityFilterStats to: 20190904Popko_MiFish_filterstats1.qza
Here is the main error message from dada2:
(qiime2-2019.7) [email protected]:~/Documents/20190904Popko/MiFish$ qiime dada2 denoise-pyro --i-demultiplexed-seqs 20190904Popko_MiFish_qual2.qza --p-trunc-len 0 --p-max-ee 1 --p-chimera-method consensus --o-table 20190904Popko_MiFish_dereplicated_featuretable --o-representative-sequences 20190904Popko_MiFish_dereplicated_sequences --o-denoising-stats 20190904Popko_MiFish_denoising-stats --verbose
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_single.R /tmp/qiime2-archive-dcyqgqco/25cd8461-7eb5-4891-9cc9-6ec751f59c77/data /tmp/tmp5_xrb483/output.tsv.biom /tmp/tmp5_xrb483/track.tsv /tmp/tmp5_xrb483 0 0 1.0 2 Inf consensus 1.0 1 250000 -1 32
R version 3.5.1 (2018-07-02) **
Loading required package: Rcpp
Error: package or namespace load failed for ‘dada2’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
** there is no package called ‘GenomeInfoDbData’
Execution halted
Traceback (most recent call last):
** File “/home/qiime2/miniconda/envs/qiime2-2019.7/lib/python3.6/site-packages/q2_dada2/_denoise.py”, line 154, in _denoise_single**
** run_commands([cmd])**
** File “/home/qiime2/miniconda/envs/qiime2-2019.7/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-2019.7/lib/python3.6/subprocess.py”, line 418, in run**
** output=stdout, stderr=stderr)**
subprocess.CalledProcessError: Command ‘[‘run_dada_single.R’, ‘/tmp/qiime2-archive-dcyqgqco/25cd8461-7eb5-4891-9cc9-6ec751f59c77/data’, ‘/tmp/tmp5_xrb483/output.tsv.biom’, ‘/tmp/tmp5_xrb483/track.tsv’, ‘/tmp/tmp5_xrb483’, ‘0’, ‘0’, ‘1.0’, ‘2’, ‘Inf’, ‘consensus’, ‘1.0’, ‘1’, ‘250000’, ‘-1’, ‘32’]’ 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-2019.7/lib/python3.6/site-packages/q2cli/commands.py”, line 327, in call**
** results = action(arguments)
** File “</home/qiime2/miniconda/envs/qiime2-2019.7/lib/python3.6/site-packages/decorator.py:decorator-gen-461>”, line 2, in denoise_pyro**
** File “/home/qiime2/miniconda/envs/qiime2-2019.7/lib/python3.6/site-packages/qiime2/sdk/action.py”, line 240, in bound_callable**
** output_types, provenance)**
** File “/home/qiime2/miniconda/envs/qiime2-2019.7/lib/python3.6/site-packages/qiime2/sdk/action.py”, line 383, in callable_executor**
** output_views = self._callable(view_args)
** File “/home/qiime2/miniconda/envs/qiime2-2019.7/lib/python3.6/site-packages/q2_dada2/_denoise.py”, line 274, in denoise_pyro**
** band_size=‘32’)**
** File “/home/qiime2/miniconda/envs/qiime2-2019.7/lib/python3.6/site-packages/q2_dada2/_denoise.py”, line 165, in _denoise_single**
** " 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.
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.
Any idea what I can do to sort this out?
Thanks!
Erin