read_q2metadata showing error

I'm trying to read my metadata.tsv (139.9 KB) file using read_q2metadata(). But it is showing the error that,

image

My metadata file also has #q2:types in the 2nd line. What should I do?

Hi @turtle,

After taking a brief look at your metadata file, it looks like you do have the comment directive (i.e. #q2:types) on the second row as expected. You may want to try validating your metadata file using Keemei and see if that brings up anything that could be causing this issue. More details on metadata formatting and validation (including how to install Keemei) can be found here, for your reference:
https://docs.qiime2.org/2023.5/tutorials/metadata/

Hope this helps! Cheers :lizard:

2 Likes

@lizgehret
Thank you so much. It worked!!!

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.