Skip to content

Commit

Permalink
Lexically match MAxO and MeSH
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Jul 24, 2023
1 parent 3acffb6 commit 4cbcbe4
Show file tree
Hide file tree
Showing 2 changed files with 216 additions and 0 deletions.
21 changes: 21 additions & 0 deletions scripts/generate_maxo_mesh_mappings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-

"""Generate mappings to Gilda from given PyOBO prefixes."""

import click
from more_click import verbose_option

from biomappings.gilda_utils import append_gilda_predictions
from biomappings.utils import get_script_url


@click.command()
@verbose_option
def main():
"""Generate MAxO mappings."""
provenance = get_script_url(__file__)
append_gilda_predictions("maxo", ["mesh"], provenance=provenance)


if __name__ == "__main__":
main()
Loading

2 comments on commit 4cbcbe4

@pnrobinson
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool! Can we talk in late August?

@cthoyt
Copy link
Member Author

@cthoyt cthoyt commented on 4cbcbe4 Jul 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pnrobinson sounds like a great idea. If you have a specific curator in mind who you want me to train in the meantime on how to use the Biomappings interface, please send them my way on either github or email (cthoyt@gmail.com)

Please sign in to comment.