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

Fix setup.sh script and add check for samtools in PATH #31

Merged
merged 2 commits into from
Nov 5, 2020

Conversation

tinyheero
Copy link
Contributor

@tinyheero tinyheero commented Nov 5, 2020

This PR

  • Fixes a bug in the setup.sh script where it doesn't update the hisat2 submodule and build it:
    • To commands git submodule init; git submodule update need to run from the root directory of the repository. The current setup.sh script changes to the hisat2 folder and then tries to run these commands throwing an error, which doesn't get caught by the script.
  • Adds a small check for whether samtools is in the PATH or not and throws an error if not.

@tinyheero tinyheero changed the title Add check for samtools in PATH Fix setup.sh script and add check for samtools in PATH Nov 5, 2020
@chbe-helix chbe-helix merged commit 7614823 into DaehwanKimLab:master Nov 5, 2020
@chbe-helix
Copy link
Collaborator

Looks good! Thanks for the fix.

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.

2 participants