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

fix: rename samplename in final vcf header #1310

Merged
merged 22 commits into from
Nov 4, 2023

Conversation

mathiasbio
Copy link
Collaborator

@mathiasbio mathiasbio commented Nov 1, 2023

This PR:

This PR aims to change the name of the sample columns in the final VCFs to match the changes in the scout_load.yaml for sample-id, which will use LIMS-ID instead of TUMOR/NORMAL. (Clinical-Genomics/cg#2650)

Added:

  • New rule to create namemap to translate sample type names in vcf header to sampleID

Changed:

  • Renamed names of sample columns in final vcf (clinical.pass.vcf.gz) to sampleID

Removed:

PR specific tests

  • TGA T/N case finishes without error
  • And both clinical.pass vcfs have the changed sample-columns names
  • TGA UMI case finishes without error
  • And both clinical.pass vcfs have the changed sample-columns names
  • WGS T/N case finishes without error
  • And both clinical.pass vcfs have the changed sample-columns names
  • WGS T-only case finishes without errors
  • And both clinical.pass vcfs have the changed sample-columns names

Review and tests:

  • Tests pass
  • Code review
  • New code is executed and covered by tests, and test approve

@mathiasbio mathiasbio mentioned this pull request Nov 1, 2023
4 tasks
@mathiasbio mathiasbio changed the base branch from master to develop November 1, 2023 10:17
@mathiasbio mathiasbio changed the title change: rename samplename in final vcf header fix: rename samplename in final vcf header Nov 1, 2023
Copy link

codecov bot commented Nov 1, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Files Coverage Δ
BALSAMIC/commands/base.py 100.00% <100.00%> (ø)
BALSAMIC/commands/config/base.py 100.00% <100.00%> (ø)
BALSAMIC/commands/config/case.py 100.00% <100.00%> (+3.44%) ⬆️
BALSAMIC/commands/config/pon.py 100.00% <100.00%> (+4.87%) ⬆️
BALSAMIC/commands/init/base.py 100.00% <100.00%> (ø)
BALSAMIC/commands/options.py 100.00% <100.00%> (ø)
BALSAMIC/commands/report/base.py 100.00% <100.00%> (ø)
BALSAMIC/commands/report/deliver.py 100.00% <100.00%> (ø)
BALSAMIC/commands/report/status.py 100.00% <100.00%> (ø)
BALSAMIC/commands/run/analysis.py 100.00% <100.00%> (ø)
... and 24 more

📢 Thoughts on this report? Let us know!.

@mathiasbio mathiasbio marked this pull request as ready for review November 2, 2023 15:43
@mathiasbio mathiasbio requested a review from a team as a code owner November 2, 2023 15:43
Copy link
Contributor

@ivadym ivadym left a comment

Choose a reason for hiding this comment

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

Looks good 👍 Left you some minor comments

Copy link
Contributor

@ivadym ivadym left a comment

Choose a reason for hiding this comment

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

Look great after your last push! 🥇 🌟 🏎️ 💨 🌟 🥇

Copy link

sonarqubecloud bot commented Nov 4, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@mathiasbio mathiasbio merged commit 66b049e into develop Nov 4, 2023
9 checks passed
@mathiasbio mathiasbio deleted the rename_sample_in_final_vcf branch November 4, 2023 09:13
@ivadym ivadym mentioned this pull request Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Archived
Development

Successfully merging this pull request may close these issues.

2 participants