DEV - Switch reference genome to hg38 for raredisease#4871
Draft
DEV - Switch reference genome to hg38 for raredisease#4871
Conversation
dnil
reviewed
Feb 4, 2026
dnil
reviewed
Feb 4, 2026
Co-authored-by: Daniel Nilsson <daniel.k.nilsson@gmail.com>
change raredisease genome version for bed version fetch to hg38 --------- Co-authored-by: kedhammar <alfred.kedhammar@scilifelab.se>
Use Scout38 in the ConfiguratorFactory for the creation of managed_variants and gene_panel files for raredisease --------- Co-authored-by: Rasmus Burge <80392398+RasmusBurge-CG@users.noreply.github.com> Co-authored-by: Sebastian Diaz <juan.sebastian.diaz.boada@scilifelab.se> Co-authored-by: kedhammar <alfred.kedhammar@scilifelab.se>
* use scout_api_38 for rd * WIP * coverage for create scout config * make raredisease get scout 38 for upload * parametrize test checking scout instance per workflow * WIP integration test * fix faulty imports * wip * Remove integration test - will be done in another PR * Add todo * More TODOs * Change rd scout link in delivery report template and add test assertion * wip * fix todo, parametrize get_scout_api * fix todo * WIP * Instantiation complete * fix test * remove unused kwargs --------- Co-authored-by: Rasmus Burge <80392398+RasmusBurge-CG@users.noreply.github.com> Co-authored-by: Sebastian Diaz <juan.sebastian.diaz.boada@scilifelab.se> Co-authored-by: islean <isak.ohlsson.angnell@gmail.com> Co-authored-by: Linnéa Löfdahl <linnea.lofdahl@scilifelab.se>
* wip * Start writing test * Golden green state * parametrize * fix type hint * adress comments --------- Co-authored-by: kedhammar <alfred.kedhammar@scilifelab.se> Co-authored-by: islean <isak.ohlsson.angnell@gmail.com>
* added rd to parametrization, passing * expand fixtures * generalize, still can't generalize nallo_case fixture * simplify test * try using string templates for the message fixtures * use format strings instead of string.Template
* WIP * Finish implementation minus instantiation * Loose end: Fix instantiations of RarediseaseParamsFileCreator missing config and failing tests (#4904) * fix instantiations and failing tests * fix faulty import path, now only the tests for the implementation should be failing * Golden green * Golden green * WIP * golden green renaming * added new test, red state * Golden green * Raredisease classes * Rename raredisease_params_file_creator add to cg-test.yaml --------- Co-authored-by: islean <isak.ohlsson.angnell@gmail.com> Co-authored-by: Alfred Kedhammar <89784800+kedhammar@users.noreply.github.com> Co-authored-by: Linnéa Löfdahl <linnea.lofdahl@scilifelab.se> Co-authored-by: kedhammar <alfred.kedhammar@scilifelab.se>
Add germlinecnv-caller configs --------- Co-authored-by: islean <isak.ohlsson.angnell@gmail.com> Co-authored-by: Linnéa Löfdahl <linnea.lofdahl@scilifelab.se>
Closes: Clinical-Genomics/RD-hg38#10 Prefix target_bed with references directory, default bed when missing in LIMS --------- Co-authored-by: Rasmus Burge <80392398+RasmusBurge-CG@users.noreply.github.com>
Rename mutacc commands and add --genome-version flag to specify version of mutacc --------- Co-authored-by: islean <isak.ohlsson.angnell@gmail.com> Co-authored-by: Linnéa Löfdahl <linnea.lofdahl@scilifelab.se>
* WIP * Remove MAF case creation * Starting to remove genotype * Removed upload in GenotypeAPI * Started removing upload func in UploadGenotypesAPI * Remove the last genotype API * Update READMEs, remove unused fixtures * Update vulture whitelist --------- Co-authored-by: Linnéa Löfdahl <linnea.lofdahl@scilifelab.se>
* [hg38] Update RNA uploads * Add TODO * add tests checking genome build against scout build and remove duplicate test * golden * use sets * WIP * task failed successfully * Refactor test * Update tests * WIP * SILVER - GOLDEN --------- Co-authored-by: islean <isak.ohlsson.angnell@gmail.com> Co-authored-by: kedhammar <alfred.kedhammar@scilifelab.se> Co-authored-by: Isak Ohlsson Ångnell <40887124+islean@users.noreply.github.com> Co-authored-by: Linnéa Löfdahl <linnea.lofdahl@scilifelab.se>
diitaz93
commented
Mar 13, 2026
diitaz93
commented
Mar 13, 2026
diitaz93
commented
Mar 13, 2026
diitaz93
commented
Mar 13, 2026
diitaz93
commented
Mar 13, 2026
cg/services/analysis_starter/configurator/file_creators/nextflow/utils.py
Show resolved
Hide resolved
diitaz93
commented
Mar 13, 2026
diitaz93
commented
Mar 13, 2026
diitaz93
commented
Mar 13, 2026
diitaz93
commented
Mar 13, 2026
| (Workflow.BALSAMIC, "scout_api_37"), | ||
| (Workflow.BALSAMIC_UMI, "scout_api_37"), | ||
| (Workflow.MIP_DNA, "scout_api_37"), | ||
| (Workflow.MIP_RNA, "scout_api_37"), |
Contributor
Author
There was a problem hiding this comment.
Maybe RNA pipelines don't belong to this parametrisation because they don't use this command, I will investigate
Contributor
Author
There was a problem hiding this comment.
possibly remove RNA pipelines from this parametrisation
diitaz93
commented
Mar 13, 2026
diitaz93
commented
Mar 13, 2026
tests/services/analysis_starter/file_creators/test_gene_panel_file_creator.py
Show resolved
Hide resolved
diitaz93
commented
Mar 13, 2026
Contributor
Author
diitaz93
left a comment
There was a problem hiding this comment.
RIP genotype 🪦 Looks good! I can't approve my own PR. I am confused when RNA has HG19 and when HG38
### Changed - skip_germlinecnvcaller reworked into skip_tools
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Servers PR: https://github.com/Clinical-Genomics/servers/pull/1802
Added
Changed
Fixed
How to prepare for test
uspaxaHow to test
Expected test outcome
Review
Thanks for filling in who performed the code review and the test!
This version is a
Implementation Plan