@click.command('<STR_LIT>', short_help='<STR_LIT>')<EOL>@click.option('<STR_LIT>', help='<STR_LIT>')<EOL>@click.option('<STR_LIT>', <EOL>help='<STR_LIT>',<EOL>default='<STR_LIT>',<EOL>show_default=True,<EOL>)<EOL>@click.pass_context<EOL>def omim(context, api_key, institute):
LOG.info("<STR_LIT>")<EOL>adapter = context.obj['<STR_LIT>']<EOL>api_key = api_key or context.obj.get('<STR_LIT>')<EOL>if not api_key:<EOL><INDENT>LOG.warning("<STR_LIT>")<EOL>context.abort()<EOL><DEDENT>institute_obj = adapter.institute(institute)<EOL>if not institute_obj:<EOL><INDENT>LOG.info("<STR_LIT>", institute)<EOL>LOG.warning("<STR_LIT>")<EOL>context.abort()<EOL><DEDENT>try:<EOL><INDENT>adapter.load_omim_panel(api_key, institute=institute)<EOL><DEDENT>except Exception as err:<EOL><INDENT>LOG.error(err)<EOL>context.abort()<EOL><DEDENT>
Update the automate generated omim gene panel in the database.