You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a bioinformatics pipeline developer,
I want rank models to be accessed by Scout in the same way for all non-legacy and future pipelines that uses rank models,
So that development and updates become easier for pipeline devs.
Work impact
Answer the following questions:
Is there currently a workaround for this issue? If so, what is it?
Bioinformaticians diving into cg and scout codebase
How much time would be saved by implementing this feature on a weekly basis?
.5 headaches
How many users are affected by this issue?
Pipeline developers for pipelines using rank models
Are customers affected by this issue?
Yes, Nallo cases are currently shown in Scout with a different rank model leading to missing minimum and maximum values and rule explanations. This is because there is was no clear documentation (at least in my opinion) on how rank model submissions were handled before Fix #5186 - add rank_model_url to case load model scout#6090 in neither Scout, Atlas or Servers.
Acceptance Criteria
Paths to rank models for SNVs and SVs is set by the cg config.
SNV and SV rank models are copied to the case analysis directory on config-case so we know which models were used for a specific case.
SNV and SV rank models are stored in the HK bundle on store.
SNV and SV rank models are uploaded to Scout from the files stored in the HK bundle
Rank model versions are parsed from versions within the HK bundle file, not the filename. (Could later consider if this should be the responsibility of cg or Scout)
There exists documentation on how the upload of Rank models to Scout works.
Notes
Additional information:
The current implementation for Raredisease:
Differs from the implementation for Nallo, creating ambiguity which may lead to errors if a developer assumes they are handled the same.
Parses the rank models from the params file which contains paths to the reference directory. A limitation of this is that if you update the rank model file in the reference directory while there are analyses running, the case will be uploaded with a different rank model than what it was run with. The customers may then benchmark the results of the rank model with the wrong assumptions.
Hardcodes the keys used for parsing the SNV and SV rank models from the params file within cg, creating more dependencies for the pipeline.
There is no documentation for the limitations above that I can find. Who is responsible for maintaining that? Is the bioinformatics developer tasked with updating the rank model expected to know in detail how the cg code works? Happy to discuss how this should be handled.
As a bioinformatics pipeline developer,
I want rank models to be accessed by Scout in the same way for all non-legacy and future pipelines that uses rank models,
So that development and updates become easier for pipeline devs.
Work impact
Answer the following questions:
Acceptance Criteria
config-caseso we know which models were used for a specific case.store.Notes
Additional information:
Related user stories:
rank_model_urls to Scout load config #4940cg/cg/resources/*_bundle_filenames.yamlto another repo #4777 (comment) that is currently hardcoded to the reference directory in e.g. https://github.com/Clinical-Genomics/servers/blob/4a7de21589aa2cfc783e9b2b7d0efab1c59833ab/config/hasta.scilifelab.se/pipeline_deliverables/raredisease/raredisease_deliverables_stage.yaml#L168.