Comments (3)
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.
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.
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)
- Parsing results VCF gives different counts of TRUTH FN than summary HOT 1
- CMake Error at CMakeLists.txt:32 (message): Building external dependencies has failed
- Error running BCFTOOLS :Argument list too long
- Integrating vcfdist as a comparison engine into hap.py
- missing reference HOT 1
- VCF format issues with --write-vcf, - FORMAT field inconsistencies HOT 1
- Trying to print sequence when we mean contig name
- error code 1
- Docker Implementation: Several Error Messages Related to "preprocess" HOT 1
- ROC and PR curve HOT 2
- Docker fails to build for both bases
- Incorrect number of FORMAT/AD values on scmp-distance engine
- Link provide in email is broken HOT 1
- [E::bgzf_uncompress] inflate failed: invalid distance too far back HOT 1
- Docker build failed HOT 1
- How is the false positive rate calculated in som.py stats?
- Can't find reference HOT 1
- While using hap.py, there is a problem:
- Make a new pre-built docker image?
- Using --usefiltered-truth results in incorrect FP calls for filtered variants in the truth (xcmp)
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 hap.py.