-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: rename samplename in final vcf header (#1310)
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: - Removed sed command in CNVpytor rule introduced here (fix: cnvpytor header float #1182) as it has been fixed by updating CNVpytor and is no longer necessary ([ Failed Analysis ] CNVpytor float values not accepted by bcftools #1152)
- Loading branch information
1 parent
b084920
commit 66b049e
Showing
12 changed files
with
64 additions
and
21 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
18 changes: 18 additions & 0 deletions
18
BALSAMIC/snakemake_rules/annotation/final_vcf_reheader.rule
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# vim: syntax=python tabstop=4 expandtab | ||
# coding: utf-8 | ||
|
||
rule create_final_vcf_namemap: | ||
input: | ||
multiqc_json = qc_dir + "multiqc_data/multiqc_data.json", | ||
output: | ||
namemap = vep_dir + "status_to_sample_id_namemap" | ||
params: | ||
status_to_sample_id = status_to_sample_id | ||
message: | ||
"Creating final vcf namemap." | ||
threads: | ||
get_threads(cluster_config, "create_final_vcf_namemap") | ||
shell: | ||
""" | ||
echo -e {params.status_to_sample_id} > {output.namemap}; | ||
""" |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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