Question: biom convert is not working
gravatar for tokeemdtareq
2.7 years ago by
tokeemdtareq40 wrote:

I was trying to convert the qiime1 output from biom format to tsv format. The command I used is this:

biom convert -i otu_table.biom -o otu_table.txt --to-tsv --table-type "OTU table"

but it's showing error that I do not understand, any suggestion would be greatly appreciated

File "/usr/local/bin/biom", line 11, in <module> load_entry_point('biom-format==2.1.6', 'console_scripts', 'biom')() File "/usr/local/lib/python2.7/dist-packages/click-6.7-py2.7.egg/click/", line 722, in __call__ return self.main(args, *kwargs) File "/usr/local/lib/python2.7/dist-packages/click-6.7-py2.7.egg/click/", line 697, in main rv = self.invoke(ctx) File "/usr/local/lib/python2.7/dist-packages/click-6.7-py2.7.egg/click/", line 1066, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/local/lib/python2.7/dist-packages/click-6.7-py2.7.egg/click/", line 895, in invoke return ctx.invoke(self.callback, *ctx.params) File "/usr/local/lib/python2.7/dist-packages/click-6.7-py2.7.egg/click/", line 535, in invoke return callback(args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/biom/cli/", line 129, in convert table_type, process_obs_metadata, tsv_metadata_formatter) File "/usr/local/lib/python2.7/dist-packages/biom/cli/", line 185, in _convert metadata_formatter=obs_md_fmt_f) File "/usr/local/lib/python2.7/dist-packages/biom/", line 4625, in to_tsv observation_column_name) File "/usr/local/lib/python2.7/dist-packages/biom/", line 1470, in delimited_self raise TableException("Cannot delimit self if I don't have data...") biom.exception.TableException: Cannot delimit self if I don't have data...

software error • 2.2k views
ADD COMMENTlink written 2.7 years ago by tokeemdtareq40
gravatar for toralmanvar
2.7 years ago by
toralmanvar900 wrote:

Command, which you are using is correct, so you should check whether the biom file generated is proper or not.

Try to get the summary of biom file using:

biom summarize-table -i otu_table.biom

second, try converting biom into json format using:

biom convert -i otu_table.biom -o otu_table.json.biom --table-type="OTU table" --to-json

If both of these commands don't run properly, then there is a problem with your biom file.

ADD COMMENTlink written 2.7 years ago by toralmanvar900

Sorry, it looks like the biom file did not have any data in it. I used a wrong option in previous step, so the qiime1 output (biom file) did not find any OTUs. Thanks for the reply.

ADD REPLYlink written 2.7 years ago by tokeemdtareq40
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1728 users visited in the last hour