-
Notifications
You must be signed in to change notification settings - Fork 76
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
Medaka not detecting installed tools #537
Comments
The code that performs these checks is here. You'll see it doesn't do much other than run the commands. I'm afraid I can't suggest a reason why these checks are failing. |
That's true, but it's called in report_binaries(), which will throw an error if anything is missing, preventing the script from running. |
Update: By installing all of the tools using |
@BMTTMC if you have not solved this yet, this is an encoding issue (samtools version 1.13 So in my medaka installation, I had to edit lib/python3.10/site-packages/medaka/__init__.py and then I am able to run medaka just fine |
Confirming the fix by @vineeth-s for distro-provided samtools on Ubuntu 24.04. |
Describe the bug
When attempting to run
medaka_consensus
within a script, it is failing due to a failure to detect installed tools (i.e. samtools, bcftools, etc.). minimap2 is found, but others are not (see the logging section).Interestingly,
samtools
is used on its own from within the script without any issue.This issue is focusing on samtools, but the issue involves the other tools listed as well. Any help would be appreciated.
Logging
When trying to run medaka_consensus (note that this behavior is consistent whether or not I specify a model):
To confirm that samtools (for example) is installed:
I've also confirmed that the PATH includes samtools:
Environment:
The text was updated successfully, but these errors were encountered: