Comments (12)
I have not seen this before. Could you maybe paste the output from running /opt/hap.py/bin/test_haplotypes
?
Thanks!
from hap.py.
This is at the sudo docker build .
step, so no binaries exist outside docker:
From the Dockerfile
steps:
# run hap.py installer in the image
WORKDIR /opt/hap.py-source
RUN HG19=/opt/hap.py-data/hg19.fa python install.py /opt/hap.py
WORKDIR /
RUN rm -rf /opt/hap.py-source
from hap.py.
Could you check inside the container? You can get a shell using
docker run -it -d <container name> bin/bash
To find the container name, the most recent one from here should be it:
sudo docker ps -a
Another possible fix might be to clear the Docker cache, restart the daemon, and build again? Sometimes Docker loses its network connection, and the Docker installation process needs access to the internet.
from hap.py.
I tried a couple more times, it consistently complains about Boost Unit tests FAILED!
:
[...]
Testing Ksw performance for Haplotype comparison.
size klib klibg
128 39712.3 192837
192 142299 424609
256 265642 742147
320 418948 1.15442e+06
384 655086 1.64458e+06
448 211312 2.23166e+06
512 1.75529e+06 2.88694e+06
*** 2391 failures detected in test suite "Master Test Suite"
Boost Unit tests FAILED!
Traceback (most recent call last):
File "install.py", line 315, in <module>
main()
File "install.py", line 311, in main
test_haplotypes(source_dir, python_shebang, args)
File "install.py", line 191, in test_haplotypes
subprocess.check_call(to_run, shell=True)
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'cd /opt/hap.py && /opt/hap.py-source/src/sh/run_tests.sh' returned non-zero exit status 1
The command '/bin/sh -c HG19=/opt/hap.py-data/hg19.fa python install.py /opt/hap.py' returned a non-zero code: 1
Then running the container only shows the data and source directories, no bin:
~/hap.py$ sudo docker run -it 20b5053dd999 /bin/bash
root@f18ed958b5d4:/opt/hap.py-source# cd /opt
root@f18ed958b5d4:/opt# ls -l
total 8
drwxr-xr-x 2 root root 4096 Dec 1 11:08 hap.py-data
drwxr-xr-x 7 root root 4096 Dec 1 11:05 hap.py-source
from hap.py.
Does this file exist inside the image: /opt/hap.py-data/hg19.fa
? Also, is it a valid hg19 reference sequence, and is it indexed?
To see which unit tests fail, this should work inside the Docker image:
cd /opt
mkdir hap.py-build
cd hap.py-build
../hap.py-source/configure.sh Release
make
bin/test_haplotypes &> test.log
Could you send the full output from test.log?
Thanks!
from hap.py.
Also, which Docker version are you using?
I have re-run the Dockerfile from scratch here, and cannot reproduce the issue.
from hap.py.
Find below:
ls -l /opt/hap.py-data/hg19.fa*
-rw-r--r-- 1 root root 3157608038 Dec 1 11:08 /opt/hap.py-data/hg19.fa
-rw-r--r-- 1 root root 788 Dec 1 11:08 /opt/hap.py-data/hg19.fa.fai
On Tue, Dec 1, 2015 at 11:33 AM, Peter Krusche [email protected]
wrote:
Does this file exist inside the image: /opt/hap.py-data/hg19.fa ? Also,
is it a valid hg19 reference sequence, and is it indexed?To see which unit tests fail, this should work inside the Docker image:
cd /opt
mkdir hap.py-build
cd hap.py-build
../hap.py-source/configure.sh Release
make
bin/test_haplotypes &> test.logCould you send the full output from test.log?
Thanks!
—
Reply to this email directly or view it on GitHub
#2 (comment).
from hap.py.
This is running on an Ubuntu 14.04 machine, with docker 1.9.1:
avilella@gonzo:~/hap.py$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
avilella@gonzo:~/hap.py$ docker --version
Docker version 1.9.1, build a34a1d5
On Tue, Dec 1, 2015 at 1:07 PM, Albert Vilella [email protected] wrote:
Find below:
ls -l /opt/hap.py-data/hg19.fa* -rw-r--r-- 1 root root 3157608038 Dec 1 11:08 /opt/hap.py-data/hg19.fa -rw-r--r-- 1 root root 788 Dec 1 11:08 /opt/hap.py-data/hg19.fa.fai
On Tue, Dec 1, 2015 at 11:33 AM, Peter Krusche [email protected]
wrote:Does this file exist inside the image: /opt/hap.py-data/hg19.fa ? Also,
is it a valid hg19 reference sequence, and is it indexed?To see which unit tests fail, this should work inside the Docker image:
cd /opt
mkdir hap.py-build
cd hap.py-build
../hap.py-source/configure.sh Release
make
bin/test_haplotypes &> test.logCould you send the full output from test.log?
Thanks!
—
Reply to this email directly or view it on GitHub
#2 (comment).
from hap.py.
I have tried with this version of Docker (on Ubuntu 15.04), and was not able to reproduce the error.
The two things that I think are worth trying would be:
- re-run the Docker build with a fresh clone of the repository (clearing out all containers / images before)
- using the configure / make commands above inside the Docker image, find out which tests exactly are failing.
from hap.py.
Attached log file.
On Tue, Dec 1, 2015 at 1:52 PM, Peter Krusche [email protected]
wrote:
I have tried with this version of Docker (on Ubuntu 15.04), and was not
able to reproduce the error.The two things that I think are worth trying would be:
- re-run the Docker build with a fresh clone of the repository
(clearing out all containers / images before)- using the configure / make commands above inside the Docker image,
find out which tests exactly are failing.—
Reply to this email directly or view it on GitHub
#2 (comment).
from hap.py.
The failure is unrelated to the reference sequence, but hard to diagnose without debugging it. Let's see if the automated build in #3 works out.
from hap.py.
Ok, the automated build is now available at https://hub.docker.com/r/pkrusche/hap.py/
To see if the tests are still failing, you can try this:
sudo docker pull pkrusche/hap.py
cd <hap.py-checkout-dir>
sudo docker run -it -v `pwd`:/opt/hap.py-source pkrusche/hap.py bin/bash
# ... shell is now in Docker container
cd /opt/hap.py
export HG19=/opt/hap.py-data/hg19.fa
/opt/hap.py-source/src/sh/run_tests.sh
... for me, this seems to work fine.
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.