Giter Site home page Giter Site logo

Comments (6)

snayfach avatar snayfach commented on May 9, 2024 1

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.

jolespin avatar jolespin commented on May 9, 2024 1

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.

jolespin avatar jolespin commented on May 9, 2024

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.

snayfach avatar snayfach commented on May 9, 2024

from midas.

jolespin avatar jolespin commented on May 9, 2024

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.

snayfach avatar snayfach commented on May 9, 2024

from midas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.