aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kmer_total_count.c21
1 files changed, 20 insertions, 1 deletions
diff --git a/kmer_total_count.c b/kmer_total_count.c
index f15b69c..0b4e295 100644
--- a/kmer_total_count.c
+++ b/kmer_total_count.c
@@ -8,6 +8,25 @@
#include "kmer_utils.h"
+
+void help() {
+ printf("usage: kmer_total_count -i input_file -k kmer [-n] [-l] ...\n\n");
+ printf("count mers in size k from a fasta file\n");
+ printf("\n");
+ printf(" --input, -i input fasta file to count\n");
+ printf(" --kmer, -k size of mers to count\n");
+ printf(" --nonzero, -n only print non-zero values\n");
+ printf(" --label, -l print mer along with value\n");
+ printf("\n");
+ printf("Report all bugs to mutantturkey@gmail.com\n");
+ printf("\n");
+ printf("Copyright 2014 Calvin Morrison, Drexel University.\n");
+ printf("\n");
+ printf("If you are using any dna-utils tool for a publication\n");
+ printf("please cite your usage:\n\n");
+ printf("dna-utils. Drexel University, Philadelphia USA, 2014;\n");
+ printf("software available at www.github.com/EESI/dna-utils/\n");
+}
int main(int argc, char **argv) {
@@ -57,7 +76,7 @@ int main(int argc, char **argv) {
label = true;
break;
case 'h':
- printf("help-text\n");
+ help();
exit(EXIT_SUCCESS);
default:
break;