Skip to content

Commit

Permalink
Regenerate IDs for VEP annotation inout VCFs (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel-Mueck authored Jun 10, 2024
1 parent 901ff97 commit 3b6a3e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipelines/annotations.snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ rule strip_chr_name:
output:
anno_tmp_dir / "{file_stem}_stripped.vcf.gz",
shell:
f"{load_hts} cut -c 4- {{input}} |bgzip > {{output}}"
load_hts + """ cut -c 4- {input} | awk -F'\\t' 'BEGIN {{OFS = FS}} {{$3 = "chr"$1"_"$2"_"$4"_"$5; print}}' |bgzip > {output} """


rule vep:
Expand Down

0 comments on commit 3b6a3e6

Please sign in to comment.