GithubHelp home page GithubHelp logo

Failure to install `mVIRs` about mvirs HOT 2 OPEN

valentynbez avatar valentynbez commented on July 17, 2024
Failure to install `mVIRs`

from mvirs.

Comments (2)

valentynbez avatar valentynbez commented on July 17, 2024

Managed to resolve following the subsequent steps:

  1. Loaded bzip2 using module load bzip2
  2. Learned pip install pysam fails with python==3.8 - downgraded python==3.7
  3. Got pysam installation error:
creating build/temp.linux-x86_64-cpython-37/pysam
      gcc -pthread -B /nfs/home/vbezshapkin/miniconda3/envs/mvirs/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-install-o58dw52c/pysam_e5a03d4c9d1a4ad18f23c1fb1e922126/htslib -I/tmp/pip-install-o58dw52c/pysam_e5a03d4c9d1a4ad18f23c1fb1e922126/samtools -I/tmp/pip-install-o58dw52c/pysam_e5a03d4c9d1a4ad18f23c1fb1e922126/samtools/lz4 -I/tmp/pip-install-o58dw52c/pysam_e5a03d4c9d1a4ad18f23c1fb1e922126/bcftools -I/tmp/pip-install-o58dw52c/pysam_e5a03d4c9d1a4ad18f23c1fb1e922126/pysam -I/tmp/pip-install-o58dw52c/pysam_e5a03d4c9d1a4ad18f23c1fb1e922126 -I/nfs/home/vbezshapkin/miniconda3/envs/mvirs/include/python3.7m -c htslib/bcf_sr_sort.c -o build/temp.linux-x86_64-cpython-37/htslib/bcf_sr_sort.o -Wno-unused -Wno-strict-prototypes -Wno-sign-compare -Wno-error=declaration-after-statement
      as: unrecognized option '--gdwarf-5'
  1. Installed pysam using conda
  2. Run pip install mvirs

from mvirs.

valentynbez avatar valentynbez commented on July 17, 2024

The final de novo solution is:

$ conda create -n mvirs python==3.7 pip bwa samtools pysam -c bioconda 
$ conda activate mvirs
$ python -m pip install mvirs

from mvirs.

Related Issues (5)

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.