I am using the emp-single-end-sequences dataset to run the Qiime2 workflow.
I was able to generate the phylogenetic tree for the diversity analysis. But, after this step I was unable to generate the visualization file (qzv) for the alpha-rarefaction. It is giving the error, as following. I have removed and reinstalled Qiime2, even then the error is not solved.
Error
Plugin error from diversity:
[Errno 8] Exec format error: 'faithpd'
Debug info has been saved to /tmp/qiime2-q2cli-err-_i4csh25.log
Command used:
qiime diversity alpha-rarefaction --i-table table-dada2.qza --i-phylogeny rooted-tree.qza --p-max-depth 4000 --m-metadata-file sample-metadata.tsv --o-visualization alpha-rarefaction.qzv --qverbose
Verbose Output:
(qiime2-2023.7) bioinfo@AHLL09533:~/meta_geneome$ qiime diversity alpha-rarefaction --i-table table-dada2.qza --i-phylogeny rooted-tree.qza --p-max-depth 4000 --m-metadata-file sample-metadata.tsv --o-visualization alpha-rarefaction.qzv --verbose
Running external command line application. This may print messages to stdout and/or stderr.
The command being run is below. This command cannot be manually re-run as it will depend on temporary files that no longer exist.
Command:
faithpd -i /tmp/qiime2/bioinfo/data/991d9934-d26f-4aa9-8f42-f228edadc328/data/feature-table.biom -t /tmp/qiime2/bioinfo/data/f51690f0-8a8a-46b3-a425-39e1d3b31dbd/data/tree.nwk -o /tmp/q2-AlphaDiversityFormat-u0w7r459
Traceback (most recent call last):
File "/home/bioinfo/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/q2cli/commands.py", line 478, in call
results = self._execute_action(
File "/home/bioinfo/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/q2cli/commands.py", line 539, in _execute_action
results = action(**arguments)
File "", line 2, in alpha_rarefaction
File "/home/bioinfo/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/qiime2/sdk/action.py", line 342, in bound_callable
outputs = self.callable_executor(
File "/home/bioinfo/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/qiime2/sdk/action.py", line 615, in callable_executor
ret_val = self._callable(output_dir=temp_dir, **view_args)
File "/home/bioinfo/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/q2_diversity/_alpha/_visualizer.py", line 375, in alpha_rarefaction
data = _compute_rarefaction_data(table, min_depth, max_depth,
File "/home/bioinfo/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/q2_diversity/_alpha/_visualizer.py", line 306, in _compute_rarefaction_data
vector, = alpha_phylo(table=rt, metric=metric,
File "/home/bioinfo/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/qiime2/sdk/context.py", line 140, in deferred_action
return action_obj._bind(
File "", line 2, in alpha_phylogenetic
File "/home/bioinfo/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/qiime2/sdk/action.py", line 342, in bound_callable
outputs = self.callable_executor(
File "/home/bioinfo/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/qiime2/sdk/action.py", line 647, in callable_executor
outputs = self._callable(scope.ctx, **view_args)
File "/home/bioinfo/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/q2_diversity/_alpha/_pipeline.py", line 16, in alpha_phylogenetic
vector, = action(table, phylogeny)
File "/home/bioinfo/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/qiime2/sdk/context.py", line 140, in deferred_action
return action_obj._bind(
File "", line 2, in faith_pd
File "/home/bioinfo/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/qiime2/sdk/action.py", line 342, in bound_callable
outputs = self.callable_executor(
File "/home/bioinfo/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/qiime2/sdk/action.py", line 566, in callable_executor
output_views = self._callable(**view_args)
File "", line 2, in faith_pd
File "/home/bioinfo/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/q2_diversity_lib/_util.py", line 69, in _disallow_empty_tables
return wrapped_function(*args, **kwargs)
File "", line 2, in faith_pd
File "/home/bioinfo/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/q2_diversity_lib/_util.py", line 112, in _validate_requested_cpus
return wrapped_function(*bound_arguments.args, **bound_arguments.kwargs)
File "/home/bioinfo/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/q2_diversity_lib/alpha.py", line 53, in faith_pd
_omp_cmd_wrapper(threads, cmd)
File "/home/bioinfo/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/q2_diversity_lib/_util.py", line 128, in _omp_cmd_wrapper
return _run_external_cmd(cmd, verbose=verbose, env=env)
File "/home/bioinfo/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/q2_diversity_lib/_util.py", line 122, in _run_external_cmd
return subprocess.run(cmd, check=True, env=env)
File "/home/bioinfo/anaconda3/envs/qiime2-2023.7/lib/python3.8/subprocess.py", line 493, in run
with Popen(*popenargs, **kwargs) as process:
File "/home/bioinfo/anaconda3/envs/qiime2-2023.7/lib/python3.8/subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/bioinfo/anaconda3/envs/qiime2-2023.7/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: 'faithpd'
Plugin error from diversity:
[Errno 8] Exec format error: 'faithpd'
See above for debug info.
Files in directory
(qiime2-2023.7) bioinfo@AHLL09533:~/meta_geneome$ ls -ltr
total 54624
-rw-r--r-- 1 bioinfo bioinfo 12885 Aug 26 17:00 qiime2-2023.7-py38-linux-conda.yml
-rw-r--r-- 1 bioinfo bioinfo 2094 Aug 26 17:35 sample-metadata.tsv
drwxr-xr-x 1 bioinfo bioinfo 4096 Aug 26 17:45 single_end_sequences
-rw-r--r-- 1 bioinfo bioinfo 29102196 Aug 29 17:15 empsingle-end-sequences.qza
-rw-r--r-- 1 bioinfo bioinfo 20603392 Aug 29 18:07 demux.qza
-rw-r--r-- 1 bioinfo bioinfo 3502245 Aug 29 18:07 demuxdetails.qza
-rw-r--r-- 1 bioinfo bioinfo 302578 Aug 29 18:09 demux.qzv
-rw-r--r-- 1 bioinfo bioinfo 54459 Aug 29 18:30 table-dada2.qza
-rw-r--r-- 1 bioinfo bioinfo 50610 Aug 29 18:30 rep-seqs-dada2.qza
-rw-r--r-- 1 bioinfo bioinfo 17883 Aug 29 18:30 stats-dada2.qza
-rw-r--r-- 1 bioinfo bioinfo 1223783 Aug 29 18:38 stats-dada2.qzv
-rw-r--r-- 1 bioinfo bioinfo 453782 Aug 30 10:29 table.qzv
-rw-r--r-- 1 bioinfo bioinfo 284451 Aug 30 10:57 rep-seqs.qzv
-rw-r--r-- 1 bioinfo bioinfo 62633 Aug 30 11:16 aligned-rep-seqs.qza
-rw-r--r-- 1 bioinfo bioinfo 65293 Aug 30 11:40 masked-aligned-rep-seqs.qza
-rw-r--r-- 1 bioinfo bioinfo 63171 Aug 30 11:40 unrooted-tree.qza
-rw-r--r-- 1 bioinfo bioinfo 67614 Aug 30 11:40 rooted-tree.qza
Qiime2 Version:
(qiime2-2023.7) bioinfo@AHLL09533:~/meta_geneome$ qiime info
System versions
Python version: 3.8.15
QIIME 2 release: 2023.7
QIIME 2 version: 2023.7.0
q2cli version: 2023.7.0
Installed plugins
alignment: 2023.7.0
composition: 2023.7.0
cutadapt: 2023.7.0
dada2: 2023.7.0
deblur: 2023.7.0
demux: 2023.7.0
diversity: 2023.7.0
diversity-lib: 2023.7.0
emperor: 2023.7.0
feature-classifier: 2023.7.0
feature-table: 2023.7.0
fragment-insertion: 2023.7.0
gneiss: 2023.7.0
longitudinal: 2023.7.0
metadata: 2023.7.0
phylogeny: 2023.7.0
quality-control: 2023.7.0
quality-filter: 2023.7.0
sample-classifier: 2023.7.0
taxa: 2023.7.0
types: 2023.7.0
vsearch: 2023.7.0
Application config directory
/home/bioinfo/anaconda3/envs/qiime2-2023.7/var/q2cli
Getting help
To get help with QIIME 2, visit https://qiime2.org
Qiime2 Installation Method
Conda
Windows 10 Pro --> Ubuntu --> conda --> Qiime2
Ubuntu Version
Ubuntu 20.04.6 LTS (GNU/Linux 4.4.0-19041-Microsoft x86_64)
command:
conda env create -n qiime2-2023.7 --file qiime2-2023.7-py38-linux-conda.yml
Please, let me know if you need any further information
Thanks in advance