biocore / emp

Code repository of the Earth Microbiome Project.
http://www.earthmicrobiome.org
BSD 3-Clause "New" or "Revised" License
159 stars 69 forks source link

Opening emp_cr_silva_16S_123.qc_filtered.biom in R #132

Closed padpadpadpad closed 1 year ago

padpadpadpad commented 1 year ago

Hi

I have downloaded the taxonomy table emp_cr_silva_16S_123.qc_filtered.biom from the site ftp://ftp.microbio.me/emp/release1. However, when I try and read this into R I get the error:

d_16s <- phyloseq::import_biom('~/Downloads/emp_cr_silva_16S_123.qc_filtered.biom')
Error in read_biom(biom_file = BIOMfilename) : 
  Both attempts to read input file:
~/Downloads/emp_cr_silva_16S_123.qc_filtered.biom
either as JSON (BIOM-v1) or HDF5 (BIOM-v2).
Check file path, file name, file itself, then try again.

The filename is correct so not sure where to go. I am trying to calculate species/ASV diversity of a few different genera, and would like to use the un-rarefied QC controlled samples.

antgonza commented 1 year ago

Closing as duplicate: #131