From a5bab0def8e3642611b08fdae81c97ce6e726b1a Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 15 Oct 2021 16:30:44 +0300 Subject: Update issue with data/info flow * Document the flow of data/information through the system to the point where we get the partial correlations results. This should help with future tracing of the implementation details, and in extracting the implementation details to help with the migration of the feature to GN3/GN2 --- topics/gn1-migration-to-gn2/partial-correlations.gmi | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'topics') diff --git a/topics/gn1-migration-to-gn2/partial-correlations.gmi b/topics/gn1-migration-to-gn2/partial-correlations.gmi index f6c103d..a5593a8 100644 --- a/topics/gn1-migration-to-gn2/partial-correlations.gmi +++ b/topics/gn1-migration-to-gn2/partial-correlations.gmi @@ -58,9 +58,24 @@ There is no indication,on the UI, of the difference between the **Pearson's r** The user can also select the total number of results to return -#### Possible Correlation Errors +##### Possible Correlation Errors * Tissue Correlation Error * Literature Correlation Error Maybe there is even a **Genetic Correlation Error**, but I am yet to run into it - I am simply extrapolating from my exploration with the existing system. + +#### Code Exploration + +These are some of the (possibly) relevant files in GN1 unearthed so far: + +* /web/webqtl/main.py: Entry-point -> goes to SearchResultPage then the ShowTraitPage/Collections page +* /web/webqtl/correlation/PartialCorrInputPage.py: from collections on clicking "Partial" +* /web/webqtl/cmdLine/cmdPartialCorrelationPage.py: from PartialCorrInputPage on clicking "Calculate" in the form in the second half of the page +* /web/webqtl/correlation/PartialCorrTraitPage.py: from PartialCorrInputPage on clicking "Pearson's r" or "Spearman's rho" buttons in the first half of the page +* /web/webqtl/correlation/PartialCorrDBPage.py: from cmdPartialCorrelationPage: form data is saved to file and used via CLI to compute the correlations - This seems to be the results page + +The relevant javascript files used on GN1 are: + +* webqtl.js: see `databaseFunc` and `validateTrait` functions +* jqueryFunction.js: see `validateTraitNumber` function -- cgit v1.2.3