def get_parser(): """ returns the parser object for the oxli subcommand handler """ parser = argparse.ArgumentParser( description='Single entry point script for khmer', formatter_class=argparse.ArgumentDefaultsHelpFormatter) subparsers = parser.add_subparsers() # build-graph (formerly load-graph.py) parsers here parser_build_graph = \ subparsers.add_parser('build-graph', help="Load sequences into the compressible graph" "format plus optional tagset", description="Load sequences into the " "compressible graph format plus optional tagset") khmer_args.build_nodegraph_args("Load sequences into the compressible" "graph format plus optional tagset.", None, parser=parser_build_graph) build_graph.build_parser(parser_build_graph) parser_build_graph.set_defaults(func=build_graph.main) return parser
def get_parser(): parser = build_nodegraph_args(descr="Load sequences into the compressible " "graph format plus optional tagset.", citations=['graph', 'SeqAn']) parser = build_graph.build_parser(parser) return parser
def get_parser(): """Return the parser object for the oxli subcommand handler.""" parser = argparse.ArgumentParser( description='Single entry point script for khmer', formatter_class=argparse.ArgumentDefaultsHelpFormatter) subparsers = parser.add_subparsers() # build-graph (formerly load-graph.py) parsers here parser_build_graph = \ subparsers.add_parser( name='build-graph', help="Load sequences into the compressible graph format " "plus optional tagset") parser_build_graph = build_nodegraph_args(parser=parser_build_graph) build_graph.build_parser(parser_build_graph) parser_build_graph.set_defaults(func=build_graph.main) return parser
def get_parser(): parser = build_hashbits_args(descr="Load sequences into the compressible " "graph format plus optional tagset.") parser = build_graph.build_parser(parser) return parser