Comments (5)
Hi yxxue,
thank you for reporting this issue! The error you are seeing was caused by a missing setting in setup.py and should be fixed in EMIRGE v0.60.3. Could you try whether the new version works for you?
from emirge.
Hi,
I updated the repo and reinstalled, but still meet the same problem.
$ ./emirge_amplicon.py
Traceback (most recent call last):
File "./emirge_amplicon.py", line 61, in
import _emirge_amplicon as _emirge
File "build/bdist.linux-x86_64/egg/_emirge_amplicon.py", line 7, in
File "build/bdist.linux-x86_64/egg/_emirge_amplicon.py", line 6, in bootstrap
ImportError: /Home/ii/yaxinx/.python-eggs/EMIRGE-0.60.3-py2.7-linux-x86_64.egg-tmp/_emirge_amplicon.so: undefined symbol: gzread
Here is the output info when running 'setup.py install', maybe you could help me check. Thanks.
$ python setup.py install
Found Cython.
running install
running bdist_egg
running egg_info
writing requirements to EMIRGE.egg-info/requires.txt
writing EMIRGE.egg-info/PKG-INFO
writing top-level names to EMIRGE.egg-info/top_level.txt
writing dependency_links to EMIRGE.egg-info/dependency_links.txt
reading manifest file 'EMIRGE.egg-info/SOURCES.txt'
writing manifest file 'EMIRGE.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
creating build/bdist.linux-x86_64/egg
copying build/lib.linux-x86_64-2.7/_emirge_amplicon.so -> build/bdist.linux-x86_64/egg
copying build/lib.linux-x86_64-2.7/_emirge.so -> build/bdist.linux-x86_64/egg
copying build/lib.linux-x86_64-2.7/pykseq.so -> build/bdist.linux-x86_64/egg
creating stub loader for pykseq.so
creating stub loader for _emirge.so
creating stub loader for _emirge_amplicon.so
byte-compiling build/bdist.linux-x86_64/egg/pykseq.py to pykseq.pyc
byte-compiling build/bdist.linux-x86_64/egg/_emirge.py to _emirge.pyc
byte-compiling build/bdist.linux-x86_64/egg/_emirge_amplicon.py to _emirge_amplicon.pyc
installing package data to build/bdist.linux-x86_64/egg
running install_data
warning: install_data: setup script did not provide a directory for 'pykseq/kseq.h' -- installing right in 'build/bdist.linux-x86_64/egg'
copying pykseq/kseq.h -> build/bdist.linux-x86_64/egg
warning: install_data: setup script did not provide a directory for '_emirge_C.h' -- installing right in 'build/bdist.linux-x86_64/egg'
copying _emirge_C.h -> build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/EGG-INFO
installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-2.7/emirge.py -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-2.7/emirge_amplicon.py -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-2.7/emirge_rename_fasta.py -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/emirge.py to 755
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/emirge_amplicon.py to 755
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/emirge_rename_fasta.py to 755
copying EMIRGE.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying EMIRGE.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying EMIRGE.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying EMIRGE.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying EMIRGE.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
creating 'dist/EMIRGE-0.60.3-py2.7-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing EMIRGE-0.60.3-py2.7-linux-x86_64.egg
Removing /Home/ii/yaxinx/bin/Python-2.7.10/lib/python2.7/site-packages/EMIRGE-0.60.3-py2.7-linux-x86_64.egg
Copying EMIRGE-0.60.3-py2.7-linux-x86_64.egg to /Home/ii/yaxinx/bin/Python-2.7.10/lib/python2.7/site-packages
EMIRGE 0.60.3 is already the active version in easy-install.pth
Installing emirge_amplicon.py script to /Home/ii/yaxinx/bin/Python-2.7.10/bin
Installing emirge.py script to /Home/ii/yaxinx/bin/Python-2.7.10/bin
Installing emirge_rename_fasta.py script to /Home/ii/yaxinx/bin/Python-2.7.10/bin
Installed /Home/ii/yaxinx/bin/Python-2.7.10/lib/python2.7/site-packages/EMIRGE-0.60.3-py2.7-linux-x86_64.egg
Processing dependencies for EMIRGE==0.60.3
Searching for biopython==1.66
Best match: biopython 1.66
Adding biopython 1.66 to easy-install.pth file
Using /Home/ii/yaxinx/bin/Python-2.7.10/lib/python2.7/site-packages
Searching for scipy==0.16.1
Best match: scipy 0.16.1
Adding scipy 0.16.1 to easy-install.pth file
Using /Home/ii/yaxinx/bin/Python-2.7.10/lib/python2.7/site-packages
Searching for pysam==0.9.0
Best match: pysam 0.9.0
Processing pysam-0.9.0-py2.7-linux-x86_64.egg
pysam 0.9.0 is already the active version in easy-install.pth
Using /Home/ii/yaxinx/bin/Python-2.7.10/lib/python2.7/site-packages/pysam-0.9.0-py2.7-linux-x86_64.egg
Searching for numpy==1.10.1
Best match: numpy 1.10.1
Adding numpy 1.10.1 to easy-install.pth file
Using /Home/ii/yaxinx/bin/Python-2.7.10/lib/python2.7/site-packages
Finished processing dependencies for EMIRGE==0.60.3
NOTE:
To download a standard candidate SSU database to use with EMIRGE, run
python emirge_download_candidate_db.py
from emirge.
Hi @yxxue,
it looks like the .so files weren't rebuilt. Could you try with a "fresh" directory?
(That's the easiest way to make sure nothing left from previous builds is causing your issues. You could also remove build/
, dist/
and all *.so
and *.c
files. Just make sure that after the "build" the _emirge_amplicon.so
file is actually from today.)
Elmar
from emirge.
Hi,
Thanks for your help. After deleting old folder and reinstalling, it works well now.
from emirge.
You're welcome :)
from emirge.
Related Issues (20)
- Can EMIRGE work with FASTA files? HOT 2
- Use setuptools to simplify installation HOT 1
- EMIRGE dependencies HOT 3
- EMIRGE Amplicon: n_alignments not intialized HOT 1
- Inordinate memory usage HOT 5
- incompatiblility of emirge_rename_fasta.py with new version of biopython? HOT 1
- IndexError: Out of bounds on buffer access (axis 1) HOT 7
- EMIRGE method choice HOT 1
- Candidate db file dead link HOT 1
- Unexpected crash at 17th iteration HOT 2
- techical difference between emirge and emirge_amplicon
- Trouble resuming from completed iteration
- EMIRGE compatible with bowtie v.1+ ? HOT 2
- emirge_makedb.py: please add an argument-option for providing pre-downloaded SILVA-db HOT 2
- EMIRGE exit without an error message after completing iteration 0. HOT 1
- Bowtie 1.2 breaks `emirge` HOT 1
- IndexError: Out of bounds on buffer access (axis 0) HOT 1
- Is this a live project? HOT 1
- emirge_makedb.py add regex to allow for Silva `SSURef_N[Rr]99_tax...`
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 emirge.