70a0c624de26b19e8f53b2ad429afe617063b4d4
jnavarr5
  Mon Oct 27 14:40:15 2025 -0700
Updating the URL to download the GWAS data since the previous URL is now retired, no Redmine.

diff --git src/hg/utils/otto/gwas/checkGwas.sh src/hg/utils/otto/gwas/checkGwas.sh
index 7e5643baf19..e2ac325fd03 100755
--- src/hg/utils/otto/gwas/checkGwas.sh
+++ src/hg/utils/otto/gwas/checkGwas.sh
@@ -13,31 +13,31 @@
 umask 002
 
 WORKDIR=$1
 export WORKDIR
 export PATH=$WORKDIR":$PATH"
 
 #	this is where we are going to work
 if [ ! -d "${WORKDIR}" ]; then
     echo "ERROR in GWAS release watch, Can not find the directory:     ${WORKDIR}" 
     exit 255
 fi
 
 cd "${WORKDIR}"
 
 # Note: timestamping no longer works
-wget -q --timestamping  -O gwascatalog.txt http://www.ebi.ac.uk/gwas/api/search/downloads/full
+wget -q --timestamping  -O gwascatalog.txt https://www.ebi.ac.uk/gwas/api/search/downloads/associations/v1.0?split=false
 if [  ! gwascatalog.txt  -nt old.gwascatalog.txt ]; then
     echo "Not newer"
     exit 0
 fi
 
 today=`date +%y%m%d`
 mkdir $today
 cp gwascatalog.txt $today
 mv gwascatalog.txt old.gwascatalog.txt
 
 cd $today
 
 head -1 gwascatalog.txt | sed -re 's/\t/\n/g' | tr -d '\r' > foundColumns.txt
 
 if cmp foundColumns.txt ../expectedColumns.txt