c20579fc7c537c1736650125c5d264357d2cfa78 angie Mon Sep 18 13:15:16 2017 -0700 Big search & replace: use https instead of http for NCBI URLs. refs #17793 diff --git src/hg/hgGene/rgdInfo.c src/hg/hgGene/rgdInfo.c index 279a082..2af99fe 100644 --- src/hg/hgGene/rgdInfo.c +++ src/hg/hgGene/rgdInfo.c @@ -1,35 +1,35 @@ /* rgdGeneInfo - functions related to RGD Genes */ /* Copyright (C) 2013 The Regents of the University of California * See README in this or parent directory for licensing information. */ #include "common.h" #include "hash.h" #include "linefile.h" #include "dystring.h" #include "hdb.h" #include "hgGene.h" // define external URLs used #define RGD_GENE_URL "http://rgd.mcw.edu/tools/genes/genes_view.cgi?id=" -#define PUBMED_URL "http://www.ncbi.nlm.nih.gov/pubmed/" -#define GBNK_PROT_URL "http://www.ncbi.nlm.nih.gov/protein/" -#define GBNK_DNA_URL "http://www.ncbi.nlm.nih.gov/nuccore/" -#define ENTREZ_URL "http://www.ncbi.nlm.nih.gov/sites/entrez?db=gene&cmd=retrieve&list_uids=" +#define PUBMED_URL "https://www.ncbi.nlm.nih.gov/pubmed/" +#define GBNK_PROT_URL "https://www.ncbi.nlm.nih.gov/protein/" +#define GBNK_DNA_URL "https://www.ncbi.nlm.nih.gov/nuccore/" +#define ENTREZ_URL "https://www.ncbi.nlm.nih.gov/sites/entrez?db=gene&cmd=retrieve&list_uids=" #define UNIPROT_URL "http://www.uniprot.org/uniprot/" -#define UNIGENE_URL "http://www.ncbi.nlm.nih.gov/UniGene/clust.cgi?ORG=Rn&CID=" +#define UNIGENE_URL "https://www.ncbi.nlm.nih.gov/UniGene/clust.cgi?ORG=Rn&CID=" #define ENSEMBL_URL "http://www.ensembl.org/Rattus_norvegicus/Gene/Summary?g=" #define TIGR_URL "http://compbio.dfci.harvard.edu/tgi/cgi-bin/tgi/tc_report.pl?gudb=rat&tc=" #define SSLP_URL "http://rgd.mcw.edu/objectSearch/sslpReport.jsp?rgd_id=" #define QTL_URL "http://rgd.mcw.edu/objectSearch/qtlReport.jsp?rgd_id=" #define IMAGE_URL "http://image.hudsonalpha.org/IQ/bin/singleCloneQuery?clone_id=" #define MGC_URL "http://mgc.nci.nih.gov/Genes/CloneList?ORG=Rn&LIST=" char *getRgdGeneId(struct sqlConnection *conn, char *geneId) /* Return rgdGene ID for now. */ { return(geneId); } char *getRgdGeneUniProtAcc(char *geneId, struct sqlConnection *conn) /* get UniProt Acc from an RGD Gene ID */