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

Add check for samtools in the PATH of the hisatgenotype script #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tinyheero
Copy link
Contributor

@tinyheero tinyheero commented Jan 27, 2021

Currently, when samtools is not in the PATH, the hisatgenotype script runs to completion but without any output or obvious error messages.

This PR adds a check to ensure that samtools is in the PATH when the hisatgenotype script is run.

Note that this is separated from the samtools check in the setup.sh script as that checks when that script is run (#31). It's conceived that samtools was available at that time (e.g. through a conda environment), but then when an end-user runs hisatgenotype they forgot to activate this same environment (I did this by accident). This PR makes sure that the program fails fast so that end-users can be notified right away.

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

Successfully merging this pull request may close these issues.

1 participant