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: "bowtie2-build-s does not exist" on Windows #497

Open
ivoseverins opened this issue Nov 6, 2024 · 2 comments
Open

Error: "bowtie2-build-s does not exist" on Windows #497

ivoseverins opened this issue Nov 6, 2024 · 2 comments

Comments

@ivoseverins
Copy link

First of all: thank you for making wonderful software!

When I run bowtie2-build (v2.5.3) on Windows 11 I get the error:

bowtie2-build-s does not exist, try running `[g]make bowtie2-build-s

The problem seems to be in line 118 of the bowtie2-build python script:

if not os.path.exists(build_bin_spec):

In my case it searches for bowtie2-build-s, but in the folder there is only bowtie2-build-s.exe.

Changing line 118 to

if not (os.path.exists(build_bin_spec) | os.path.exists(build_bin_spec + '.exe')):

fixes the issue for me.

Note that I did not use v2.5.4, as the Windows binaries for that version produced other errors.

@ch4rr0
Copy link
Collaborator

ch4rr0 commented Nov 23, 2024

I pushed a change to the bug_fixes branch that addresses this issue. The changeset will be part of the next release.

P.S. what issues are you having with v2.5.4?

@ivoseverins
Copy link
Author

Thank you!

For v2.5.4 when running bowtie2-build (without any arguments) I get the error:

OSError: [WinError 193] %1 is not a valid Win32 application`

When running bowtie2 (without any arguments) I get the error:

(ERR): Expected bowtie2 to be in same directory with bowtie2-align:
C:/Users/user/Desktop/bowtie2-2.5.4-mingw-aarch64/
Exiting now ...

Which is a similar error as #489. Perhaps it is related to #480?

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