Coder Social home page Coder Social logo

install error about hap.py HOT 3 CLOSED

illumina avatar illumina commented on August 24, 2024
install error

from hap.py.

Comments (3)

pkrusche avatar pkrusche commented on August 24, 2024 2

To run all tests successfully you need to download a hg19 reference FASTA file. If you don't have one, this script downloads it: https://github.com/Illumina/hap.py/blob/master/src/sh/make_hg19.sh

Before running install.py, point hap.py to this file as follows:

export HGREF=<path-to-your-hg19.fa>
export HG19=<path-to-your-hg19.fa>

python install.py ~/hap.py-install

Also I don't think you'll need sudo permissions to install into your home directory if all Python requirements are installed already.

Hope this helps!

from hap.py.

splaisan avatar splaisan commented on August 24, 2024

Thanks Peter, you were right, it now worked out (stupid sudo error of mine)

BTW, can I use hap.py with a more recent reference?
Should I simply point the two ref variables to it or is there something in hap.py that is specific to hg19.
I had in mind the latest ensembl GRCh38.p10 with all KIXXXXXX.1 records.
Thanks

from hap.py.

pkrusche avatar pkrusche commented on August 24, 2024

The environment variables are only needed for running the subset of the tests that are based on hg19.

When running an installed version of hap.py you may point it to any reference Fasta using the -r command line option. Note that the reference Fasta file must match the truth and query VCFs, as well as all other bed files that were passed, otherwise errors may occur.

Both Platinum Genomes and Genome in a Bottle provide separate hg38 reference files, either should be fine to use with hap.py.

from hap.py.

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.