每日一生信--ValueError: max() arg is an empty sequence
(2014-05-26 14:59:00)
标签:
max()argisanemptyseq杂谈 |
分类: 16s分析 |
sam@sam-Precision-WorkStation-T7500[lib1]
print_qiime_config.py
-t
System information
==================
Python executable: /usr/bin/python
Dependency versions
===================
RDP Classifier version (if
installed):
QIIME config values
===================
Traceback (most recent call last):
ValueError: max() arg is an empty sequence
解决办法:
My guess is that
load_qiime_config is failing. Do you have a qiime config file?
sam@sam-Precision-WorkStation-T7500[lib1]
locate
qiime_config
/etc/qiime/qiime_config
/usr/lib/qiime/bin/print_qiime_config.py
/usr/lib/qiime/bin/print_qiime_config.pyc
/usr/share/doc/qiime/doctrees/install/qiime_config.doctree.gz
/usr/share/doc/qiime/doctrees/scripts/print_qiime_config.doctree.gz
/usr/share/doc/qiime/html/_sources/install/qiime_config.txt
/usr/share/doc/qiime/html/_sources/scripts/print_qiime_config.txt
/usr/share/doc/qiime/html/install/qiime_config.html
/usr/share/doc/qiime/html/scripts/print_qiime_config.html
sam@sam-Precision-WorkStation-T7500[lib1] cat /etc/qiime/qiime_config [ 9:15AM]
# qiime_config
# WARNING: DO NOT EDIT OR DELETE Qiime/qiime_config
# To overwrite defaults, copy this file to $HOME/.qiime_config or a full path
# specified by $QIIME_CONFIG_FP and edit that copy of the file.
cluster_jobs_fp
python_exe_fp
working_dir
blastmat_dir
blastall_fp
pynast_template_alignment_fp
pynast_template_alignment_blastdb
template_alignment_lanemask_fp
jobs_to_start
seconds_to_sleep
qiime_scripts_dir
temp_dir /tmp
将这个qiime_config复制到$HOME/.qiime_config
cat /etc/qiime/qiime_config >/home/sam/.qiime_config
sam@sam-Precision-WorkStation-T7500[lib1]
这下子就正常了
上面的设置不对,连输入下面的这些命令,都会报错。
alpha_rarefaction.py -i otu_table/otu1_table.biom -m map.txt -o div_alpha/ -p alpha_params.txt -t rep_phylo_tre/rep1_phylo.tre
TypeError: int() argument must be a string or a number, not 'NoneType'
sam@sam-Precision-WorkStation-T7500[lib1] beta_diversity_through_plots.py
TypeError: int() argument must be a string or a number, not 'NoneType'
TypeError: int() argument must be a string or a number, not 'NoneType'