Comments (7)
These BIOM tables conform to BIOM Format 2.1 spec. It looks like there is a
discussion on the phyloseq tracker about updated support, see here:
I am new to biome file and try to download the biom here for testing. I
have click and save the raw file into my hardisk and tried to open it in R
using phyloseq and biom package but it returns :
"Error in fromJSON(content, handler, default.size, depth, allowComments, :
invalid JSON input"
I have copied and paste an example url (
https://github.com/biocore/American-Gut/blob/master/data/HMP/HMPv35_100nt.biom)
to some jason validator on web but it return a error.
Would you instruct on some materials that I can start with working biom
files from here? Thank you so much!
Regards,
Carol
—
Reply to this email directly or view it on GitHub
#145.
from american-gut.
As suggested in that thread, the best alternative at the moment would be
to convert the tables to JSON-formatted files.
On (Apr-11-15|14:31), Daniel McDonald wrote:
These BIOM tables conform to BIOM Format 2.1 spec. It looks like there is a
discussion on the phyloseq tracker about updated support, see here:I am new to biome file and try to download the biom here for testing. I
have click and save the raw file into my hardisk and tried to open it in R
using phyloseq and biom package but it returns :"Error in fromJSON(content, handler, default.size, depth, allowComments, :
invalid JSON input"I have copied and paste an example url (
https://github.com/biocore/American-Gut/blob/master/data/HMP/HMPv35_100nt.biom)
to some jason validator on web but it return a error.Would you instruct on some materials that I can start with working biom
files from here? Thank you so much!Regards,
Carol—
Reply to this email directly or view it on GitHub
#145.
Reply to this email directly or view it on GitHub:
#145 (comment)
from american-gut.
Thank you very much! It seems works!
However, I've tried to convert the biom file downloaded to the txt format and it shows the following:
biom convert -i HMPv35_100ntj.biom -o HMPv35_100nt_tab.txt --table-type "otu table"
Traceback (most recent call last):
File "/usr/bin/pyqi", line 184, in
optparse_main(cmd_obj, argv[1:])
File "/usr/lib/python2.7/site-packages/pyqi/core/interfaces/optparse/init.py", line 275, in optparse_main
result = optparse_cmd(local_argv[1:])
File "/usr/lib/python2.7/site-packages/pyqi/core/interface.py", line 39, in call
cmd_result = self.CmdInstance(**cmd_input)
File "/usr/lib/python2.7/site-packages/pyqi/core/command.py", line 137, in call
result = self.run(**kwargs)
File "/usr/lib/python2.7/site-packages/biom/commands/table_converter.py", line 219, in run
raise CommandError(convert_error_msg)
pyqi.core.exception.CommandError: Input does not look like a classic table. Did you forget to specify that a classic table file should be created from a BIOM table file?
It seems that the BIOM table file is not a classic one, how can I solve this? Thanks a lot!
from american-gut.
Are you using biom v 1.3.1 for the conversion? If so, then you will not be able to convert a biom 2.x file. For instance, I was able to run the following just now:
$ biom convert --version
Version: biom convert 2.1.3-dev
$ biom convert -i AG.biom -o AG.biom1x --to-json --table-type='OTU table'
I'd be happy to host 1.x formatted tables on ftp.microbio.me
but not within the Github repository as it is already hosting more data than it really ought to be.
from american-gut.
@arcys, is this still an issue or can this be closed?
from american-gut.
It is done, thx!
On Fri, Oct 23, 2015 at 1:17 AM, Daniel McDonald [email protected]
wrote:
@arcys https://github.com/arcys, is this still an issue or can this be
closed?—
Reply to this email directly or view it on GitHub
#145 (comment)
.
from american-gut.
Thanks!
from american-gut.
Related Issues (20)
- Add round 8 acc to processing notebook
- Processing Notebooks HOT 1
- Zeros truncated in AG data mapping file HOT 5
- The shared_otus ipynb tries to download a file that no longer exists HOT 1
- Add Travis CI
- HMP table does not have taxonomy HOT 1
- Mislabeled metadata HOT 2
- We need a contributing.md document
- Primary processing revitalized HOT 1
- Conflicting Python resources and virtualenvs HOT 8
- Analysis Summary Pipeline
- Generate PNG instead of PDF for per-sample-results HOT 4
- install trouble - conflicting ipython requirements HOT 11
- conda_req and pip_req differences HOT 6
- The way American-Gut repo was intended to be used? HOT 5
- Creation of 18S processing notebooks
- Latest ipymd does not play well with ipython notebooks HOT 1
- Help running module2_v1.0 notebook HOT 1
- nbviewer error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from american-gut.