-
Notifications
You must be signed in to change notification settings - Fork 20
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
Argument parsing, usage statement, and small improvements for countKmers #11
base: master
Are you sure you want to change the base?
Conversation
@@ -1,72 +0,0 @@ | |||
HAWK version 0.9.8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is redundant with README.md, and some parts are out of date. Better to just drop it.
CATCMD="bunzip2 -c" | ||
else | ||
CATCMD=cat | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is where the compression is autodetected.
jellyfishDir=/home/atif/jellyfish-Hawk/bin #directory where jellyfish is installed | ||
sortDir=/home/atif/coreutils/deps/bin #directory where parallel sort is installed | ||
#!/usr/bin/env bash | ||
set -eo pipefail |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's helpful to halt execution if something goes wrong. Makes it easier to isolate the point of failure if it doesn't just try to keep going to the next sample.
Rolled back the text about Jellyfish 2. |
Thank you so much for your modifications! Incorporated a few. We are working on a few things. We will take care of the rest once that's done. |
I made a few changes to the
countKmers
script for my own use, and thought they might be useful for others as well../countKmers -h
.gz
or not and dynamically determines whether to usezcat
orcat
, again so users don't have to modify the scriptI also updated
README.md
to reflect these changes,and the fact that Jellyfish 2 is a suitable alternative to the modified version of Jellyfish bundled with HAWK which seems to be giving some users issues.