-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: updating annonars genes with ClinGen dosage & DOMINO (#65)
- Loading branch information
Showing
18 changed files
with
62 additions
and
122 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
Git LFS file not shown
Git LFS file not shown
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
excerpt-data/0e7eb7069eb4d354/ClinGen_gene_curation_list_GRCh37.tsv
Git LFS file not shown
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
excerpt-data/cb35d21dd121ab4b/ClinGen_gene_curation_list_GRCh38.tsv
Git LFS file not shown
Git LFS file not shown
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,20 +1,19 @@ | ||
## Rules related to ClinGen curation download. | ||
## Rules related to ClinGen gene dosage pathogenicity annotation. | ||
|
||
|
||
rule genes_clingen_download: # -- download ClinGen curations | ||
rule clingen_gene_download: # -- download files | ||
output: | ||
csv="work/download/genes/clingen/{date}/clingen.csv", | ||
csv_md5="work/download/genes/clingen/{date}/clingen.csv.md5", | ||
tsv="work/genes/clingen/{date}/ClinGen_gene_curation_list_{genome_release}.tsv", | ||
tsv_md5="work/genes/clingen/{date}/ClinGen_gene_curation_list_{genome_release}.tsv.md5", | ||
shell: | ||
r""" | ||
if [[ "$(date +%Y%m%d)" != "{wildcards.date}" ]] && [[ "{FORCE_TODAY}" != "True" ]]; then | ||
>&2 echo "{wildcards.date} is not today" | ||
exit 1 | ||
fi | ||
wget --no-check-certificate \ | ||
-O {output.csv} \ | ||
https://search.clinicalgenome.org/kb/reports/curation-activity-summary-report | ||
wget -O {output.tsv} \ | ||
ftp://ftp.clinicalgenome.org/ClinGen_gene_curation_list_{wildcards.genome_release}.tsv | ||
md5sum {output.csv} > {output.csv_md5} | ||
md5sum {output.tsv} > {output.tsv}.md5 | ||
""" |
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,16 @@ | ||
## Rules related to DOMINO gene annotation. | ||
|
||
|
||
rule genes_domino: # -- postprocess file for import | ||
input: | ||
tsv="bundled-data/domino/score_all_final_19.02.19.txt", | ||
output: | ||
tsv="work/genes/domino/20190219/domino.tsv", | ||
tsv_md5="work/genes/domino/20190219/domino.tsv.md5", | ||
shell: | ||
""" | ||
cut -f 1-2 {input.tsv} \ | ||
> {output.tsv} | ||
md5sum {output.tsv} > {output.tsv}.md5 | ||
""" |