-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tool compatibility check to datasets #5280
Conversation
…fferent genotyping protocols and split results by traits. Store as JSON in database
…dataset details page. Added button to calculate compatibility if not already stored.
…clude warning tooltips
… calculation to not use genotype search
…nctions. Datasets now have tool compatibility auto calculated on creation. Remove debug comments.
This is an excellent informative feature. Suggestions for the next iteration:
|
Ok, I will get to implementing these and adding them to the pull request. I do have a few questions for clarification though:
|
For the default genotyping protocol, you can access the env variable: default_genotyping_protocol (sgn_local.conf). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
more POD could be added for the different new functions. Not sure why the seedlot tests don't pass...
:-)
Description
Adds functions to predict the tool compatibility of a dataset based on dataset definition and the help page of the tool. Tools are reported as compatible if they have sufficient trials, phenotype measurements, genotypes, and locations to meet all the requirements of a tool. Tool compatibility is calculated on dataset creation and is displayed on the dataset details page. The page reports the tools which can and cannot be used with this dataset, traits that can be analyzed, and warns the user if sample sizes are low. Compatibility can be manually recalculated if genotypes or phenotype measurements are added to a trial after dataset creation. Tool compatibility is stored as a JSON in dataset definition. A future pull request will make it so that tools check dataset compatibility and only display compatible datasets in the data selection screen.
#5174
Checklist
/t/data/fixture/patches/
./docs
has been updated./js
to/js/source/legacy
.