This error is occurring because the file you are attempting to import is NOT a distance matrix, nor is it LSMatFormat. It is an "OTU Table". I have already recommended that you read the importing tutorial at qiime2.org to learn more about how to import various data types into QIIME 2. In your case, you will want to follow the instructions shown here to first convert your OTU table to biom-format before importing to QIIME 2:
Hi, I converted the OTUs table to .biom and .biom to Qiime2. Now, I am able to use this file to calculate Shannon Index. However, I am looking to calculate UniFrac and bray_curtis_distance_matrix. Please let know if I can use this converted feature table to calculate the distances. I am using following command…
Yes, you can use a feature table to calculate distances but you are not doing this the correct way.
I have recommended a few times already that you read through the tutorials at docs.qiime2.org, in particular the “overview” tutorial would be useful for you to learn about basic concepts and workflows in QIIME 2, and the “moving pictures” tutorial will give you some specific examples, including the answer to your question. Please read through these tutorials and use those workflows as templates for your own analysis.
Your question is in some ways a duplicate of other posts you have made recently. Please do not make duplicate posts.
Hi, Yes! I already gone through Moving Picture Tutorial. However, I am not sure if I am able to find how to use feature table to calculate distance matrix. For docs.qiime2.org, sure I will go though later for my next analysis however for urgent assistance I posted my query on QIIME2 Fourm, therefore, if I can get specific part to read in tutorial that will help me in my current work. Thanks !