INNER CODE UNIT · Python
main
google/deepconsensus · deepconsensus/cli.py:90
def main(argset):
args, passed = argset # Ignore unused args; These are passed to subcommands.
if args.command:
passed = [args.command] + passed
if args.command == 'preprocess':
from deepconsensus.preprocess import preprocess
preprocess.register_required_flags()
handle_help(passed, preprocess)
app.run(preprocess.main, argv=passed)
elif args.command == 'run':
from deepconsensus.inference import quick_inference
quick_inference.register_required_flags()
handle_help(passed, quick_inference)
app.run(quick_inference.main, argv=passed)
elif args.command == 'calibrate':
from deepconsensus.quality_calibration import calculate_baseq_calibration
calculate_baseq_calibration.register_required_flags()
handle_help(passed, calculate_baseq_calibration)