Thanks for the reply.
Here are the commands that I ran, with the error occurring in demux summarize
qiime demux emp-paired \
--m-barcodes-file meta.tsv \
--m-barcodes-category Barcode \
--i-seqs ../reads.qza \
--o-per-sample-sequences demux
qiime demux summarize \
--i-data demux.qza \
--verbose \
--o-visualization demux.qzv
The error is:
Traceback (most recent call last):
File "/N/u/chemmeri/Karst/opt/miniconda3/envs/qiime2-2017.10/lib/python3.5/site-packages/q2cli/commands.py", line 218, in call
results = action(**arguments)
File "", line 2, in summarize
File "/N/u/chemmeri/Karst/opt/miniconda3/envs/qiime2-2017.10/lib/python3.5/site-packages/qiime2/sdk/action.py", line 220, in bound_callable
output_types, provenance)
File "/N/u/chemmeri/Karst/opt/miniconda3/envs/qiime2-2017.10/lib/python3.5/site-packages/qiime2/sdk/action.py", line 416, in callable_executor
ret_val = self._callable(output_dir=temp_dir, **view_args)
File "/N/u/chemmeri/Karst/opt/miniconda3/envs/qiime2-2017.10/lib/python3.5/site-packages/q2_demux/_summarize/_visualizer.py", line 102, in summarize
header=0, comment='#')
File "/N/u/chemmeri/Karst/opt/miniconda3/envs/qiime2-2017.10/lib/python3.5/site-packages/pandas/io/parsers.py", line 655, in parser_f
return _read(filepath_or_buffer, kwds)
File "/N/u/chemmeri/Karst/opt/miniconda3/envs/qiime2-2017.10/lib/python3.5/site-packages/pandas/io/parsers.py", line 411, in _read
data = parser.read(nrows)
File "/N/u/chemmeri/Karst/opt/miniconda3/envs/qiime2-2017.10/lib/python3.5/site-packages/pandas/io/parsers.py", line 1005, in read
ret = self._engine.read(nrows)
File "/N/u/chemmeri/Karst/opt/miniconda3/envs/qiime2-2017.10/lib/python3.5/site-packages/pandas/io/parsers.py", line 1748, in read
data = self._reader.read(nrows)
File "pandas/_libs/parsers.pyx", line 890, in pandas._libs.parsers.TextReader.read (pandas/_libs/parsers.c:10862)
File "pandas/_libs/parsers.pyx", line 912, in pandas._libs.parsers.TextReader._read_low_memory (pandas/_libs/parsers.c:11138)
File "pandas/_libs/parsers.pyx", line 966, in pandas._libs.parsers.TextReader._read_rows (pandas/_libs/parsers.c:11884)
File "pandas/_libs/parsers.pyx", line 953, in pandas._libs.parsers.TextReader._tokenize_rows (pandas/_libs/parsers.c:11755)
File "pandas/_libs/parsers.pyx", line 2184, in pandas._libs.parsers.raise_parser_error (pandas/_libs/parsers.c:28765)
pandas.errors.ParserError: Error tokenizing data. C error: Expected 3 fields in line 84, saw 7
Plugin error from demux:
Error tokenizing data. C error: Expected 3 fields in line 84, saw 7
See above for debug info.
I made the leap to the error being caused by a comma by poking around the qza archive for tabular files. Line 84 (from the error) from data/MANIFEST is
GSF1493_Mock2,3,4,GSF1493_Mock2,3,4_42_L001_R1_001.fastq.gz,forward
as compared to another example
GSF1493_CGB_EB_Neg,GSF1493_CGB_EB_Neg_46_L001_R1_001.fastq.gz,forward
The sample names from my metadata file for these two samples are:
GSF1493_Mock2,3,4
GSF1493_CGB_EB_Neg
When I removed these commas and reran demux emp-paired, it worked okay.
I can't share qza file or non-control sample info because this data is not mine to share. Please let me know if you have any other questions or I wasn't clear.
Thanks,
Chris