Oxli prototype using fastq-to-fasta

- [ ] Is it mergable?
- [x] Did it pass the tests?
- [x] If it introduces new functionality in scripts/ is it tested?
  Check for code coverage.
- [x] Is it well formatted? Look at `make pep8`, `make diff_pylint_report`,
  `make cppcheck`, and `make doc` output. Use `make format` and manual
  fixing as needed.
- [x] Did it change the command-line interface? Only additions are allowed
  without a major version increment. Changing file formats also requires a
  major version number increment. 
- [x] Is it documented in the ChangeLog?
- [x] Was a spellchecker run on the source code and documentation after
  changes were made?
Seemed the best way to extend the functionality already present within
argparse. (Also it's the way I went with fastq-to-fasta).

Seemed better than doing a long else-if strand for each potential
subcommand.

On Mon, Dec 15, 2014, 17:10 Michael R. Crusoe <notifications@github.com>
wrote:

> In scripts/oxli
> <https://github.com/ged-lab/khmer/pull/690#discussion-diff-21861543>:
>
> > +    parser_abund_dist_single = subparsers.add_parser('abund_dist_single',
> > +                                                     help="Calculate the abundance distribution of k-mers from a single\
> > +                    sequence file.", description="Caluculate the abundance"
> > +                                                     "distribution of k-mers from a single sequence file",
> > +                                                     epilog=textwrap.dedent(
> > +                                                         abund_dist_single.parser_epilog),
> > +                                                     formatter_class=common.ComboFormatter)
> > +    # use modified build_counting_args and build_hash_args from oxli.common
> > +    common.add_counting_args(parser_abund_dist_single)
> > +    abund_dist_single.add_args(parser_abund_dist_single)
> > +    parser_abund_dist_single.set_defaults(func=abundance_dist_single)
> > +
> > +    return parser
> > +
> > +
> > +def abundance_dist_single(args):
>
> It has one argument and makes one call, seems superfluous.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/ged-lab/khmer/pull/690/files#r21861543>.
>