From 4fd607cb05df7ee95d1e75120222126a7b837435 Mon Sep 17 00:00:00 2001 From: Manuel Holtgrewe Date: Fri, 6 Sep 2024 15:54:10 +0200 Subject: [PATCH] fix: gnomAD constraints build --- environment.yml | 2 +- rules/work/genes/gnomad.smk | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index 44d6a60..45ba976 100644 --- a/environment.yml +++ b/environment.yml @@ -47,7 +47,7 @@ dependencies: - annonars =0.39.0 - viguno =0.3.1 - mehari =0.25.5 - - varfish-server-worker =0.12.0 + - varfish-server-worker =0.13.0 # S3 uploads - s5cmd =2.1.0 # async HTTP requests diff --git a/rules/work/genes/gnomad.smk b/rules/work/genes/gnomad.smk index 3e55eb3..d13e280 100644 --- a/rules/work/genes/gnomad.smk +++ b/rules/work/genes/gnomad.smk @@ -149,6 +149,7 @@ def run_genes_gnomad_constraints_v4_to_tsv(input, output, wildcards): head -n 1 {input.tsv} \ > $TMPDIR/tmp.tsv tail -n +2 {input.tsv} \ + | grep ENSG \ | sort -k3,3r \ | sort -k1,1 -u \ | sed -e 's/","/"__COMMA__"/g' \