I got the following error:
Traceback (most recent call last):
File "/home/aneth/miniconda3/envs/qiime2-2018.11/lib/python3.5/site-packages/q2cli/tools.py", line 140, in import_data
view_type=input_format)
File "/home/aneth/miniconda3/envs/qiime2-2018.11/lib/python3.5/site-packages/qiime2/sdk/result.py", line 233, in import_data
md5sums = util.md5sum_directory(path)
File "/home/aneth/miniconda3/envs/qiime2-2018.11/lib/python3.5/site-packages/qiime2/core/util.py", line 116, in md5sum_directory
sums[os.path.relpath(path, start=directory)] = md5sum(path)
File "/home/aneth/miniconda3/envs/qiime2-2018.11/lib/python3.5/site-packages/qiime2/core/util.py", line 100, in md5sum
with open(str(filepath), mode='rb') as fh:
OSError: [Errno 40] Too many levels of symbolic links: '16s_obj1/qiime2analysis/AM-16S-10_S17_L001_R1_001.fastq.gz'
An unexpected error has occurred:
[Errno 40] Too many levels of symbolic links: '16s_obj1/qiime2analysis/AM-16S-10_S17_L001_R1_001.fastq.gz'
show (you may need ot change the path as necessary).
I'm expecting to see some symlinks (denoted with arrows between two names).
If you do see that, what does the result of running readlink -f <one of those files> do? I suspect you may have relative symlinks which will only resolve correctly if your working directory is in the exact right spot.
I removed the folder qiime2analysis because I had linked the data not wanting to work on original data on the parent folder, 16s_obj1. I tried to import the original unliked data and it worked. I will have to copy the data in a separate folder for storage.