Comments (6)
Hi Josh,
It looks like the issue is with the precompiled samtools (v1.4) and/or bowtie2 (v2.3.2) binaries included with the software. To fix this, I would suggest downloading and compiling these programs on your own system. Once complete, copy them to MIDAS/bin/Linux
. You can see the binaries MIDAS needs here: https://github.com/snayfach/MIDAS/tree/master/bin/Linux. Let me know if this works for you. I will probably come up with a better solution in the future.
Best,
Stephen
from midas.
Ended up installing bowtie2 v2.3.0
and samtools v1.5
with conda
and it worked:
conda install bowtie2 --yes
conda install samtools --yes
Updated my symbolic links and it works.
cd /usr/local/devel/ANNOTATION/jespinoz/anaconda/envs/python2/lib/python2.7/site-packages/MIDAS/bin/Linux
ln -s /usr/local/devel/ANNOTATION/jespinoz/anaconda/envs/python2/bin/samtools samtools
ln -s /usr/local/devel/ANNOTATION/jespinoz/anaconda/envs/python2/bin/bowtie2 bowtie2
ln -s /usr/local/devel/ANNOTATION/jespinoz/anaconda/envs/python2/bin/bowtie2-align-l bowtie2-align-l
ln -s /usr/local/devel/ANNOTATION/jespinoz/anaconda/envs/python2/bin/bowtie2-align-s bowtie2-align-s
ln -s /usr/local/devel/ANNOTATION/jespinoz/anaconda/envs/python2/bin/bowtie2-build bowtie2-build
ln -s /usr/local/devel/ANNOTATION/jespinoz/anaconda/envs/python2/bin/bowtie2-build-s bowtie2-build-s
ln -s /usr/local/devel/ANNOTATION/jespinoz/anaconda/envs/python2/bin/bowtie2-build-l bowtie2-build-l
from midas.
So far it's working with the exception of one error (I believe when calling snps
). I replaced the binaries with symbolic links to the samtools and bowtie2 already installed on the machine:
cd /usr/local/devel/ANNOTATION/jespinoz/anaconda/envs/python2/lib/python2.7/site-packages/MIDAS/bin/Linux
ln -s /usr/local/bin/samtools samtools
ln -s /usr/local/bin/bowtie2 bowtie2
ln -s /usr/local/bin/bowtie2-align-l bowtie2-align-l
ln -s /usr/local/bin/bowtie2-align-s bowtie2-align-s
ln -s /usr/local/bin/bowtie2-build bowtie2-build
ln -s /usr/local/bin/bowtie2-build-s bowtie2-build-s
ln -s /usr/local/bin/bowtie2-build-l bowtie2-build-l
This is the error:
Error: Encountered internal Bowtie 2 exception (#1)
Command: bowtie2-build --wrapper basic-0 --threads 2 /usr/local/projdata/0497/projects/CariesBiome/jespinoz/pt_II/metagenome/midas_output/2028.2_midas/snps/temp/genomes.fa /usr/local/projdata/0497/projects/CariesBiome/jespinoz/pt_II/metagenome/midas_output/2028.2_midas/snps/temp/genomes
from midas.
from midas.
bowtie2
I'm using is an older 2.2.5
version b/c I was getting the following error when I tried using the newest version:
/usr/local/devel/ANNOTATION/jespinoz/anaconda/envs/python2/lib/python2.7/site-packages/MIDAS/bin/compile_binaries/bowtie2-2.3.2/bowtie2-align-s: error while loading shared libraries: libtbbmalloc_proxy.so.2: cannot open shared object file: No such file or directory
(ERR): Description of arguments failed!
from midas.
from midas.
Related Issues (20)
- setup.py: add scripts
- test not completing sucessfully HOT 1
- Strain tracking - getting identified strain names
- test_midas.py fail for test 7 HOT 1
- Can't download database
- Building database error HOT 3
- Test 11 and 14 fails (and fixes)
- Database marker gene file "phyeco.map" has wrong genome_id label
- samtools invalid option 'f'
- build custom database error
- samtools errors HOT 1
- Samtools missing binaries HOT 3
- How can I use MIDAS to get pN/pS on a per-gene basis?
- AttributeError: Can't pickle local object 'parallel.<locals>.init_worker' HOT 1
- Question regarding speed of execution HOT 1
- test_class (__main__._07_RunSNPs) ... FAIL
- Request for information on how are marker genes chosen in custom database ? HOT 4
- Population diversity with intermediate frequency HOT 1
- cannot download the database midas_db_v1.2.tar.gz HOT 2
- no outputs for speciation
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 midas.