Microbiome.jl icon indicating copy to clipboard operation
Microbiome.jl copied to clipboard

support for biom format?

Open aguang opened this issue 3 years ago • 3 comments

Will there be support for the biom format eventually?

aguang avatar Nov 04 '21 18:11 aguang

I think it would be really nice - I had that as a stretch goal at one point. I think it should be possible (probably as a stand-alone package) using HDF5.jl.

One idea I had was, something that reads a .biom file and can spit out the OTU table and the metadata as separate Tables.jl - compatible tables, then one could do something like

biom = read_biom("somefile.biom")
cmp = CommunityProfile(otus(biom))
insert!(cmp, metadata(biom))

kescobo avatar Nov 04 '21 19:11 kescobo

I think that would be really cool. I will hopefully be bringing on a student to work on some microbiome data I will be getting soon, that might be something we could work on as part of it.

aguang avatar Nov 08 '21 16:11 aguang

That would be great! It's not a high priority for me to work on on my own, but I'd be more than happy to help someone else with code review / suggestions etc.

kescobo avatar Nov 08 '21 16:11 kescobo