Has anyone had any luck importing a braken database?
Managed to get kraken2 to work by downloading a one of the tar.gz files, extracting and only keeping the 'k2d' files and running:
qiime tools import \
--type 'Kraken2DB' \
--input-path k2_pluspfp_16gb_20231009_q2 \
--output-path k2_pluspf.qza
But trying something similar with --type 'Braken2DB' doesn't give any helpful errors
Traceback (most recent call last):
File "/home/jono/miniconda3/envs/qiime2-shotgun-2023.9/lib/python3.8/site-packages/q2cli/builtin/tools.py", line 267, in import_data
artifact = qiime2.sdk.Artifact.import_data(type, input_path,
File "/home/jono/miniconda3/envs/qiime2-shotgun-2023.9/lib/python3.8/site-packages/qiime2/sdk/result.py", line 302, in import_data
output_dir_fmt = pm.get_directory_format(type_)
File "/home/jono/miniconda3/envs/qiime2-shotgun-2023.9/lib/python3.8/site-packages/qiime2/sdk/plugin_manager.py", line 388, in get_directory_format
raise TypeError(
TypeError: Semantic type Braken2DB is invalid, either because it doesn't have a compatible directory format, or because it's not registered.
An unexpected error has occurred:
Semantic type Braken2DB is invalid, either because it doesn't have a compatible directory format, or because it's not registered.
See above for debug info.