Hi, am a new qiime2 user.
I am trying to familiarize with it by running the “Moving Pictures” tutorial, and I executed the following commands (copied from here).
mkdir qiime2-moving-pictures-tutorial
cd qiime2-moving-pictures-tutorial
wget -O "sample-metadata.tsv" "https://data.qiime2.org/2017.12/tutorials/moving-pictures/sample_metadata.tsv"
mkdir emp-single-end-sequences
wget -O "emp-single-end-sequences/barcodes.fastq.gz" "https://data.qiime2.org/2017.12/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz"
wget -O "emp-single-end-sequences/sequences.fastq.gz" "https://data.qiime2.org/2017.12/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz"
qiime tools import \
--type EMPSingleEndSequences \
--input-path emp-single-end-sequences \
--output-path emp-single-end-sequences.qza
qiime demux emp-single \
--i-seqs emp-single-end-sequences.qza \
--m-barcodes-file sample-metadata.tsv \
--m-barcodes-category BarcodeSequence \
--o-per-sample-sequences demux.qza
The last command gives the following error:
Plugin error from demux:
[('/projects/novabreed/share/marroni/tmp/qiime2-archive-795p6x97/7af2d007-0f0a-462a-b0a0-016eee96e389/provenance/VERSION', '/projects/novabreed/share/marroni/tmp/qiime2-provenance-ssd7pp15/artifacts/7af2d007-0f0a-462a-b0a0-016eee96e389/VERSION', "[Errno 22] Invalid argument: '/projects/novabreed/share/marroni/tmp/qiime2-provenance-ssd7pp15/artifacts/7af2d007-0f0a-462a-b0a0-016eee96e389/VERSION'"), ('/projects/novabreed/share/marroni/tmp/qiime2-archive-795p6x97/7af2d007-0f0a-462a-b0a0-016eee96e389/provenance/metadata.yaml', '/projects/novabreed/share/marroni/tmp/qiime2-provenance-ssd7pp15/artifacts/7af2d007-0f0a-462a-b0a0-016eee96e389/metadata.yaml', "[Errno 22] Invalid argument: '/projects/novabreed/share/marroni/tmp/qiime2-provenance-ssd7pp15/artifacts/7af2d007-0f0a-462a-b0a0-016eee96e389/metadata.yaml'"), ('/projects/novabreed/share/marroni/tmp/qiime2-archive-795p6x97/7af2d007-0f0a-462a-b0a0-016eee96e389/provenance/action/action.yaml', '/projects/novabreed/share/marroni/tmp/qiime2-provenance-ssd7pp15/artifacts/7af2d007-0f0a-462a-b0a0-016eee96e389/action/action.yaml', "[Errno 22] Invalid argument: '/projects/novabreed/share/marroni/tmp/qiime2-provenance-ssd7pp15/artifacts/7af2d007-0f0a-462a-b0a0-016eee96e389/action/action.yaml'"), ('/projects/novabreed/share/marroni/tmp/qiime2-archive-795p6x97/7af2d007-0f0a-462a-b0a0-016eee96e389/provenance/action', '/projects/novabreed/share/marroni/tmp/qiime2-provenance-ssd7pp15/artifacts/7af2d007-0f0a-462a-b0a0-016eee96e389/action', "[Errno 22] Invalid argument: '/projects/novabreed/share/marroni/tmp/qiime2-provenance-ssd7pp15/artifacts/7af2d007-0f0a-462a-b0a0-016eee96e389/action'"), ('/projects/novabreed/share/marroni/tmp/qiime2-archive-795p6x97/7af2d007-0f0a-462a-b0a0-016eee96e389/provenance', '/projects/novabreed/share/marroni/tmp/qiime2-provenance-ssd7pp15/artifacts/7af2d007-0f0a-462a-b0a0-016eee96e389', "[Errno 22] Invalid argument: '/projects/novabreed/share/marroni/tmp/qiime2-provenance-ssd7pp15/artifacts/7af2d007-0f0a-462a-b0a0-016eee96e389'")]
Debug info has been saved to /projects/novabreed/share/marroni/tmp/qiime2-q2cli-err-lrkzg5mg.log
The content of the cited log file is the following:
Traceback (most recent call last):
File "/projects/novabreed/share/anaconda-3/envs/qiime2-2017.12.1/lib/python3.5/site-packages/q2cli/commands.py", line 224, in __call__
results = action(**arguments)
File "<decorator-gen-336>", line 2, in emp_single
File "/projects/novabreed/share/anaconda-3/envs/qiime2-2017.12.1/lib/python3.5/site-packages/qiime2/sdk/action.py", line 208, in bound_callable
provenance.add_input(name, artifact)
File "/projects/novabreed/share/anaconda-3/envs/qiime2-2017.12.1/lib/python3.5/site-packages/qiime2/core/archive/provenance.py", line 306, in add_input
self.inputs[name] = self.add_ancestor(input)
File "/projects/novabreed/share/anaconda-3/envs/qiime2-2017.12.1/lib/python3.5/site-packages/qiime2/core/archive/provenance.py", line 146, in add_ancestor
ignore=shutil.ignore_patterns(self.ANCESTOR_DIR + '*'))
File "/projects/novabreed/share/anaconda-3/envs/qiime2-2017.12.1/lib/python3.5/shutil.py", line 359, in copytree
raise Error(errors)
shutil.Error: [('/projects/novabreed/share/marroni/tmp/qiime2-archive-795p6x97/7af2d007-0f0a-462a-b0a0-016eee96e389/provenance/VERSION', '/projects/novabreed/share/marroni/tmp/qiime2-provenance-ssd7pp15/artifacts/7af2d007-0f0a-462a-b0a0-016eee96e389/VERSION', "[Errno 22] Invalid argument: '/projects/novabreed/share/marroni/tmp/qiime2-provenance-ssd7pp15/artifacts/7af2d007-0f0a-462a-b0a0-016eee96e389/VERSION'"), ('/projects/novabreed/share/marroni/tmp/qiime2-archive-795p6x97/7af2d007-0f0a-462a-b0a0-016eee96e389/provenance/metadata.yaml', '/projects/novabreed/share/marroni/tmp/qiime2-provenance-ssd7pp15/artifacts/7af2d007-0f0a-462a-b0a0-016eee96e389/metadata.yaml', "[Errno 22] Invalid argument: '/projects/novabreed/share/marroni/tmp/qiime2-provenance-ssd7pp15/artifacts/7af2d007-0f0a-462a-b0a0-016eee96e389/metadata.yaml'"), ('/projects/novabreed/share/marroni/tmp/qiime2-archive-795p6x97/7af2d007-0f0a-462a-b0a0-016eee96e389/provenance/action/action.yaml', '/projects/novabreed/share/marroni/tmp/qiime2-provenance-ssd7pp15/artifacts/7af2d007-0f0a-462a-b0a0-016eee96e389/action/action.yaml', "[Errno 22] Invalid argument: '/projects/novabreed/share/marroni/tmp/qiime2-provenance-ssd7pp15/artifacts/7af2d007-0f0a-462a-b0a0-016eee96e389/action/action.yaml'"), ('/projects/novabreed/share/marroni/tmp/qiime2-archive-795p6x97/7af2d007-0f0a-462a-b0a0-016eee96e389/provenance/action', '/projects/novabreed/share/marroni/tmp/qiime2-provenance-ssd7pp15/artifacts/7af2d007-0f0a-462a-b0a0-016eee96e389/action', "[Errno 22] Invalid argument: '/projects/novabreed/share/marroni/tmp/qiime2-provenance-ssd7pp15/artifacts/7af2d007-0f0a-462a-b0a0-016eee96e389/action'"), ('/projects/novabreed/share/marroni/tmp/qiime2-archive-795p6x97/7af2d007-0f0a-462a-b0a0-016eee96e389/provenance', '/projects/novabreed/share/marroni/tmp/qiime2-provenance-ssd7pp15/artifacts/7af2d007-0f0a-462a-b0a0-016eee96e389', "[Errno 22] Invalid argument: '/projects/novabreed/share/marroni/tmp/qiime2-provenance-ssd7pp15/artifacts/7af2d007-0f0a-462a-b0a0-016eee96e389'")]
Output of qiime info is the following:
System versions
Python version: 3.5.4
QIIME 2 release: 2017.12
QIIME 2 version: 2017.12.1
q2cli version: 2017.12.0
Installed plugins
alignment 2017.12.0
composition 2017.12.0
cutadapt 2017.12.0
dada2 2017.12.1
deblur 2017.12.0
demux 2017.12.0
diversity 2017.12.0
emperor 2017.12.0
feature-classifier 2017.12.0
feature-table 2017.12.0
gneiss 2017.12.0
longitudinal 2017.12.0
metadata 2017.12.0
phylogeny 2017.12.0
quality-control 2017.12.0
quality-filter 2017.12.0
sample-classifier 2017.12.0
taxa 2017.12.0
types 2017.12.0
vsearch 2017.12.0
Application config directory
/home/marroni/.config/q2cli
Getting help
To get help with QIIME 2, visit https://qiime2.org
Citing QIIME 2
If you use QIIME 2 in any published work, you should cite QIIME 2 and the plugins that you used. To display the citations for QIIME 2 and all installed plugins, run:
qiime info --citations
Although I was sure it was not the same issue, I already tried the solution you suggested here for a different problem in demux emp-single.
I don’t know if these details are important, but:
- /projects/novabreed/share/marroni/tmp/ is my (hardcoded, i.e. loaded at login) TMPDIR
- The subfolders mentioned in the log, such as /projects/novabreed/share/marroni/tmp/qiime2-archive-795p6x97 do not exist.
I am pretty sure that I am making some very stupid mistake, but at present I have no clues regarding what’s causing the issue. Can you help me?