This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Cannot install bwa-mem2 via conda

enter image description here

enter image description here

I cannot seem to figure out what is going on, have also tried installing with mamba, installing in a new environment, updating/downgrading various packages to see if that was causing issues, restarted mac as well. any help is appreciated. Always seems to return some variation of the same error failing to solve the environment.

conda mamba python

Please do not paste screenshots of plain text content, it is counterproductive. You can copy paste the content directly here (using the code formatting option shown below), or use a GitHub Gist if the content volume exceeds allowed length here. code_formatting

1 answer

The problem is caused by running the ARM-based conda. Bioinformatics software is compiled for Intel based CPUs only.

Uninstall that version of conda and install and run the osx-64 (Intel CPU) based conda even on an osx-arm64 (M processor) based MacOS

Use micromamba actually, it is much simpler, faster and usable than conda/mamba

You need to do this:

# macOS Intel (x86_64):
curl -Ls https://micro.mamba.pm/api/micromamba/osx-64/latest | tar -xvj bin/micromamba

then use micromamba instead of conda from that moment on.

Log in to answer this question.