dada2 denoise-paired step error

filepath
(a_s) #1

Hello,

I’m using dada2 with commands below:

source activate qiime2-2018.6
qiime dada2 denoise-paired
–i-demultiplexed-seqs /home/lj/wyh/split/wyh.qza
–p-trunc-len-f 0
–p-trunc-len-r 0
–o-table /home/lj/wyh/dada2/table.qza
–o-representative-sequences /home/lj/wyh/dada2/representative_sequences.qza
–o-denoising-stats /home/lj/wyh/dada2/denoising_stats.qza \

These commands works well with illumina PE250 data before , but it turns error today with a PE300 data, could anyone help me? Thanks.

Error message:

Traceback (most recent call last):
File “/home/lj/miniconda3/envs/qiime2-2018.6/bin/qiime”, line 11, in
sys.exit(qiime())
File “/home/lj/miniconda3/envs/qiime2-2018.6/lib/python3.5/site-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/home/lj/miniconda3/envs/qiime2-2018.6/lib/python3.5/site-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/home/lj/miniconda3/envs/qiime2-2018.6/lib/python3.5/site-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/lj/miniconda3/envs/qiime2-2018.6/lib/python3.5/site-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/lj/miniconda3/envs/qiime2-2018.6/lib/python3.5/site-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/lj/miniconda3/envs/qiime2-2018.6/lib/python3.5/site-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/lj/miniconda3/envs/qiime2-2018.6/lib/python3.5/site-packages/q2cli/commands.py”, line 294, in call
path = result.save(output)
File “/home/lj/miniconda3/envs/qiime2-2018.6/lib/python3.5/site-packages/qiime2/sdk/result.py”, line 148, in save
self._archiver.save(filepath)
File “/home/lj/miniconda3/envs/qiime2-2018.6/lib/python3.5/site-packages/qiime2/core/archive/archiver.py”, line 347, in save
self.CURRENT_ARCHIVE.save(self.path, filepath)
File “/home/lj/miniconda3/envs/qiime2-2018.6/lib/python3.5/site-packages/qiime2/core/archive/archiver.py”, line 162, in save
allowZip64=True) as zf:
File “/home/lj/miniconda3/envs/qiime2-2018.6/lib/python3.5/zipfile.py”, line 1009, in init
self.fp = io.open(file, filemode)
FileNotFoundError: [Errno 2] No such file or directory: ‘/home/lj/wyh/dada2/table.qza’

(Justine) #2

Hi @a_s,

Welcome!

Based on the error, it looks like the path, ‘/home/lj/wyh/dada2/table.qza doesn’t exist. Could you please make sure that /home/lj/wyh/dada2/, and if it doesn’t, you may need to make it.

Best,
Justine

(a_s) #3

It works, thanks. :grinning:

1 Like