From 908fc14fd22fb6c4dc32306dfc8df4168c1658cf Mon Sep 17 00:00:00 2001 From: Ben Gyori Date: Sat, 18 May 2024 14:33:16 -0400 Subject: [PATCH] Update URLs to HTTPS --- genewalk/resources.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/genewalk/resources.py b/genewalk/resources.py index 707abd2..8774d11 100644 --- a/genewalk/resources.py +++ b/genewalk/resources.py @@ -20,14 +20,14 @@ def __init__(self, base_folder=None): def get_go_obo(self): fname = os.path.join(self.resource_folder, 'go.obo') if not os.path.exists(fname): - url = 'http://snapshot.geneontology.org/ontology/go.obo' + url = 'https://snapshot.geneontology.org/ontology/go.obo' download_url(url, fname) return fname def get_goa_gaf(self): fname = os.path.join(self.resource_folder, 'goa_human.gaf') if not os.path.exists(fname): - url_goa = ('http://geneontology.org/gene-associations/' + url_goa = ('https://geneontology.org/gene-associations/' 'goa_human.gaf.gz') download_gz(fname, url_goa) return fname @@ -39,7 +39,7 @@ def get_pc(self): fname = os.path.join(self.resource_folder, 'PathwayCommons12.All.hgnc.sif') if not os.path.exists(fname): - url_pc = ('http://www.pathwaycommons.org/archives/PC2/v12/' + url_pc = ('https://www.pathwaycommons.org/archives/PC2/v12/' 'PathwayCommons12.All.hgnc.sif.gz') download_gz(fname, url_pc) self._replace_outdated_hgnc_symbols(fname,fname_current) @@ -48,7 +48,7 @@ def get_pc(self): def get_mgi_entrez(self): fname = os.path.join(self.resource_folder, 'MGI_EntrezGene.rpt') if not os.path.exists(fname): - url = 'http://www.informatics.jax.org/downloads/reports/' \ + url = 'https://www.informatics.jax.org/downloads/reports/' \ 'MGI_EntrezGene.rpt' download_url(url, fname) return fname