Age | Commit message (Expand) | Author |
2021-07-22 | Check that child distance from itself is zero...Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi
* gn3/computations/slink.py: Check that a child's distance from itself is
zero. If not, throw an exception.
The children lists are a list of distances of "something" from other
"somethings". There is still some need to establish what those "somethings"
are, so that the test names can reflect the ideas that are actually being
tested for.
* tests/unit/computations/test_slink.py: Change the name of the test so that
it more closely corresponds to the business logic it is actually testing,
and not the mechanics of testing the idea.
| Muriithi Frederick Muriuki |
2021-07-21 | Extract tests from code in GN1...Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi
* gn3/computations/slink.py: Add dummy `nearest' function
* tests/unit/computations/test_slink.py: Add some tests
This commit adds tests to try and reproduce the working of the `nearest'
function in:
https://github.com/genenetwork/genenetwork1/blob/master/web/webqtl/heatmap/slink.py
This commit might not yet have extracted all the expected behaviour of the
`nearest' function, and therefore, there is a possibility of a later commit
augmenting the work in this commit.
| Muriithi Frederick Muriuki |
2021-07-20 | Add test for code to move over from GN1...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.
| Muriithi Frederick Muriuki |
2021-06-29 | Add a diffing function...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 ☝🏾.
| BonfaceKilz |
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 filen... | zsloan |
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...* gn3/computations/parsers.py (parse_genofile): New procedure.
* tests/unit/computations/test_parsers.py: New test files for above.
| BonfaceKilz |
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...- 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 | Alexander Kabui |
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...modify unittest and integration tests for datasets
| Alexander Kabui |
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)...* 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> | Alexander Kabui |
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...Began using elpy's format code fn
| BonfaceKilz |
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 |