-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
When I try to generate a test BIOM 1.0 (JSON) file using make_biom
, the result isn't a valid BIOM file.
First get some data to generate an example:
min_dense_file <- system.file("extdata", "min_dense_otu_table.biom", package = "biomformat")
minimal.biom <- read_biom(min_dense_file)
ps <- phyloseq::import_biom(minimal.biom)
new.biom <- make_biom(data=otu_table(ps),matrix_element_type='int',id = 'None')
write_biom(new.biom,biom_file='new.biom')
In the resulting file new.biom
:
- The
id
field has as value the list["None"]
rather than the string"None"
- Similarly the values of the
format
,format_url
,type
, etc. fields are lists rather than strings - For each "row" entry, the
id
is similarly a list (e.g.["GG_OTU_1"]
) rather than a string
akiledal, cjfields, carden24 and GaioTransposon
Metadata
Metadata
Assignees
Labels
No labels