-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
"""Create a robot template for purpose of syncing subclassof relations. | ||
Resources | ||
- GitHub issue: https://github.com/monarch-initiative/mondo-ingest/issues/92 | ||
- GitHub PR: https://github.com/monarch-initiative/mondo-ingest/pull/363 | ||
""" | ||
from argparse import ArgumentParser | ||
|
||
# import curies | ||
import pandas as pd | ||
from oaklib import get_implementation_from_shorthand | ||
# from oaklib.types import CURIE, URI | ||
# from sssom.util import is_curie | ||
|
||
# from utils import remove_angle_brackets | ||
|
||
|
||
def sync_subclassof(): | ||
"""Run""" | ||
pass | ||
|
||
|
||
# TODO: --ontology-db tmp/merged.db --outpath reports/sync-subclassof.robot.template.tsv | ||
def cli(): | ||
"""Command line interface.""" | ||
parser = ArgumentParser('Create a robot template for purpose of syncing subclassof relations.') | ||
parser.add_argument('-d', '--db-path', required=True, help='') | ||
parser.add_argument( | ||
'-o', '--outpath', required=True, | ||
help='') | ||
parser.add_argument( | ||
'-d', '--ontology-db', required=True, | ||
help='Path to SemanticSQL sqlite ONTO_NAME.db.') | ||
sync_subclassof(**vars(parser.parse_args())) | ||
|
||
|
||
if __name__ == '__main__': | ||
cli() |