Closed logstar closed 3 years ago
Dev environment looks stable, ready to release to QA and PRD. Ready to merge from Devops perspective.
@taylordm @jharenza @chinwallaa @komalsrathi @jonkiky @blackdenc - This PR will be merged soon without any comprehensive code and results review, so that @blackdenc can update development/deployment environment to be more stable, i.e. less likely to be down, and new PRs can be deployed properly. This will greatly speed up the following API developments.
However, this PR can still be reviewed. If you have any questions, suggestions, and comments, feel free to leave comments and reviews in this PR. I will revise accordingly.
Pull Request Template
Description
This PR is an update of https://github.com/PediatricOpenTargets/OpenPedCan-api/pull/11, in order to deploy the PR changes on
dev
server at https://openpedcan-api-dev.d3b.io/__docs__/. Thedev
server only deploys PRs from the mainPediatricOpenTargets/OpenPedCan-api
repository.Implemented the HTTP
GET
methods of/tpm/gene-disease-gtex/plot
and/tpm/gene-disease-gtex/plot
endpoints. These two endpoints handle HTTP requests for OpenPedCan-analysiscancer_group
andgtex_subgroup
boxplot and summary table, according to the API specifications in https://nih.box.com/s/5cq2jwi6bhg0mgnowad3e6e4i60hwbnr.When a new version of OpenPedCan-api server is deployed, all genes and all samples are included, and specific numbers are listed below, which take 7.5 GB memory constantly. Each HTTP request is handled sequentially, with an extra ~0.3GB memory used temporarily. The dev server has 10GB memory limit.
The
/tpm/gene-all-cancer/json
and/tpm/gene-all-cancer/plot
endpoints are placeholders, which will be implemented next. More development action items are described in the "API Development roadmap" section ofREADME.md
.Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
For more details on test options and resources, see "Test run
OpenPedCan-api
server locally" section of README.md.Terminal returns:
Note for reviewers
This PR may not need to be converted to multiple stepwise PRs, because all files are required for test running this PR.
There are also only 915 lines of implementation code, and nearly half of them are comments and assertions.
Checklist