Questions tagged [biom]

The BIOM file format (canonically pronounced biome) is designed to be a general-use format for representing biological sample by observation contingency tables. BIOM is a recognized standard for the Earth Microbiome Project and is a Genomics Standards Consortium supported project.

The BIOM format is designed for general use in broad areas of comparative -omics. For example, in marker-gene surveys, the primary use of this format is to represent OTU tables: the observations in this case are OTUs and the matrix contains counts corresponding to the number of times each OTU is observed in each sample. With respect to metagenome data, this format would be used to represent metagenome tables: the observations in this case might correspond to SEED subsystems, and the matrix would contain counts corresponding to the number of times each subsystem is observed in each metagenome. Similarly, with respect to genome data, this format may be used to represent a set of genomes: the observations in this case again might correspond to SEED subsystems, and the counts would correspond to the number of times each subsystem is observed in each genome.

There are two components to the BIOM project: first is the definition of the BIOM format, and second is development of support objects in multiple programming languages to support the use of BIOM in diverse bioinformatics applications. The version of the BIOM file format is independent of the version of the biom-format software.

There are official implementations of BIOM format support objects (APIs) in the Python and R programming languages. The rest of this site contains details about the BIOM file format (which is independent of the API) and the Python biom-format API. For more details about the R API, please see the CRAN biom package.

enter image description here

11 questions
2
votes
1 answer

Converting biom to classic format?

Is it still possible to convert .biom tables from QIIME to QIIME’s "classic" OTU table format to use with Explicet? I've tried running the command from biom-format.org biom convert -i table.biom -o table.from_biom_w_taxonomy.txt --to-tsv…
nmshahir
  • 21
  • 1
  • 4
2
votes
1 answer

is it possible to get the length of an axis directly in a biom.Table object?

Is it possible to directly lookup the length of an axis in a biom.Table object, or do you need to do something like the following, where t is a Table object: if axis == 'sample': length = t.shape[0] elif axis == 'observation': length =…
gregcaporaso
  • 444
  • 4
  • 11
1
vote
1 answer

for, do, done applying in convert txt to biom format in linux

I have a folder with a numbers of txt files, I would like to apply the for do do loop to convert them from txt to biom files, the following is what I did: for txt in folder/*.txt do biom convert -i $txt -o *.biom --to-hdf5 done but I got a combined…
Lennon Lee
  • 194
  • 1
  • 14
1
vote
0 answers

Biom file v.1.0.0-dev created with biomformat not valid

I created a BIOM file, yyy.biom, using the functions make_biom and write_biom of the R package biomformat, version 1.2.0. yyy.biom looks like: "id":{}, "format":["Biological Observation Matrix…
Kense
  • 11
  • 3
0
votes
1 answer

Is it normal that the result of biom add-metadata using v2.1.8 is different from v2.1.7?

I'm trying to add sample metadata to a very small BIOM file (658 Bytes, 2 samples) using the command biom add-metadata (the metadata file is 206 Bytes). However, I found that using biom version 2.1.8 resulted in a much bigger file (36.17 KB) than…
sentausa
  • 73
  • 7
0
votes
0 answers

Error when installing qiimer package for R

I tried to install qiimer package for R (3.6.2) from CRAN under Win10, but I failed. Then I tried to install it locally from ‘qiimer_0.9.4.tar.gz’, and failed, neither. I do not understand why CRAN does not afford this package anymore. I wonder how…
Zhang
  • 1
0
votes
1 answer

Problem in importing .biom file from the Earth Microbiome Project (release1) in R

I want to import a .biom file in R that I've dowloaded from the ftp server - the Earth Microbiome Project (release 1). The file comes from the following link: ftp://ftp.microbio.me/emp/release1/otu_tables/closed_ref_silva/ I tried with several of…
C.Bru026
  • 1
  • 2
0
votes
1 answer

Tax4Fun - Error length import data

I'm attempting to run the R package Tax4Fun to predict functional capabilities from 16S data. I have an OTU table obtained thanks to the metabarcoding pipeline (VSEARCH, CUTADAPT and SWARM). My OTU table looks like this : OTU total cloud …
0
votes
1 answer

Error with pip install biom-format on macbook pro

I am failing to install biom format using pip install biom-format on my macbook pro. This is the error I get Nawaz$ pip install numpy Requirement already satisfied: numpy in…
0
votes
1 answer

packaging biom for FreeBSD

I'm working on packaging biom (2.1.5) for FreeBSD. Based on the documentation, I initially had it depending on pynumpy and h5py, but digging I think it should also depend on: py27-click-6.6 py27-future-0.14.3 py27-pyqi-0.2.0 py27-scipy-0.16.1. Now…
jrm
  • 727
  • 5
  • 18
0
votes
1 answer

Error with pip install biom-format 'numpy/arrayobject.h' file not found

I can't manage to install biom format using pip install biom-format. This is the error I get. N85566:~ smitra$ pip install biom-format Collecting biom-format Using cached biom-format-2.1.5.tar.gz Requirement already satisfied (use --upgrade to…