Skip to content

Commit

Permalink
Merge pull request #174 from sanogenetics/hotfix/fix-genomeprep-resou…
Browse files Browse the repository at this point in the history
…rces

Fix GenomePrep resources
  • Loading branch information
apriha authored May 5, 2024
2 parents cb39e37 + 5a5423f commit 77407c0
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/snps/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,10 +287,14 @@ def get_chip_clusters(self):
(GenomePrep) for research, Computational and Structural
Biotechnology Journal, Volume 19, 2021, Pages 3747-3754, ISSN
2001-0370, https://doi.org/10.1016/j.csbj.2021.06.040.
2. Lu, Tzovaras, & Gough. (2021). OpenSNP data-freeze of 5,393
(19.10.2020) [Data set]. In Computational and Structural
Biotechnology Journal. Zenodo.
https://doi.org/10.1016/j.csbj.2021.06.040
"""
if self._chip_clusters is None:
chip_clusters_path = self._download_file(
"https://supfam.mrc-lmb.cam.ac.uk/GenomePrep/datadir/the_list.tsv.gz",
"https://zenodo.org/records/5047472/files/the_list.tsv.gz",
"chip_clusters.tsv.gz",
)

Expand Down Expand Up @@ -325,10 +329,14 @@ def get_low_quality_snps(self):
(GenomePrep) for research, Computational and Structural
Biotechnology Journal, Volume 19, 2021, Pages 3747-3754, ISSN
2001-0370, https://doi.org/10.1016/j.csbj.2021.06.040.
2. Lu, Tzovaras, & Gough. (2021). OpenSNP data-freeze of 5,393
(19.10.2020) [Data set]. In Computational and Structural
Biotechnology Journal. Zenodo.
https://doi.org/10.1016/j.csbj.2021.06.040
"""
if self._low_quality_snps is None:
low_quality_snps_path = self._download_file(
"https://supfam.mrc-lmb.cam.ac.uk/GenomePrep/datadir/badalleles.tsv.gz",
"https://zenodo.org/records/5047472/files/badalleles.tsv.gz",
"low_quality_snps.tsv.gz",
)

Expand Down

0 comments on commit 77407c0

Please sign in to comment.