Skip to content
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

Bug raredisease delivery report tags #4200

Merged
merged 16 commits into from
Feb 20, 2025
Merged

Conversation

peterpru
Copy link
Member

@peterpru peterpru commented Feb 12, 2025

Description

There is a mismatch between old mip-dna tags and new raredisease tags when generating the upload report. cg is looking for snv_vcf and sv_vcf housekeeper tags, while the new tags are different. Furthermore, we need an exact match, as tags are shared between files, the difference in file recognition being other tags that accompany the file as well.

In the screen shot below you see only two files mentioned while it should be 4. Furthermore one of the files is a sample files, not the case file.
image

This does not affect what is uploaded to scout, or what is stored in housekeeper, this only affects the mentioning of the file names in the delivery report html file.

For the reviewer: the solution in this PR is to do exact matching of all tags accompanying a file.

Added

Changed

Fixed

  • missing file names in raredisease delivery report.

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 bug-fix-raredisease-delivery-tags

How to test

  • Do cg generate delivery-report amusingmarmoset

Expected test outcome

  • cg generate delivery-report amusingmarmoset should complete without error
image
  • Check that all four correct files are now mentioned in the delivery report
  • Take a screenshot and attach or copy/paste the output.
image

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 ...

@peterpru peterpru added the raredisease Issues related to nextflow raredisease pipeline label Feb 12, 2025
@peterpru peterpru self-assigned this Feb 12, 2025
@peterpru peterpru marked this pull request as ready for review February 20, 2025 07:16
@peterpru peterpru requested a review from a team as a code owner February 20, 2025 07:16
Copy link
Contributor

@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.

🙌

@peterpru peterpru merged commit 9c7cbe9 into master Feb 20, 2025
10 checks passed
@peterpru peterpru deleted the bug-fix-raredisease-delivery-tags branch February 20, 2025 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
raredisease Issues related to nextflow raredisease pipeline
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants