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

Update HGNC to 202410 for GRCh38 #97

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

leexgh
Copy link
Member

@leexgh leexgh commented Jan 21, 2025

@leexgh leexgh changed the title Update HGNC 202410 grch38_ensembl95 Update HGNC to 202410 for GRCh38 Jan 22, 2025
Copy link
Member

@inodb inodb left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -54,7 +54,7 @@ def main(gff_file, ensembl_transcript_info):
rows.append(entry_dict)

# By first appending it to a list and only adding it to a DF once, performance is greatly improved
transcript_info = transcript_info.append(rows, ignore_index=True, sort=False)
transcript_info = pd.concat([transcript_info, pd.DataFrame(rows)], ignore_index=True, sort=False)
Copy link
Member

Choose a reason for hiding this comment

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

not entirely sure why this is is necessary, is there a row that is not in the correct shape? Wondering if it's better to fix the shape rather than using append in that case?

Copy link
Member Author

Choose a reason for hiding this comment

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

@inodb I didn't check it, DataFrame.append is deprecated so that's why I change to .concat.

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.

Update HGNC 2024-10 version
2 participants