I'm wondering if anyone can help me... I'm very new to programming and Metagenomic analysis!
I have downloaded Metaphlan2 and all of its dependencies via Conda, in a conda environment. I am trying to profile metagenomic paired end samples. I was testing this code preliminarily:
metaphlan2.py S1_QC_1.fastq, S1_QC_2.fastq --bowtie2db --bowtie2out bowtie_output_S1.bz2 -t rel_ab_w_read_stats --nproc 12 --input_type fastq
But I keep getting the Error message: Error! numpy python library not detected!!
When I check to see if numpy is installed and updated, it is. I tried python -c "import numpy; print numpy.__version__" but this gave the error:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/pub*/*/miniconda2/envs/metaphlan/lib/python2.7/site-packages/numpy/__init__.py", line 142, in <module>
from . import add_newdocs
File "/pub*/*/miniconda2/envs/metaphlan/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in <module>
from numpy.lib import add_newdoc
File "/pub*/*/miniconda2/envs/metaphlan/lib/python2.7/site-packages/numpy/lib/__init__.py", line 8, in <module>
from .type_check import *
File "/pub*/*/miniconda2/envs/metaphlan/lib/python2.7/site-packages/numpy/lib/type_check.py", line 11, in <module>
import numpy.core.numeric as _nx
File "/pub*/*/miniconda2/envs/metaphlan/lib/python2.7/site-packages/numpy/core/__init__.py", line 26, in <module>
raise ImportError(msg)
ImportError:
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try `git clean -xdf` (removes all
files not under version control). Otherwise reinstall numpy.
Original error was: /lib/libc.so.6: version `GLIBC_2.10' not found (required by /pub*/*/miniconda2/envs/metaphlan/lib/python2.7/site-packages/numpy/core/multiarray.so)
I'm unsure of how to fix this, does anyone have any ideas?
Thank you in advance!!
--
You received this message because you are subscribed to the Google Groups "MetaPhlAn-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to metaphlan-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.