-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bwa-mem2:2.2.1--he513fc3_0 Container Missing Executable #591
Comments
Hello! All images available on quay.io are built from conda packages, defined in the https://github.com/bioconda/bioconda-recipes repository. So you may need to make an issue on that side. However, this is weird, as I cannot reproduce the issue.. on my end:
Seems like there is some weird $PATH issues.. but even with the same docker version, I cannot reproduce it. |
@mboudet thank you for your quick reply! I came across another post that points to a hardware issue: I have a Vendor ID: GenuineIntel, Model name: Common KVM processor, CPU(s): 16 Does this mean my processor does not support SSE4.1. which seems to be required for running bwa-mem2? |
Ah, it makes sense. I read the On my end, This is just a guess, but maybe you are running on a VM? The 'model name : Common KVM processor' does seem to imply you are using an virtualized CPU (and not the host one), and bwa-mem does not know what to do with it. In any case, this is not a packaging issue, but a hardware compatibility one. |
@mboudet yes, I am running it on a VM. Sorry for missing to edit this information. $ lscpu So, I guess this means i cannot run bwa-mem2 on my VM with the given hardware? And should switch to older softwares like bwa? |
I think you can change some stuff in your virtualisation software to use your host cpu, and not the emulated one. (ex: https://forum.proxmox.com/threads/common-kvm-processor.66160/) But this is software-dependant, so I'm not really able to help much further. |
@mboudet Thank you for helping and pointing out a possible solution. |
I am trying to use the container quay.io/biocontainers/bwa-mem2:2.2.1--he513fc3_0, but bwa-mem2 does not seem to be available in the expected location. Running the following command:
docker run --rm quay.io/biocontainers/bwa-mem2:2.2.1--he513fc3_0 bwa-mem2 version
Results in:
ERROR: fail to find the right executable
However, checking inside the container shows that the executable exists at /usr/local/bin/bwa-mem2.
Can you confirm if this is a packaging issue?
Originally, I came across this error when trying to run the nf-core/raredisease pipeline with nextflow.
Docker version 27.5.1, build 9f9e405
nextflow version 24.10.3.5933
conda 24.7.1
nf-core 3.1.1 pypi_0 pypi
python --version Python 3.9.20
nf-core/raredisease v2.2.0-gfa61a65
[TaskFinalizer-2] ERROR nextflow.processor.TaskProcessor - Error executing process > 'NFCORE_RAREDISEASE:RAREDISEASE:PREPARE_REFERENCES:BWAMEM2_INDEX_GENOME (reference.fasta)'
Caused by:
Process
NFCORE_RAREDISEASE:RAREDISEASE:PREPARE_REFERENCES:BWAMEM2_INDEX_GENOME (reference.fasta)
terminated with an error exit status (2)...
Command error:
Unable to find image 'quay.io/biocontainers/bwa-mem2:2.2.1--he513fc3_0' locally
2.2.1--he513fc3_0: Pulling from biocontainers/bwa-mem2
1dbcab28ce46: Pulling fs layer
cfb1ba34637d: Pulling fs layer
ace2d8a63dd5: Pulling fs layer
75c080ef15eb: Pulling fs layer
1dbcab28ce46: Waiting
cfb1ba34637d: Waiting
...
2e178fd72baf: Pull complete
b28b1e77606a: Pull complete
Digest: sha256:8489086047b16f49a01a077065c88258c28027c49c35281f77df353bcc370970
Status: Downloaded newer image for quay.io/biocontainers/bwa-mem2:2.2.1--he513fc3_0
ERROR: fail to find the right executable
Thank you very much for your time and help!
The text was updated successfully, but these errors were encountered: