Hello again!
So I have received the following errors. I ran my dada2 command and it finished successfully I then went on to incorporate my metadata and got the following:
My first attempt:
(qiime2-2017.10) wsb255bioimac27:Fink_fermenter_Exp3 mel_local$ qiime feature-table summarize --i-table ADe3-Arc-table_dada2.qza --o-visualization ADe3-Arc-table_dada2.qzv --m-sample-metadata-file ADe3_Arc_sample-metadata.tsv
There was an issue with loading the file ADe3_Arc_sample-metadata.tsv as metadata:
Invalid characters (e.g. '/', '\x00', '\\', '*', '<', '>', '?', '|', '$') or empty ID detected in metadata category label: ''. There may be more errors present in this metadata. Sample/feature metadata files can be validated using Keemei: http://keemei.qiime.org
Seeing the above I figured it was the underscore issue again (ala this issue we figured out from a dada2 error: dada2 underscore issue), additionally when I went back and remembered to validate using Keemei it also told me there was something wrong with my sampleID column though it was not specific except to say there might be illegal characters...so I changed all my sample names to dashes instead of underscores. It passed Keemei and so I reran the command:
metadata from below command: sample-metadata.tsv (4.0 KB)
(qiime2-2017.10) wsb255bioimac27:Fink_fermenter_Exp3 mel_local$ qiime feature-table summarize --i-table ADe3-Arc-table_dada2.qza --o-visualization ADe3-Arc-table_dada2.qzv --m-sample-metadata-file sample-metadata.tsv
Plugin error from feature-table:
"None of [Index(['F1-42-Arc', 'F1-42-5-Arc', 'F1-101-5-Arc', 'F2-8-Arc', 'F2-2-Arc',\n 'F1-89-5-Arc', 'F2-24-Arc', 'F1-57-5-Arc', 'F1-0-Arc', 'F1-1-Arc',\n 'F1-0-5-Arc', 'F1-65-5-Arc', 'F1-128-5-Arc', 'F2-45-5-Arc',\n 'F1-41-5-Arc', 'F1-49-5-Arc', 'F2-42-Arc', 'F2-42-5-Arc',\n 'F2-128-5-Arc', 'F2-1-Arc', 'F2-43-5-Arc', 'F2-41-5-Arc',\n 'F2-182-5-Arc', 'M1-Arc', 'F2-4-Arc', 'F2-101-5-Arc', 'F2-0-5-Arc',\n 'F2-0-Arc', 'F1-16-Arc', 'F1-45-5-Arc', 'F1-8-Arc', 'F2-16-Arc',\n 'F2-89-5-Arc', 'F2-49-5-Arc', 'F1-24-Arc', 'F1-4-Arc', 'F1-43-5-Arc',\n 'F2-155-5-Arc', 'FD1-Arc', 'F1-182-5-Arc', 'F2-57-5-Arc', 'F1-2-Arc',\n 'F2-65-5-Arc', 'F1-155-5-Arc', 'BLANK2-Arc', 'F1-W-Arc', 'F2-W-Arc',\n 'BLANK1-Arc'],\n dtype='object')] are in the [index]"
Debug info has been saved to /var/folders/12/2j8hq03s52lbnstw5wh008k80000gq/T/qiime2-q2cli-err-z1iymwtl.log
(qiime2-2017.10) wsb255bioimac27:Fink_fermenter_Exp3 mel_local$ vi /var/folders/12/2j8hq03s52lbnstw5wh008k80000gq/T/qiime2-q2cli-err-z1iymwtl.log
Traceback (most recent call last):
File "/Users/mel_local/miniconda2/envs/qiime2-2017.10/lib/python3.5/site-packages/q2cli/commands.py", line 218, in __call__
results = action(**arguments)
File "<decorator-gen-239>", line 2, in summarize
File "/Users/mel_local/miniconda2/envs/qiime2-2017.10/lib/python3.5/site-packages/qiime2/sdk/action.py", line 220, in bound_callable
output_types, provenance)
File "/Users/mel_local/miniconda2/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 "/Users/mel_local/miniconda2/envs/qiime2-2017.10/lib/python3.5/site-packages/q2_feature_table/_summarize/_visualizer.py", line 148, in summarize
df.loc[sample_frequencies.index].to_json(fh)
File "/Users/mel_local/miniconda2/envs/qiime2-2017.10/lib/python3.5/site-packages/pandas/core/indexing.py", line 1328, in __getitem__
return self._getitem_axis(key, axis=0)
File "/Users/mel_local/miniconda2/envs/qiime2-2017.10/lib/python3.5/site-packages/pandas/core/indexing.py", line 1541, in _getitem_axis
return self._getitem_iterable(key, axis=axis)
File "/Users/mel_local/miniconda2/envs/qiime2-2017.10/lib/python3.5/site-packages/pandas/core/indexing.py", line 1081, in _getitem_iterable
self._has_valid_type(key, axis)
File "/Users/mel_local/miniconda2/envs/qiime2-2017.10/lib/python3.5/site-packages/pandas/core/indexing.py", line 1418, in _has_valid_type
(key, self.obj._get_axis_name(axis)))
KeyError: "None of [Index(['F1-42-Arc', 'F1-42-5-Arc', 'F1-101-5-Arc', 'F2-8-Arc', 'F2-2-Arc',\n 'F1-89-5-Arc', 'F2-24-Arc', 'F1-57-5-Arc', 'F1-0-Arc', 'F1-1-Arc',\n 'F1-0-5-Arc', 'F1-65-5-Arc', 'F1-128-5-Arc', 'F2-45-5-Arc',\n 'F1-41-5-Arc', 'F1-49-5-Arc', 'F2-42-Arc', 'F2-42-5-Arc',\n 'F2-128-5-Arc', 'F2-1-Arc', 'F2-43-5-Arc', 'F2-41-5-Arc',\n 'F2-182-5-Arc', 'M1-Arc', 'F2-4-Arc', 'F2-101-5-Arc', 'F2-0-5-Arc',\n 'F2-0-Arc', 'F1-16-Arc', 'F1-45-5-Arc', 'F1-8-Arc', 'F2-16-Arc',\n 'F2-89-5-Arc', 'F2-49-5-Arc', 'F1-24-Arc', 'F1-4-Arc', 'F1-43-5-Arc',\n 'F2-155-5-Arc', 'FD1-Arc', 'F1-182-5-Arc', 'F2-57-5-Arc', 'F1-2-Arc',\n 'F2-65-5-Arc', 'F1-155-5-Arc', 'BLANK2-Arc', 'F1-W-Arc', 'F2-W-Arc',\n 'BLANK1-Arc'],\n dtype='object')] are in the [index]"
Would this be because my actual sequence file names have underscores and my metadata file - I changed the underscores to dashes?
The only other thing I could think of was I do have cells that are missing metadata because we didn't get measurements for those time points. Is there a null value I can put in there if that is the issue?
Thanks!
Mel