Skip to content
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

Error: cannot execute binary file #443

Closed
ftwtp1 opened this issue Mar 21, 2025 · 1 comment
Closed

Error: cannot execute binary file #443

ftwtp1 opened this issue Mar 21, 2025 · 1 comment

Comments

@ftwtp1
Copy link

ftwtp1 commented Mar 21, 2025

Hi all,

I am new to bioinformatics and to this community so I apologise in the advance if the way I write things are vague/not clear or if I miss out on some important details. (or if I ask naive/stupid questions)

I am trying to run bwakit on my Mac (M2 Ultra) and bumped into a problem and am seeking for advice.
So I mainly followed what is written on this page (https://github.com/lh3/bwa/blob/master/bwakit/README.md) and followed the following script.

#Download the bwa-0.7.11 binary package (download link may change)
wget -O- http://sourceforge.net/projects/bio-bwa/files/bwakit/bwakit-0.7.12_x64-linux.tar.bz2/download
| gzip -dc | tar xf -
#Generate the GRCh38+ALT+decoy+HLA and create the BWA index
bwa.kit/run-gen-ref hs38DH # download GRCh38 and write hs38DH.fa
bwa.kit/bwa index hs38DH.fa # create BWA index
#mapping
bwa.kit/run-bwamem -o out -H hs38DH.fa read1.fq read2.fq | sh

When I run the last command for the mapping I get the following warning.

WARNING: many programs require read groups. Please specify with -R if you can.
sh: line 1: bwa.kit/seqtk: cannot execute binary file
sh: line 3: bwa.kit/samtools: cannot execute binary file

How can I make this executable?

I appreciate your help and thank you in advance for your time!

@lh3
Copy link
Owner

lh3 commented Mar 21, 2025

That is x64 only

@lh3 lh3 closed this as completed Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants