File tree Expand file tree Collapse file tree 13 files changed +60
-5
lines changed Expand file tree Collapse file tree 13 files changed +60
-5
lines changed Original file line number Diff line number Diff line change 31
31
environment-file : environment.yml
32
32
init-shell : bash
33
33
cache-environment : true
34
- post-cleanup : ' all '
34
+ post-cleanup : none # breaks otherwise
35
35
36
36
- name : Check formating
37
37
run : |
65
65
environment-file : environment.yml
66
66
init-shell : bash
67
67
cache-environment : true
68
- post-cleanup : ' all '
68
+ post-cleanup : none # breaks otherwise
69
69
70
70
- name : Install python package
71
71
run : |
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ rule all:
85
85
# == work directory =====================================================================
86
86
#
87
87
# genes
88
+ f"work/download/genes/clingen/{ DV .clingen_gene } /clingen.csv" ,
88
89
f"work/genes/dbnsfp/{ DV .dbnsfp } /genes.tsv.gz" ,
89
90
f"work/genes/ensembl/{ DV .ensembl } /ensembl_xlink.tsv" ,
90
91
f"work/genes/enst_ensg/grch37/{ DV .ensembl_37 } /enst_ensg.tsv" ,
@@ -317,6 +318,7 @@ rule all:
317
318
include : "rules/work/misc/hpo.smk"
318
319
# Gene-related rules.
319
320
include : "rules/work/genes/dbnsfp.smk"
321
+ include : "rules/work/genes/clingen.smk"
320
322
include : "rules/work/genes/ensembl.smk"
321
323
include : "rules/work/genes/gnomad.smk"
322
324
include : "rules/work/genes/hgnc.smk"
Original file line number Diff line number Diff line change
1
+ - comment : The curation activity summary report is built in real-time.
2
+ url : https://search.clinicalgenome.org/kb/reports/curation-activity-summary-report
3
+
4
+ - comment : ClinGen variant summary is built in real-time
5
+ url : http://erepo.clinicalgenome.org/evrepo/api/classifications/all?format=tabbed
6
+
1
7
- url : https://github.com/bihealth/annonars-data-clinvar/releases/download/clinvar-weekly-20230625/clinvar-strucvar-grch37-2023-0625+0.6.3.tar.gz
2
8
excerpt_strategy :
3
9
strategy : no-excerpt
Original file line number Diff line number Diff line change
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8dbeb7d6578a59b07d5296ba8f8d0f729f51dfd005cd7c3466a4c683e7a4d91c
3
+ size 156424
Original file line number Diff line number Diff line change
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cce44490e7ce19c99ae46d09281eca6645ca05c05bfe32c8ff87b88a25ca856c
3
+ size 77
Original file line number Diff line number Diff line change 1
1
version https://git-lfs.github.com/spec/v1
2
- oid sha256:d76098d2d3712096592a4a0f78d2aad039cae1e68b60ea802edd52d4edc4ae85
3
- size 6733
2
+ oid sha256:85689d642c36284f0bb17567eb9b10f7b001bed8e6d912ed97f728fcacd5b316
3
+ size 34848332
Original file line number Diff line number Diff line change
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56ea2a537b3b1afdd7426268eec5cbb3154a38101015aff61592689472d36f52
3
+ size 1810278
Original file line number Diff line number Diff line change
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25fee8c5e5004815bdf7fee7462711e0a9bb7b42b547f437dd58767fd640a6f2
3
+ size 78
Original file line number Diff line number Diff line change 4
4
rule output_annonars_genes : # -- build annonars genes RocksDB file
5
5
input :
6
6
acmg_sf = "data/acmg_sf/{v_acmg_sf}/acmg_sf.tsv" ,
7
+ clingen = "work/download/genes/clingen/{date}/clingen.csv" ,
7
8
gnomad_constraints = "work/genes/gnomad/{v_gnomad_constraints}/gnomad_constraints.tsv" ,
8
9
dbnsfp = "work/genes/dbnsfp/{v_dbnsfp}/genes.tsv.gz" ,
9
10
hgnc = "work/genes/hgnc/{date}/hgnc_info.jsonl" ,
@@ -25,9 +26,15 @@ rule output_annonars_genes: # -- build annonars genes RocksDB file
25
26
v_annonars = RE_VERSION ,
26
27
shell :
27
28
r"""
29
+ export TMPDIR=$(mktemp -d)
30
+ trap "rm -rf $TMPDIR" EXIT
31
+
32
+ tail -n +4 {input.clingen} > $TMPDIR/clingen.csv
33
+
28
34
annonars gene import \
29
35
--path-out-rocksdb $(dirname {output.rocksdb_identity}) \
30
36
--path-in-acmg {input.acmg_sf} \
37
+ --path-in-clingen $TMPDIR/clingen.csv \
31
38
--path-in-gnomad-constraints {input.gnomad_constraints} \
32
39
--path-in-dbnsfp {input.dbnsfp} \
33
40
--path-in-hgnc {input.hgnc} \
Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ dc.source:
22
22
x-created-from :
23
23
- name : ACMG SF Gene List
24
24
version : {{ v_acmg_sf }}
25
+ - name : ClinGen Gene Curation
26
+ version : {{ today }}
25
27
- name : gnomAD constraints
26
28
version : {{ v_gnomad_constraints }}
27
29
- name : dbNSFP
You can’t perform that action at this time.
0 commit comments