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

#1106 Writing Scripts for Updating Database and Refactor Code #1113

Merged
merged 17 commits into from
Aug 28, 2024
Merged

Conversation

ntran18
Copy link
Collaborator

@ntran18 ntran18 commented Apr 23, 2024

  • Refactor Code into reusable code in utils.py
  • Create an all in one loader.py to load all data into expression, network, and protein-protein interactions database
  • Create an all in one loader-update.py to load all updates into network and protein-protein interactions database
  • Create a union gene table for all expression, network, and protein-protein interactions database

…ate network gene, and update protein gene, making load_genes and update_genes to be private
….py. Adding all populating data to database in loader.py. Need to work on Readme file to update the command in the next commit, and fixing update scripts
…pdate, can create a union missing_gene and update_gene files. The code for loader_update will be in later commit.
…s, updated genes, misisng protein, updated proteins for both network and protein-protein interactions table
… of using union genes. The code for union genes can just leave it there for now
@ntran18 ntran18 requested a review from dondi April 23, 2024 18:43
Copy link
Owner

@dondi dondi left a comment

Choose a reason for hiding this comment

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

Generally looks good, with one historical note and I think we have an opportunity to address it: when we first started populating our database, we had only one network type (GRN), so many names in this code pertain to just “network.” But now that we also support PPIs, the proper naming scheme is no longer “network” vs. “PPI” but “GRN” vs. “PPI.” So please scan for any generic “network” names and adjust to indicate “GRN” instead. Thanks!

Copy link
Owner

@dondi dondi left a comment

Choose a reason for hiding this comment

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

LGTM

@dondi dondi merged commit 94256ce into beta Aug 28, 2024
@dondi dondi deleted the maika-1106 branch August 28, 2024 19:46
@ntran18 ntran18 mentioned this pull request Sep 25, 2024
41 tasks
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.

2 participants