Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-07-20 | Add test for code to move over from GN1 | Muriithi Frederick Muriuki | |
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi * .gitignore: ignore emacs temporary files * gn3/computations/correlations2.py: add a dummy function * tests/unit/computations/test_correlation.py: add unit tests for the function As part of the move of the clustering and heatmap code over from GN1 to GN3, this commit begins by providing some unit tests for the correlation function used to ensure that the implementation that is built up here corresponds, and produces the same results as the original. This tests and the function might change in the new system, but for now, we try and maintain bug-to-bug compatibility. | |||
2021-06-29 | Add a diffing function | BonfaceKilz | |
For now the diff function uses the Linux tool "diff" to generate the diff since it is efficient and straightforward. * gn3/computations/diff.py (generate_diff): New function. * tests/unit/computations/test_diff.py: Test cases for ☝🏾. | |||
2021-06-20 | merge main | Alexander Kabui | |
2021-06-20 | make requested changes to biweight | Alexander Kabui | |
2021-06-18 | Fixed another error where test_generate_rqtl_command didn't include the ↵ | zsloan | |
filename argument (not sure why running unit tests locally doesn't detect this) | |||
2021-06-18 | Fixed file type from json to csv for test_generate_rqtl_command | zsloan | |
2021-06-18 | Fixed test_rqtl.py to include Rscript in the command | zsloan | |
2021-06-18 | fix index error (#16) | Alexander Kabui | |
2021-06-14 | add biweight r script and tests | Alexander Kabui | |
2021-05-30 | fix index error (#16) | Alexander Kabui | |
2021-05-18 | Added unit test for computations/rqtl.py | zsloan | |
2021-05-15 | index lit tuple result | Alexander Kabui | |
2021-05-12 | delete unused functions | Alexander Kabui | |
2021-05-12 | rename lit_correlation_for_trait_list to lit_correlation_for_trait | Alexander Kabui | |
2021-05-12 | rename tissue_correlation_for_trait_list with tissue_correlation_for_trait | Alexander Kabui | |
2021-05-12 | rename p_val ro tissue_p_value for tissue_results | Alexander Kabui | |
2021-05-08 | Fix typo | BonfaceKilz | |
2021-05-08 | Add extra procedure for parsing a genotype file | BonfaceKilz | |
* gn3/computations/parsers.py (parse_genofile): New procedure. * tests/unit/computations/test_parsers.py: New test files for above. | |||
2021-05-03 | minor fixes for tiss correlation tests and naming | Alexander Kabui | |
2021-05-03 | replace database with conn | Alexander Kabui | |
2021-05-02 | delete dataset and trait files | Alexander Kabui | |
2021-04-18 | refactor:return trait_name in corr_results | Alexander Kabui | |
2021-04-17 | ad pep8 formatting | Alexander Kabui | |
2021-04-17 | refactor tests for lit | Alexander Kabui | |
2021-04-15 | optimization for sample correlation | Alexander Kabui | |
2021-04-12 | fix tests for lit correlation | Alexander Kabui | |
2021-04-12 | fix merge conflict | Alexander Kabui | |
2021-04-12 | Integrate correlation API | Alexander 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-06 | fix Docstrings | Alexander Kabui | |
2021-04-06 | delete unnecessary functions and comments | Alexander Kabui | |
2021-04-05 | fix for fetching dataset traits data | Alexander Kabui | |
2021-04-04 | refactor code for trait data | Alexander Kabui | |
modify unittest and integration tests for datasets | |||
2021-04-03 | add tests for getting trait data | Alexander Kabui | |
2021-03-31 | add fetch dataset strain id,strain name and unittests | Alexander Kabui | |
2021-03-31 | add datasets functions and endpoints | Alexander Kabui | |
2021-03-30 | refactor retrieve trait sample data and tests | Alexander Kabui | |
2021-03-30 | modify getting sample data from db | Alexander Kabui | |
2021-03-30 | initial commit for creating dataset | Alexander Kabui | |
2021-03-30 | initial commit for creating trait and datasets | Alexander Kabui | |
2021-03-16 | Refactor/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-10 | Fix k-compute command when "loco" is true | BonfaceKilz | |
2021-03-08 | Delete "generate_gemma_computation_cmd" | BonfaceKilz | |
2021-03-08 | Replace "compute_k_values" with "generate_gemma_cmd" | BonfaceKilz | |
2021-03-08 | Add generic fn for computing k and gwa values | BonfaceKilz | |
2021-03-08 | Apply pep-8 formatting | BonfaceKilz | |
Began using elpy's format code fn | |||
2021-03-08 | Fix failing tests | BonfaceKilz | |
2021-02-24 | Create a new helper function for generating k_values and GWA | BonfaceKilz | |
2021-02-24 | Add new procedure that computes the hash of an array of strings | BonfaceKilz | |
2021-02-24 | Create a new method for generating a valid phenotype file on the fly | BonfaceKilz | |