Thanks to visit codestin.com
Credit goes to Github.com

Skip to content
Discussion options

You must be logged in to vote

Hello!

mia calls biomformat::read_biom() function, and the error happens there

https://github.com/joey711/biomformat/blob/0de05b1e78ea6ed42e079e07ccb13cecfd9eba6a/R/IO-methods.R#L76

You should be able to produce the error with this:

biomformat::read_biom("qiime/cohort/CC/exported-table/feature-table.biom")

The biomformat::read_biom() function tries to read the file with two different ways (BIOM-v1 is json file and BIOM-v2 is hdf5 file):

jsonlite::fromJSON("qiime/cohort/CC/exported-table/feature-table.biom")

and

biomformat::read_hdf5_biom("qiime/cohort/CC/exported-table/feature-table.biom")

The debugging is little bit tricky as I do not have access to the data (I think you have hdf5 file).

Y…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@raivo-otus
Comment options

Answer selected by TuomasBorman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants