Open nickp60 opened 3 months ago
I encountered the same "ERROR bird_tool_utils::external_command_checker] Could not find an available minimap2 executable" when running a coverM.sif container built using apptainer, even though minimap2 was successfully installed in the container.
Hi,
Thanks for the specific solution - probably a better idea anyway. I've pushed a new commit which uses the which crate.
I don't actually make that docker/apptainer - so unsure how to test - maybe you can? Thanks, ben
Amazing, thank you so much!! I just pushed an image with these changes, and I'll ask our collaborator if it works on their system now! @microjishuai, would you be willing to try as well?
docker run ghcr.io/vdblab/coverm:0.7.0-dev
# or
singularity run docker://ghcr.io/vdblab/coverm:0.7.0-dev
Hello! This is a bit of a strange request, but I am running into a strange error when running dockerized versions of CoverM. It is related to this somehow, I am not entirely sure why it only fails on a collaborators machine, but CoverM fails when attempting to find the Minimap2 executable using the
bash -c 'which minimap2'
command, which is here.When running this manually (not via CoverM), I get the following:
So far so good. When run on my institute's HPC via singularity, I get
which is good as well. However, when my collaborator attempts on their cluster, they get
That results in their CoverM calls failing with the following error:
We think that somehow Singularity is getting mixed up between system and container versions of
which
.Would you be willing to switch to a different method of executable checking? I don't know Rust, but it looks like there is a pretty popular package for this: https://crates.io/crates/which
Thanks in advance!