Skip to content

DEV - Switch reference genome to hg38 for raredisease#4871

Draft
diitaz93 wants to merge 38 commits intomasterfrom
dev-rd-hg38
Draft

DEV - Switch reference genome to hg38 for raredisease#4871
diitaz93 wants to merge 38 commits intomasterfrom
dev-rd-hg38

Conversation

@diitaz93
Copy link
Copy Markdown
Contributor

@diitaz93 diitaz93 commented Feb 4, 2026

Description

Servers PR: https://github.com/Clinical-Genomics/servers/pull/1802

Added

Changed

Fixed

How to prepare for test

  • Ssh to relevant server (depending on type of change)
  • Use stage: us
  • Paxa the environment: paxa
  • Install on stage (example for Hasta):
    bash /home/proj/production/servers/resources/hasta.scilifelab.se/update-tool-stage.sh -e S_cg -t cg -b dev-rd-hg38 -a

How to test

  • Do ...

Expected test outcome

  • Check that ...
  • Take a screenshot and attach or copy/paste the output.

Review

  • Tests executed by
  • "Merge and deploy" approved by
    Thanks for filling in who performed the code review and the test!

This version is a

  • MAJOR - when you make incompatible API changes
  • MINOR - when you add functionality in a backwards compatible manner
  • PATCH - when you make backwards compatible bug fixes or documentation/instructions

Implementation Plan

  • Document in ...
  • Deploy this branch on ...
  • Inform to ...

islean and others added 26 commits February 4, 2026 13:14
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>
(Workflow.BALSAMIC, "scout_api_37"),
(Workflow.BALSAMIC_UMI, "scout_api_37"),
(Workflow.MIP_DNA, "scout_api_37"),
(Workflow.MIP_RNA, "scout_api_37"),
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unsure

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe RNA pipelines don't belong to this parametrisation because they don't use this command, I will investigate

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

possibly remove RNA pipelines from this parametrisation

Copy link
Copy Markdown
Contributor Author

@diitaz93 diitaz93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RIP genotype 🪦 Looks good! I can't approve my own PR. I am confused when RNA has HG19 and when HG38

@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants