Skip to content

Commit

Permalink
improved help message
Browse files Browse the repository at this point in the history
  • Loading branch information
lh3 committed Mar 24, 2012
1 parent efab340 commit 90324c4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.o
*.a
*.dSYM
.*.swp
7 changes: 5 additions & 2 deletions seqtk.c
Original file line number Diff line number Diff line change
Expand Up @@ -414,9 +414,10 @@ int stk_maskseq(int argc, char *argv[])
}
}
if (argc - optind < 2) {
fprintf(stderr, "\n");
fprintf(stderr, "Usage: seqtk maskseq [-cl] <in.fa> <in.bed>\n\n");
fprintf(stderr, "Options: -c mask the complement regions\n");
fprintf(stderr, " -l soft mask (to lower cases)\n");
fprintf(stderr, " -l soft mask (to lowercases)\n\n");
return 1;
}
h = stk_reg_read(argv[optind+1]);
Expand Down Expand Up @@ -486,7 +487,7 @@ int stk_subseq(int argc, char *argv[])
}
if (optind + 2 > argc) {
fprintf(stderr, "\n");
fprintf(stderr, "Usage: seqtk subseq [-t] [-l lineLen=%d] <in.fa> <in.bed>|<name.list>\n\n", line);
fprintf(stderr, "Usage: seqtk subseq [options] <in.fa> <in.bed>|<name.list>\n\n");
fprintf(stderr, "Options: -t TAB delimited output\n");
fprintf(stderr, " -l INT sequence line length [%d]\n\n", line);
fprintf(stderr, "Note: Use 'samtools faidx' if only a few regions are intended.\n\n");
Expand Down Expand Up @@ -915,6 +916,8 @@ int stk_sample(int argc, char *argv[])
return 0;
}

/* seq */

int stk_seq(int argc, char *argv[])
{
gzFile fp;
Expand Down

0 comments on commit 90324c4

Please sign in to comment.