Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Populate type for HGNC & Alliance gene nodes #599

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

kevinschaper
Copy link
Member

@kevinschaper kevinschaper commented Aug 28, 2024

Adds a lookup table for HGNC to SO term ID to populate the biolink type field for human genes. Also enables the type field for Alliance genes, which was commented out previously. Plus tests.**

Additionally, there are some unrelated formatting changes that came in as well.

Fixes #649

Update to add: The alternate approach would be to create a mapping table from the type strings provided by HGNC directly which in retrospect does sound like it's a little more maintainable. I'm open to rolling this back and going that way instead.

…pe field for human genes. Also enables the type field for Alliance genes, which was commented out previously. Plus tests.
Copy link
Member

@AO33 AO33 left a comment

Choose a reason for hiding this comment

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

after_download.sh additions were clever... Will try to keep that sort of workflow in mind for future ingests

Copy link
Collaborator

@amc-corey-cox amc-corey-cox left a comment

Choose a reason for hiding this comment

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

It looks like there is a small error in the bash script update with gzcat and zcat. I think it needs to de-reference the variable when you call zcat. Also, the style begs for changing the name of the cat variable to be more clear we're using a variable reference to a tool rather than a tool name.

scripts/after_download.sh Show resolved Hide resolved
@amc-corey-cox
Copy link
Collaborator

This could go in... but I think there may be an error in after_download.sh. Please correct me if I've misunderstood how that will work.

@kevinschaper kevinschaper merged commit 24f9de3 into main Sep 10, 2024
2 checks passed
@kevinschaper kevinschaper deleted the issue-649-SO-terms-for-hgnc branch September 10, 2024 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add SO type to HGNC genes
3 participants