aboutsummaryrefslogtreecommitdiff
path: root/scripts/rqtl2
AgeCommit message (Collapse)Author
14 daysRefactor `qc_pheno_file` and reuse it for different file types.Frederick Muriuki Muriithi
The QC/QA steps taken by the `qc_pheno_file` function are very similar across the "pheno", "phenose" and "phenonum" files. This commit makes the `qc_pheno_file` function a higher-order function and we pass the file-type specific check(s) as a callable (function) to be used for the QC/QA process.
14 daysCheck for errors in `pheno` files.Frederick Muriuki Muriithi
2024-10-21Check `phenocovar` files for errors.Frederick Muriuki Muriithi
2024-10-17Cleanup: Delete all extracted files after processing.Frederick Muriuki Muriithi
2024-10-17Leave TODO notes for what needs to be done.Frederick Muriuki Muriithi
2024-10-17Fetch samples from databaseFrederick Muriuki Muriithi
Fetch the samples from the database. These will be used to verify that the samples in the phenotype files already exist in the database and are valid.
2024-10-17Undo transpose for any transposed filesFrederick Muriuki Muriithi
To reduce the complexity involved in the processing of the files, we undo any transposition of the CSV files for those files that are marked as transposed.
2024-10-17Pass new arguments to QC function.Frederick Muriuki Muriithi
2024-10-17Add `speciesid` and `populationid` arguments to the script.Frederick Muriuki Muriithi
2024-10-17Add the working directory argument to the script.Frederick Muriuki Muriithi
Add a `--working-dir` argument to allow passing a directory where the script process the files within. If not provided, it defaults to a directory within the systems temporary directory.
2024-10-17Extract the R/qtl2 bundle for processing.Frederick Muriuki Muriithi
To enable processing of the files individually, this commit will enable the extraction of the files into a known working directory in which all further processing will take place.
2024-10-17Extract common functions.Frederick Muriuki Muriithi
2024-10-14Initialise background script for running QC on phenotype bundles.Frederick Muriuki Muriithi
2024-10-14BugFix: Use provided prefixFrederick Muriuki Muriithi
Use the provided prefix rather than calling `jobs.jobsnamespace()` function that depends of an app context existing.
2024-10-14Make addition of arguments independent of each other.Frederick Muriuki Muriithi
2024-08-16Log out correct parameters.Frederick Muriuki Muriithi
2024-08-13Bug: cross reference with NULL cM when "gmap" file is absentFrederick Muriuki Muriithi
The "gmap" file might not exist in some bundles. In those instances, cross-reference the data without including the genotypes' physical positions (cM).
2024-08-08Fix bugs and pass in logger to functions.Frederick Muriuki Muriithi
2024-08-06Pass logger on to inner functionsFrederick Muriuki Muriithi
Pass the logger forward to inner functions to help with debugging things.
2024-07-25Rename module: qc_app --> uploaderFrederick Muriuki Muriithi
2024-07-05bug: Return a hashable key, not a dict.Frederick Muriuki Muriithi
2024-07-02Call correct method.Frederick Muriuki Muriithi
2024-07-02Ensure no duplicated values for the query.Frederick Muriuki Muriithi
2024-04-03Reduce size of data inserted per queryFrederick Muriuki Muriithi
Reduce the size of data inserted per query since MariDB allows a packet with a maximum size of 1GB. This should hopefully resolve the …OperationalError: (2006, 'Server has gone away') error.
2024-02-15Filter out NULL valuesFrederick Muriuki Muriithi
2024-02-05Fix linting and type errors.Frederick Muriuki Muriithi
2024-01-23Update scripts to use redis prefix.Frederick Muriuki Muriithi
2024-01-22scripts: Pass in logger to get detailed updates.Frederick Muriuki Muriithi
2024-01-19scripts: Process R/qtl2 bundleFrederick Muriuki Muriithi
Build script to start the processing of the R/qtl2 bundle.
2024-01-16Filter out items with values of `None`.Frederick Muriuki Muriithi
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.
2024-01-15Update imports: `take` was moved to different package.Frederick Muriuki Muriithi
2024-01-15Process the `pheno` files.Frederick Muriuki Muriithi
Process the data in the pheno files and insert it into the database.
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 databaseFrederick Muriuki Muriithi
Update the genetic positions (in centiMorgans) in the database.
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 markersFrederick Muriuki Muriithi
Insert any new markers found into the database.
2024-01-09WIP: Install genotypes from R/qtl2 bundleFrederick Muriuki Muriithi
Load the genotype information from the R/qtl2 bundle and insert it into the database.