Open ahmetgorkemer opened 1 year ago
Hi Ahmet!
Sorry about that! You are right there were some issues with the pip version installed in the docker.
We have updated the base distribution in the docker to Ubuntu 20.04 and made some additional adjustments to make it work. The docker file should be working now. Please, let us know when you are able to correctly install it or you have any other issue. We will close the issue just after your confirmation.
Thank you very much for your interest!
Hi,
Unfortunately, it is not still working. This time, it has raised an different error:
[38/53] RUN mkdir /root/.conda && bash Miniconda3.sh -b && rm -f Miniconda3.sh:
46 0.341 PREFIX=/root/miniconda3
46 0.572 Unpacking payload ...
46 0.576 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
46 0.579 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
executor failed running [/bin/sh -c mkdir /root/.conda && bash Miniconda3.sh -b && rm -f Miniconda3.sh]: exit code: 1 (base) ahmetgorkemer@DN0a259194 impuSARS %
By the way, conda version also could not be installed. I have tried a few different platforms and computers, but every time it stucks in installing of Minimac 4.
Checking if conda installed... Adding bioconda/conda-forge channels to conda... Warning: 'bioconda' already in 'channels' list, moving to the top Warning: 'conda-forge' already in 'channels' list, moving to the top Creating impusars conda environment... Collecting package metadata (repodata.json): done Solving environment: failed
ResolvePackageNotFound:
Warning: '/Users/ahmetgorkemer/impuSARS/.venvs/' already in 'envs_dirs' list, moving to the bottom
EnvironmentNameNotFound: Could not find conda environment: impusars
You can list all discoverable environments with conda info --envs
.
ln: /Users/ahmetgorkemer/opt/anaconda3/bin/gcc: File exists ln: /Users/ahmetgorkemer/opt/anaconda3/bin/g++: File exists ln: /Users/ahmetgorkemer/opt/anaconda3/bin/ar: File exists Installing Minimac imputation... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 87759 0 87759 0 0 267k 0 --:--:-- --:--:-- --:--:-- 270k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 819k 100 819k 0 0 741k 0 0:00:01 0:00:01 --:--:-- 745k x Minimac4-1.0.2/ x Minimac4-1.0.2/.gitignore x Minimac4-1.0.2/CMakeLists.txt x Minimac4-1.0.2/LICENSE x Minimac4-1.0.2/README.md x Minimac4-1.0.2/dep/ x Minimac4-1.0.2/dep/libstatgen.cmake x Minimac4-1.0.2/install.sh x Minimac4-1.0.2/package-linux.sh x Minimac4-1.0.2/packaging-dockerfile-ubuntu16 x Minimac4-1.0.2/requirements.txt x Minimac4-1.0.2/src/ x Minimac4-1.0.2/src/Analysis.cpp x Minimac4-1.0.2/src/Analysis.h x Minimac4-1.0.2/src/AnalysisChunks.cpp x Minimac4-1.0.2/src/DosageData.cpp x Minimac4-1.0.2/src/DosageData.h x Minimac4-1.0.2/src/Estimation.cpp x Minimac4-1.0.2/src/Estimation.h x Minimac4-1.0.2/src/HaplotypeSet.cpp x Minimac4-1.0.2/src/HaplotypeSet.h x Minimac4-1.0.2/src/Imputation.cpp x Minimac4-1.0.2/src/Imputation.h x Minimac4-1.0.2/src/ImputationStatistics.cpp x Minimac4-1.0.2/src/ImputationStatistics.h x Minimac4-1.0.2/src/Main.cpp x Minimac4-1.0.2/src/MarkovModel.cpp x Minimac4-1.0.2/src/MarkovModel.h x Minimac4-1.0.2/src/MarkovParameters.cpp x Minimac4-1.0.2/src/MarkovParameters.h x Minimac4-1.0.2/src/MyVariables.h x Minimac4-1.0.2/src/Unique.cpp x Minimac4-1.0.2/src/Unique.h x Minimac3Executable/ x Minimac3Executable/bin/ x Minimac3Executable/bin/Minimac3 x Minimac3Executable/bin/Minimac3-omp x Minimac3Executable/test/ x Minimac3Executable/test/refPanelChrX.Non.Auto.vcf x Minimac3Executable/test/refPanel.m3vcf.gz x Minimac3Executable/test/refPanel.vcf x Minimac3Executable/test/refPanel.vcf.gz x Minimac3Executable/test/targetStudyChrX.females.vcf x Minimac3Executable/test/targetStudyChrX.males.vcf x Minimac3Executable/test/targetStudy.vcf x Minimac3Executable/test/TestRun_1.sh x Minimac3Executable/test/TestRun_2.sh x Minimac3Executable/test/TestRun_3.sh x Minimac3Executable/README.txt Installing Dependencies - Libstatgen ... Generating MakeFiles ... install.sh: line 9: cmake: command not found make: *** No targets specified and no makefile found. Stop. Binary created at /release-build/minimac4 cp: /Users/ahmetgorkemer/impuSARS/conda/Minimac4-1.0.2/release-build/minimac4: No such file or directory
I would be glad if you find solutions to these problems. I am looking forward to using the tool for imputing the genome.
Best, Ahmet
Hi Ahmet,
Sorry for these inconveniences, we are working to solve them and make it works for you.
According to your logs, it seems likes the docker is taking some of the installation from cache (from a previous installation). We have updated the repository to make sure docker is rebuilt completely (without using cache). We have also forced a specific ingest for the base Ubuntu v20.04 to be sure you are installing same version as the one working. Would you mind to retry again installing the docker version with these changes, please?
If still not working, we would like to know what Docker version and SO you are using (for docker version you can run the command "docker --version"). That way we will try to reproduce the error in our machines.
Also, we are working on the conda fix too, but that one could be more complex since it has strong dependencies on each machine packages and libraries.
Thanks again for your interest!
Hi Francisco,
I have tried to install the tool in different settings. Unfortunately, all of them are stuck at the same point:
Step 44/60 : RUN chmod 755 Miniconda3.sh ---> Running in 4bd5dc044b4d Removing intermediate container 4bd5dc044b4d ---> 3c0e0b4935e1 Step 45/60 : RUN mkdir /root/.conda && bash Miniconda3.sh -b && rm -f Miniconda3.sh ---> Running in 9498968abc72 PREFIX=/root/miniconda3 Unpacking payload ... Miniconda3.sh: line 412: /root/miniconda3/conda.exe: cannot execute binary file: Exec format error Miniconda3.sh: line 414: /root/miniconda3/conda.exe: cannot execute binary file: Exec format error The command '/bin/sh -c mkdir /root/.conda && bash Miniconda3.sh -b && rm -f Miniconda3.sh' returned a non-zero code: 1
I have re-installed Docker, version 20.10.21, and used macOS Monterey, Ubuntu 20.04, and Ubuntu 22.04 as operating systems. I hope we can find a solution.
Best, Ahmet On Nov 21, 2022, 4:31 AM -0800, Francisco Ortuno @.***>, wrote:
Hi Ahmet, Sorry for these inconveniences, we are working to solve them and make it works for you. According to your logs, it seems likes the docker is taking some of the installation from cache (from a previous installations). We have updated the repository to make sure docker is rebuilt completely (without using cache). We have also forced a specific ingest for the base Ubuntu v20.04 to be sure you are installing same version as the one working. Would you mind to retry again installing the docker version with these changes, please? If still not working, we would like to know what Docker version and SO you are using (for docker version you can run the command "docker --version"). That way we will try to reproduce the error in our machines. Also, we are working on the conda fix too, but that one could be more complex since it has strong dependencies on each machine packages and libraries. Thanks again for your interest! — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Hi Ahmet,
I have it working in Ubuntu 20.04. For the error you sent, I suspect it could be an architecture issue. Would you mind to let me know what architecture you are trying to install in? You can just run the command uname -m
Once I have your architecture I will update the Dockerfile to make it working for your architecture.
Thanks again! Francisco
Hi Francisco,
The architecture is “aarch64” on Ubuntu 20.04 (I am using it on UTM as a virtual OS), and “x86_64” on my Mac with an M1 processor.
Best, Ahmet
On Nov 25, 2022, 2:56 AM -0800, Francisco Ortuno @.***>, wrote:
Hi Ahmet, I have it working in Ubuntu 20.04. For the error you sent, I suspect it could be an architecture issue. Would you mind to let me know what architecture you are trying to install in? You can just run the command uname -m Once I have your architecture I will update the Dockerfile to make it working for your architecture. Thanks again! Francisco — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Hi Ahmet,
Yeah, it seems to be a problem with the architecure. The Dockerfile installs miniconda specifically for x86_64 but I have read there are some issue with the M1 processor.
We have updated the Dockerfile to automatically identify architecture and install miniconda accordingly. It should be able now to detect your aarch64 architecture in Ubuntu 20.04 and install miniconda for that architecture. However, since it is a virtual OS over UTM I am not sure if it will work. Could you please give it a try and let me know if it is working?
Meanwhile I would try to make it work with M1 processor but I don't have where to test it. Sorry about that!
Thanks again! Francisco
Hi,
The docker file raises an error during installation.
=> ERROR [ 3/52] RUN pip install cget 2.2s
I think it is related to the pip version that was coded in the docker file, it seems that it should be updated.
Best, Ahmet