Skip to content

Conversation

@tsibley
Copy link

@tsibley tsibley commented Aug 15, 2014

This is a stricter version of --truncate-n which may use sequence
fragments up until the first N provided they pass the length filter.

Note: this depends on my previous branch (PR #34) and so contains those commits as well. Only the tip commit is the feature-adding one.

Standardizes on --truncate-n.

This preserves the --trunc-n long name previously mentioned in the SE
usage.  It removes the --discard-n long name only ever used internally,
but never documented.
This will help keep them in sync when updating options.
No functional change, only whitespace (compare with git diff -w).
The usage docs now indicate option arguments and are easier to read.  If
the usage was specifically requested with --help, then it is printed to
stdout instead of stderr.  This is useful for the common idiom of asking
for help and piping to a pager like less or more (without redirecting
stderr).
Silences warnings about //-style comments and long strings.

Since kseq.h uses inline functions, a feature of C99, it's not useful
pretending to be C89 compat (GCC's default).
This is a stricter version of --truncate-n which may use sequence
fragments up until the first N provided they pass the length filter.
@tsibley
Copy link
Author

tsibley commented Feb 25, 2015

@najoshi I've updated this PR to be based on top of #40 instead of #34.

@tsibley tsibley changed the title Add a --drop-n / -N option to drop any sequence containing an N [2/4] Add a --drop-n / -N option to drop any sequence containing an N Feb 25, 2015
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