pyani.scripts.parsers.anib_parser module

Provides parser for anib subcommand.

pyani.scripts.parsers.anib_parser.build(subps: argparse._SubParsersAction, parents: Optional[List[argparse.ArgumentParser]] = None) → None[source]

Return a command-line parser for the anib subcommand.

Parameters:
  • subps – collection of subparsers in main parser
  • parents – parsers from which arguments are inherited

The terminology may be confusing, but in practice the main parser collects command-line arguments that are then available to this parser, which inherits options from the parsers in parents in addition to those defined below.