Plugin error from diversity--alpha-rarefaction

I am using 2018.4 version of qiime2 and got this error while running diversity alpha-rarefaction. Any idea how to fix it. thanks, Gary

$ qiime diversity alpha-rarefaction --i-table 341F_single_table.qza --i-phylogeny rooted-tree.qza --p-max-depth 16771 --m-metadata-file metadata_16s2.tsv --o-visualization alpha-rarefaction.qzv

Plugin error from diversity:

[Errno 2] No such file or directory: '/tmp/qiime2-temp-wcz0n21i/shannon-Varnish/Soil%20%28mg%29.jsonp'

Debug info has been saved to /tmp/qiime2-q2cli-err-l0ncw_hw.log

$ more /tmp/qiime2-q2cli-err-l0ncw_hw.log
Traceback (most recent call last):
File "/opt/apps/Anaconda3/envs/qiime2-2018.4/lib/python3.5/site-packages/q2cli/commands.py", line 274, in call
results = action(**arguments)
File "", line 2, in alpha_rarefaction
File "/opt/apps/Anaconda3/envs/qiime2-2018.4/lib/python3.5/site-packages/qiime2/sdk/action.py", line 231, in bound_callable
output_types, provenance)
File "/opt/apps/Anaconda3/envs/qiime2-2018.4/lib/python3.5/site-packages/qiime2/sdk/action.py", line 428, in callable_executor
ret_val = self._callable(output_dir=temp_dir, **view_args)
File "/opt/apps/Anaconda3/envs/qiime2-2018.4/lib/python3.5/site-packages/q2_diversity/_alpha/_visualizer.py", line 356, in alpha_rarefaction
metric_name, c_df, column)
File "/opt/apps/Anaconda3/envs/qiime2-2018.4/lib/python3.5/site-packages/q2_diversity/_alpha/_visualizer.py", line 250, in _alpha_rarefaction_jsonp
with open(os.path.join(output_dir, filename), 'w') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/qiime2-temp-wcz0n21i/shannon-Varnish/Soil%20%28mg%29.jsonp'
341F_single_table.qza (303.5 KB)
rooted-tree.qza (304.6 KB)metadata_16s2.tsv (4.5 KB)

Hey there @hotblast - the issue appears to be related to the / character in the metadata column Varnish/Soil (mg). I have opened an issue to track this. In the meantime drop the slash in the column label and you should be good to go. Thanks for the report! :qiime2: :t_rex:

2 Likes

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