Skip to content

bwa-mem2:2.2.1--he513fc3_0 Container Missing Executable #591

@pnolabs

Description

@pnolabs

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions