aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2024-01-23Add prefix to redis keys...Since the GNQC application might find itself sharing the same redis server and/or database with other applications, add a prefix to its keys. Frederick Muriuki Muriithi
2024-01-23Tests: Use prefixes in tests rather than starting redis server...It's easier, and more robust to put the data under a prefix within a redis database rather than try to run a redis server, especially within the test environment. This commit updates the tests to use a redis prefix instead. Frederick Muriuki Muriithi
2024-01-22UI: Fix some UI bugs.Frederick Muriuki Muriithi
2024-01-22scripts: Pass in logger to get detailed updates.Frederick Muriuki Muriithi
2024-01-22UI: Show progress of R/qtl2 bundle processing.Frederick Muriuki Muriithi
2024-01-20Fetch sample/case names from database...Fetch the sample/case names from the database rather than from a static file in the repository. Issue: https://issues.genenetwork.org/issues/quality-control/read-samples-from-database-by-species Frederick Muriuki Muriithi
2024-01-19scripts: Process R/qtl2 bundle...Build script to start the processing of the R/qtl2 bundle. Frederick Muriuki Muriithi
2024-01-19UI: Present entry point for R/qtl2 bundles upload.Frederick Muriuki Muriithi
2024-01-18UI: Display summary information.Frederick Muriuki Muriithi
2024-01-18UI: Create new ProbeSet dataset.Frederick Muriuki Muriithi
2024-01-18UI: Select from existing ProbeSet datasets.Frederick Muriuki Muriithi
2024-01-18Create new ProbeSet study.Frederick Muriuki Muriithi
2024-01-17UI: Select ProbeSet study.Frederick Muriuki Muriithi
2024-01-17UI: Implement creating new genotype datasets.Frederick Muriuki Muriithi
2024-01-17UI: Initialise summary page.Frederick Muriuki Muriithi
2024-01-17Enable selecting from existing genotype datasets.Frederick Muriuki Muriithi
2024-01-17Update flash-messages' categories.Frederick Muriuki Muriithi
2024-01-16UI: Create UI for creating a new Genotype dataset.Frederick Muriuki Muriithi
2024-01-16UI: Create UI to select from existing genotype datasets.Frederick Muriuki Muriithi
2024-01-16Create intermediate step...We do not have the option to modify the request and then redirect with the modification in place. To go around that, this commit creates an intermediate step that informs the user of their progress, while allowing us to store the filename for future steps. Frederick Muriuki Muriithi
2024-01-16Build a sha512 hash from the uploaded file's name and timestamp...Build a sha512 message digest from the file's name and the timestamp of when the file was uploaded. This ensures that the filename is URL-safe, and reduces chances of name conflicts in the upload directory which could lead to data corruption when processing the files and saving the files into the database. Frederick Muriuki Muriithi
2024-01-16Filter out items with values of `None`....The ProbeSetData table does not allow `NULL` for the `value` column for good reason - if there is no value, just don't have a record for that particular sample. Frederick Muriuki Muriithi
2024-01-16Provide defaults for various control variables...`na.strings` has a default value of "NA" as stated in https://kbroman.org/qtl2/assets/vignettes/input_files.html#CSV_files quote: > Missing value codes will be specified in the control file (as > na.strings, with default value "NA") and will apply across all > files, so a missing value code for one file cannot be an allowed > value in another file. for `comment.char` > The CSV files can include a header with a set of comment lines > initiated by a value specified in the control file as comment.char > (with default value "#"). for `sep`: The default separator is expected to be the comma, as stated in https://kbroman.org/qtl2/assets/vignettes/input_files.html#field-separator quote: > If the data files use a separator other than a comma ... Frederick Muriuki Muriithi
2024-01-15Update imports: `take` was moved to different package.Frederick Muriuki Muriithi
2024-01-15Process `na.strings` even for default cases...There was a bug where the `na.strings` were not processed correctly if the user called the `r_qtl.r_qtl2.file_data(...)` function without explicitly providing the `process_*` arguments. This commit fixes that. Frederick Muriuki Muriithi
2024-01-15Extract common functional tools to separate package.Frederick Muriuki Muriithi
2024-01-15Process the `pheno` files....Process the data in the pheno files and insert it into the database. Frederick Muriuki Muriithi
2024-01-15Initialise `install_phenos` script.Frederick Muriuki Muriithi
2024-01-15Extract common structure into separate modules.Frederick Muriuki Muriithi
2024-01-11Update pmap data in the database.Frederick Muriuki Muriithi
2024-01-11Update gmap data in the database...Update the genetic positions (in centiMorgans) in the database. Frederick Muriuki Muriithi
2024-01-11Cleanup linting and typing errors.Frederick Muriuki Muriithi
2024-01-11CLI: Require datasetid as an argument.Frederick Muriuki Muriithi
2024-01-10Provide convenience functions to avoid subtle call errorsFrederick Muriuki Muriithi
2024-01-10Cross-reference genotype data to the dataset.Frederick Muriuki Muriithi
2024-01-10Insert genotype data.Frederick Muriuki Muriithi
2024-01-10Cross-reference individuals to populations.Frederick Muriuki Muriithi
2024-01-10Insert any new individuals/samples into the database.Frederick Muriuki Muriithi
2024-01-10Insert any new markers...Insert any new markers found into the database. Frederick Muriuki Muriithi
2024-01-10Make identifier column name explicit...Since the R/qtl2 bundle generator could name the identifier column anything, this commit converts the incoming identifier column name into something explicit that we know and can use. Frederick Muriuki Muriithi
2024-01-09WIP: Install genotypes from R/qtl2 bundle...Load the genotype information from the R/qtl2 bundle and insert it into the database. Frederick Muriuki Muriithi
2024-01-09Raise exception on reading non-existing file...The validation checks ensure that whatever files are listed in the control file exist in the zip file bundle. It is still possible, however, that the code tries to read a file that does not exist in the file and is not listed in the control file. In those cases, raise the appropriate exception. Frederick Muriuki Muriithi
2024-01-09Fix linting errorsFrederick Muriuki Muriithi
2024-01-09scripts: Log to redis...Add a logger that will log output to a redis list. This will be useful to retrieve the output(s) of the running script to help display some form of progress to the user. Frederick Muriuki Muriithi
2024-01-08Add channel authorization.Frederick Muriuki Muriithi
2024-01-08Fix errors with types.Frederick Muriuki Muriithi
2024-01-08Upload R/qtl2 zip bundle and check for errors.Frederick Muriuki Muriithi
2024-01-08Implement "create-population" route.Frederick Muriuki Muriithi
2024-01-08Implement "POST" path for "select-population" route.Frederick Muriuki Muriithi
2024-01-08Use extracted functions and fix bugsFrederick Muriuki Muriithi