Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

json formatting issue #12

Open
Ellierein opened this issue Nov 15, 2018 · 1 comment
Open

json formatting issue #12

Ellierein opened this issue Nov 15, 2018 · 1 comment

Comments

@Ellierein
Copy link

I am using the web application as well, and I keep running into the same error.

"There was an error while parsing your data. Please ensure your OTU and mapping files follow the format explained in the documentation. OTU tables must be the json version of biom."

The file was made through Qiime2, referenced against Greengenes 97%. The biom file has been merged with the metadata file.

I have tried using multiple formats from: http://biom-format.org/documentation/biom_conversion.html
including the following suggestions found on other issues.
biom convert -i table.biom -o table.from_biom.txt --to-tsv
biom convert -i table.txt -o table.from_txt_json.biom --table-type="OTU table" --to-json

To add the metadata, the following code was used:
biom add-metadata -i feature-table.biom -o table-with-metadata.biom --observation-metadata-fp taxonomy.tsv --sc-separated taxonomy --sample-metadata-fp metadata.txt --output-as-json

I also tried reinforcing the data type using:
biom convert -i table-with-metadata.biom -o table-with-metadata-r.biom --table-type="OTU table" --to-json

If anyone has time to help troubleshoot, I would greatly appreciate it.

@Biancabrown
Copy link

Hello,

I'm also having in this issue. My data is in json format. I double checked the file form

"{"id": "None","format": "Biological Observation Matrix 1.0.0","format_url": "http://biom-format.org""

My mapping file is also in the correct form.

However, I am getting an error message on bugbase saying that my files are formatted incorrect:

"There was an error while parsing your data. Please ensure your OTU and mapping files follow the format explained in the documentation. OTU tables must be the json version of biom."

Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants