Hi,
I'm trying to run a qiime2 diversity analysis on my samples. This is the command I am using:
qiime diversity core-metrics-phylogenetic --i-phylogeny /MacintoshHD/Users/aditikumar/Downloads/qiime2aditi/rooted-tree.qza --i-table /MacintoshHD/Users/aditikumar/Downloads/table-dada2-baseline.qza --p-sampling-depth 5244 --m-metadata-file /MacintoshHD/Users/aditikumar/Downloads/qiime2aditi/samplemetadata3.txt --output-dir /MacintoshHD/Users/aditikumar/Downloads/Outputs/core-metricsbaseline2
This is the error that keeps appearing:
There was an issue with loading the file /MacintoshHD/Users/aditikumar/Downloads/qiime2aditi/samplemetadata3.txt.txt as metadata:
Metadata file path doesn't exist, or the path points to something other than a file. Please check that the path exists, has read permissions, and points to a regular file (not a directory): /MacintoshHD/Users/aditikumar/Downloads/qiime2aditi/samplemetadata3.txt.txt
There may be more errors present in the metadata file. To get a full report, sample/feature metadata files can be validated with Keemei: https://keemei.qiime2.org
Find details on QIIME 2 metadata requirements here: Metadata in QIIME 2 — QIIME 2 2022.2.0 documentation
I am using terminal on my mac. I have asked a colleague to run the same command using the same metadata file on his computer (PC) and it ran fine so I don't think the file is the problem. I have triple checked my file path and my colleague (who is much more experienced) also has gone through this with me and can't understand why the command isn't working on my computer. I read somewhere that problems can occur when using a mac?
Can you see a problem? I have tried everything! I've also ensured everything is case sensitive just in case that's the problem.
Thanks in advance
Aditi