Hi,
I was trying to use compute_core_microbiome.py script, and i got an error
shashank@shashank-HP-Z620-Workstation:~/Desktop/TRISUTRA_New_Analysis$ compute_core_microbiome.py -i merged_otu_table.biom -o compute_core_microbiom
Traceback (most recent call last):
File "/home/shashank/miniconda2/bin/compute_core_microbiome.py", line 4, in <module>
__import__('pkg_resources').run_script('qiime==1.9.1', 'compute_core_microbiome.py')
File "/home/shashank/miniconda2/lib/python2.7/site-packages/setuptools-20.3-py2.7.egg/pkg_resources/__init__.py", line 726, in run_script
File "/home/shashank/miniconda2/lib/python2.7/site-packages/setuptools-20.3-py2.7.egg/pkg_resources/__init__.py", line 1484, in run_script
File "/home/shashank/miniconda2/lib/python2.7/site-packages/qiime-1.9.1-py2.7.egg-info/scripts/compute_core_microbiome.py", line 171, in <module>
main()
File "/home/shashank/miniconda2/lib/python2.7/site-packages/qiime-1.9.1-py2.7.egg-info/scripts/compute_core_microbiome.py", line 156, in main
write_biom_table(core_table, output_table_fp)
File "/home/shashank/miniconda2/lib/python2.7/site-packages/qiime/util.py", line 569, in write_biom_table
"Attempting to write an empty BIOM table to disk. "
qiime.util.EmptyBIOMTableError: Attempting to write an empty BIOM table to disk. QIIME doesn't support writing empty BIOM output files.
FYI
shashank@shashank-HP-Z620-Workstation:~/Desktop/TRISUTRA_New_Analysis$ print_qiime_config.py -t
System information
==================
Platform: linux2
Python version: 2.7.11 |Continuum Analytics, Inc.| (default, Dec 6 2015, 18:08:32) [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]
Python executable: /home/shashank/miniconda2/bin/python
QIIME default reference information
===================================
For details on what files are used as QIIME's default references, see here:
https://github.com/biocore/qiime-default-reference/releases/tag/0.1.3Dependency versions
===================
QIIME library version: 1.9.1
QIIME script version: 1.9.1
qiime-default-reference version: 0.1.3
NumPy version: 1.11.0
SciPy version: 0.17.1
pandas version: 0.18.1
matplotlib version: 1.4.3
biom-format version: 2.1.5
h5py version: 2.6.0 (HDF5 version: 1.8.16)
qcli version: 0.1.1
pyqi version: 0.3.2
scikit-bio version: 0.2.3
PyNAST version: 1.2.2
Emperor version: 0.9.51
burrito version: 0.9.1
burrito-fillings version: 0.1.1
sortmerna version: SortMeRNA version 2.0, 29/11/2014
sumaclust version: SUMACLUST Version 1.0.00
swarm version: Swarm 1.2.19 [Mar 1 2016 23:41:10]
gdata: Installed.
QIIME config values
===================
For definitions of these settings and to learn how to configure QIIME, see here:
http://qiime.org/install/qiime_config.html http://qiime.org/tutorials/parallel_qiime.html blastmat_dir: None
pick_otus_reference_seqs_fp: /home/shashank/miniconda2/lib/python2.7/site-packages/qiime_default_reference/gg_13_8_otus/rep_set/97_otus.fasta
sc_queue: all.q
topiaryexplorer_project_dir: None
pynast_template_alignment_fp: /home/shashank/miniconda2/lib/python2.7/site-packages/qiime_default_reference/gg_13_8_otus/rep_set_aligned/85_otus.pynast.fasta
cluster_jobs_fp: start_parallel_jobs.py
pynast_template_alignment_blastdb: None
assign_taxonomy_reference_seqs_fp: /home/shashank/miniconda2/lib/python2.7/site-packages/qiime_default_reference/gg_13_8_otus/rep_set/97_otus.fasta
torque_queue: friendlyq
jobs_to_start: 1
slurm_time: None
denoiser_min_per_core: 50
assign_taxonomy_id_to_taxonomy_fp: /home/shashank/miniconda2/lib/python2.7/site-packages/qiime_default_reference/gg_13_8_otus/taxonomy/97_otu_taxonomy.txt
temp_dir: /tmp/
slurm_memory: None
slurm_queue: None
blastall_fp: blastall
seconds_to_sleep: 1
QIIME base install test results
===============================
.........
----------------------------------------------------------------------
Ran 9 tests in 0.065s
OK
I have tried using this script for sample biom file as well and still got the same error.
Any Suggestions.
Best
Shashank