Hello:
I'm running qiime 2022.8, command line on Apple iMac (os 11.7). Here is my command and the verbose output:
(qiime2-2022.8) Heather-Maughans-iMac:Oct2022_Combined_datasets heathermaughan$ qiime dada2 denoise-paired --i-demultiplexed-seqs Trich_Combined_seqs2.qza --p-trunc-len-f 150 --p-trunc-len-r 150 --o-representative-sequences rep-seqs-dada2-Trich.qza --o-table table-dada2-Trich.qza --o-denoising-stats stats-dada2-Trich-qza --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.R --input_directory /var/folders/8q/d5kdh6rd53q55m98gzylsxxr0000gn/T/tmpk1pp7m2h/forward --input_directory_reverse /var/folders/8q/d5kdh6rd53q55m98gzylsxxr0000gn/T/tmpk1pp7m2h/reverse --output_path /var/folders/8q/d5kdh6rd53q55m98gzylsxxr0000gn/T/tmpk1pp7m2h/output.tsv.biom --output_track /var/folders/8q/d5kdh6rd53q55m98gzylsxxr0000gn/T/tmpk1pp7m2h/track.tsv --filtered_directory /var/folders/8q/d5kdh6rd53q55m98gzylsxxr0000gn/T/tmpk1pp7m2h/filt_f --filtered_directory_reverse /var/folders/8q/d5kdh6rd53q55m98gzylsxxr0000gn/T/tmpk1pp7m2h/filt_r --truncation_length 150 --truncation_length_reverse 150 --trim_left 0 --trim_left_reverse 0 --max_expected_errors 2.0 --max_expected_errors_reverse 2.0 --truncation_quality_score 2 --min_overlap 12 --pooling_method independent --chimera_method consensus --min_parental_fold 1.0 --allow_one_off False --num_threads 1 --learn_min_reads 1000000
R version 4.1.3 (2022-03-10)
Loading required package: Rcpp
Error: package or namespace load failed for ‘dada2’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Users/heathermaughan/miniconda3/envs/qiime2-2022.8/lib/R/library/png/libs/png.dylib':
dlopen(/Users/heathermaughan/miniconda3/envs/qiime2-2022.8/lib/R/library/png/libs/png.dylib, 6): Library not loaded: @rpath/libpng16.16.dylib
Referenced from: /Users/heathermaughan/miniconda3/envs/qiime2-2022.8/lib/R/library/png/libs/png.dylib
Reason: Incompatible library version: png.dylib requires version 55.0.0 or later, but libpng16.16.dylib provides version 54.0.0
Execution halted
Traceback (most recent call last):
File "/Users/heathermaughan/miniconda3/envs/qiime2-2022.8/lib/python3.8/site-packages/q2_dada2/_denoise.py", line 308, in denoise_paired
run_commands([cmd])
File "/Users/heathermaughan/miniconda3/envs/qiime2-2022.8/lib/python3.8/site-packages/q2_dada2/_denoise.py", line 36, in run_commands
subprocess.run(cmd, check=True)
File "/Users/heathermaughan/miniconda3/envs/qiime2-2022.8/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['run_dada.R', '--input_directory', '/var/folders/8q/d5kdh6rd53q55m98gzylsxxr0000gn/T/tmpk1pp7m2h/forward', '--input_directory_reverse', '/var/folders/8q/d5kdh6rd53q55m98gzylsxxr0000gn/T/tmpk1pp7m2h/reverse', '--output_path', '/var/folders/8q/d5kdh6rd53q55m98gzylsxxr0000gn/T/tmpk1pp7m2h/output.tsv.biom', '--output_track', '/var/folders/8q/d5kdh6rd53q55m98gzylsxxr0000gn/T/tmpk1pp7m2h/track.tsv', '--filtered_directory', '/var/folders/8q/d5kdh6rd53q55m98gzylsxxr0000gn/T/tmpk1pp7m2h/filt_f', '--filtered_directory_reverse', '/var/folders/8q/d5kdh6rd53q55m98gzylsxxr0000gn/T/tmpk1pp7m2h/filt_r', '--truncation_length', '150', '--truncation_length_reverse', '150', '--trim_left', '0', '--trim_left_reverse', '0', '--max_expected_errors', '2.0', '--max_expected_errors_reverse', '2.0', '--truncation_quality_score', '2', '--min_overlap', '12', '--pooling_method', 'independent', '--chimera_method', 'consensus', '--min_parental_fold', '1.0', '--allow_one_off', 'False', '--num_threads', '1', '--learn_min_reads', '1000000']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/heathermaughan/miniconda3/envs/qiime2-2022.8/lib/python3.8/site-packages/q2cli/commands.py", line 339, in call
results = action(**arguments)
File "", line 2, in denoise_paired
File "/Users/heathermaughan/miniconda3/envs/qiime2-2022.8/lib/python3.8/site-packages/qiime2/sdk/action.py", line 234, in bound_callable
outputs = self.callable_executor(scope, callable_args,
File "/Users/heathermaughan/miniconda3/envs/qiime2-2022.8/lib/python3.8/site-packages/qiime2/sdk/action.py", line 381, in callable_executor
output_views = self._callable(**view_args)
File "/Users/heathermaughan/miniconda3/envs/qiime2-2022.8/lib/python3.8/site-packages/q2_dada2/_denoise.py", line 321, in denoise_paired
raise Exception("An error was encountered while running DADA2"
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.
I think something is wrong with R versions? Looking at other forum posts, I've tried
-
heathermaughan$ cat ~/.Rprofile
cat: /Users/heathermaughan/.Rprofile: No such file or directory -
Uninstalling RStudio. This did not help.
-
Here is my env PATH
PATH=/Users/heathermaughan/miniconda3/envs/qiime2-2022.8/bin:/Users/heathermaughan/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin:/opt/X11/bin:/Library/Apple/usr/bin:/usr/local/git/bin
Any help is much appreciated, thank you!
Heather