PediatricOpenTargets / OpenPedCan-api

2 stars 7 forks source link

Build DNA methylation database schema and tables #69

Open logstar opened 2 years ago

logstar commented 2 years ago

Build DNA methylation database schema and tables using results generated from https://github.com/PediatricOpenTargets/OpenPedCan-analysis/pull/165. According to @ewafula, the results in https://github.com/PediatricOpenTargets/OpenPedCan-analysis/pull/165 are still under preparation.

Following is a brief introduction on how to build the DNA methylation database schema and tables. The implementation of these procedures may require further discussions and modifications, to coordinate with the development of DNA methylation API plot and table endpoints.

Add a new DNA methylation database schema to store all DNA methylation tables, to avoid table name collisions with existing tables in bulk_expression schema. The DNA methylation schema can have any appropriate name, and the following description uses dna_methylation as an example schema name. Following are the steps to add in a new dna_methylation schema:

Add new DNA methylation tables to store DNA methylation results that are required to generate plots and tables for MTP. The DNA methylation tables can have any appropriate names, and the following description uses dna_methylation_summary as an example table name. Following are the steps to add a new dna_methylation_summary table:

The updated database building procedure can be tested using ./db/build_db.sh.

cc @afarrel @chinwallaa

chinwallaa commented 1 year ago

Waiting until plots are ready. Blocked.