However, I get the following error when I try to run it on my data:
Traceback (most recent call last):
File "/home/dylan/miniconda3/envs/qiime2-2021.11/lib/python3.8/site-packages/q2cli/commands.py", line 339, in call
results = action(**arguments)
File "", line 2, in q_score
File "/home/dylan/miniconda3/envs/qiime2-2021.11/lib/python3.8/site-packages/qiime2/sdk/action.py", line 245, in bound_callable
outputs = self.callable_executor(scope, callable_args,
File "/home/dylan/miniconda3/envs/qiime2-2021.11/lib/python3.8/site-packages/qiime2/sdk/action.py", line 391, in callable_executor
output_views = self._callable(**view_args)
File "/home/dylan/miniconda3/envs/qiime2-2021.11/lib/python3.8/site-packages/q2_quality_filter/_filter.py", line 90, in q_score
phred_offset = yaml.load(metadata_view,
TypeError: 'NoneType' object is not subscriptable
Plugin error from quality-filter:
'NoneType' object is not subscriptable
See above for debug info.
This error occurs in both the 2021.4 and 2021.11 release.
I have not been able to replicate this error locally, with 2021.4, 2021.8, or 2021.11. This makes me think there is something weird going on with the imported data or with your environment. Let's start with the data! Could you post how you went about getting the mock-12 data into demuxed_sequences.qza?
Ah, I think your import step is the problem! You will need to use this section of the importing tutorial since they are already demultiplexed but not Casava formatted. Download both files somewhere, create the TSV manifest file(use Google Sheets or Excel), then run a command like this: