aboutsummaryrefslogtreecommitdiff
path: root/gn3/computations
AgeCommit message (Collapse)Author
2021-05-03add trait_id fix mypy issuesAlexander Kabui
2021-05-03minor fixes for tiss correlation tests and namingAlexander Kabui
2021-05-03replace database with connAlexander Kabui
2021-05-02delete dataset and trait filesAlexander Kabui
2021-04-20pep8 formattingAlexander Kabui
2021-04-20add experiment function for computing tissue correlation using multiprocessingAlexander Kabui
2021-04-18refactor:return trait_name in corr_resultsAlexander Kabui
2021-04-17ad pep8 formattingAlexander Kabui
2021-04-17add sort for correlation resultsAlexander Kabui
refactor return data type for tissue and lit
2021-04-16add benchmark function for sample rAlexander Kabui
2021-04-16benchmark normal function for sample rAlexander Kabui
2021-04-15optimization for sample correlationAlexander Kabui
2021-04-15test endpoint for fetching probeset data typesAlexander Kabui
2021-04-12fix merge conflictAlexander Kabui
2021-04-12Integrate correlation APIAlexander Kabui
- add new api for gn2-gn3 sample r integration - delete map for sample list to values - add db util file - add python msql-client dependency - add db for fetching lit correlation results - add unittests for db utils - add tests for db_utils - modify api for fetching lit correlation results - refactor Mock Database Connector and unittests - add sql url parser - add SQL URI env variable - refactor code for db utils - modify return data for lit correlation - refactor tissue correlation endpoint - replace db_instance with conn
2021-04-06fix DocstringsAlexander Kabui
2021-04-06delete unnecessary functions and commentsAlexander Kabui
2021-04-05fix for fetching dataset traits dataAlexander Kabui
2021-04-04refactor code for trait dataAlexander Kabui
modify unittest and integration tests for datasets
2021-04-03add tests for getting trait dataAlexander Kabui
2021-03-31add mysqlclient in guixAlexander Kabui
add env variable for GN2_URL
2021-03-31add datasets functions and endpointsAlexander Kabui
2021-03-30refactor retrieve trait sample data and testsAlexander Kabui
2021-03-30modify getting sample data from dbAlexander Kabui
2021-03-30initial commit for creating datasetAlexander Kabui
2021-03-30initial commit for creating trait and datasetsAlexander Kabui
2021-03-23Re-add mypy conf fileBonfaceKilz
Deleted in 56ce88a
2021-03-17gn3: computations: correlations: Apply autopep-8.BonfaceKilz
2021-03-16Refactor/clean up correlations (#4)Alexander Kabui
* initial commit for Refactor/clean-up-correlation * add python scipy dependency * initial commit for sample correlation * initial commit for sample correlation endpoint * initial commit for integration and unittest * initial commit for registering correlation blueprint * add and modify unittest and integration tests for correlation * Add compute compute_all_sample_corr method for correlation * add scipy to requirement txt file * add tissue correlation for trait list * add unittest for tissue correlation * add lit correlation for trait list * add unittests for lit correlation for trait list * modify lit correlarion for trait list * add unittests for lit correlation for trait list * add correlation metho in dynamic url * add file format for expected structure input while doing sample correlation * modify input data structure -> add trait id * update tests for sample r correlation * add compute all lit correlation method * add endpoint for computing lit_corr * add unit and integration tests for computing lit corr * add /api/correlation/tissue_corr/{corr_method} endpoint for tissue correlation * add unittest and integration tests for tissue correlation Co-authored-by: BonfaceKilz <bonfacemunyoki@gmail.com>
2021-03-10Fix k-compute command when "loco" is trueBonfaceKilz
2021-03-08Remove unused importsBonfaceKilz
2021-03-08Delete "generate_gemma_computation_cmd"BonfaceKilz
2021-03-08Add generic fn for computing k and gwa valuesBonfaceKilz
2021-03-08Apply pep-8 formattingBonfaceKilz
Began using elpy's format code fn
2021-03-08Move "generate_random_n_string" to file_utilsBonfaceKilz
* gn3/computations/gemma.py (generaten_random_n_string): Move to... * gn3/file_utils.py: ... here.
2021-03-08Fix failing testsBonfaceKilz
2021-02-24Create a new helper function for generating k_values and GWABonfaceKilz
2021-02-24Add procedure that checks whether a list of paths existBonfaceKilz
2021-02-24Check if phenotype exists before creating oneBonfaceKilz
2021-02-24Add new procedure that computes the hash of an array of stringsBonfaceKilz
2021-02-24Add mypy-typing to functionBonfaceKilz
* gn3/computations/gemma.py (generate_random_n_string): Add typing to function.
2021-02-24Append random 6 chars to generated phenotype fileBonfaceKilz
2021-02-24Create a new method for generating a valid phenotype file on the flyBonfaceKilz