65b9e931d649064e568d5826f636f0ab24d6ac19
jcasper
  Thu Jul 16 07:34:15 2026 -0700
Makedoc and trackDb for hg19 GENCODE V50 knownGene, refs #37393

diff --git src/hg/makeDb/doc/ucscGenes/hg19.gencodeV50lift37.sh src/hg/makeDb/doc/ucscGenes/hg19.gencodeV50lift37.sh
new file mode 100644
index 00000000000..4a1f4c8df7c
--- /dev/null
+++ src/hg/makeDb/doc/ucscGenes/hg19.gencodeV50lift37.sh
@@ -0,0 +1,23 @@
+export db=hg19
+export GENCODE_VERSION=V50lift37
+export PREV_GENCODE_VERSION=V49lift37
+screen -S knownGene${GENCODE_VERSION}
+mkdir /hive/data/genomes/$db/bed/gencode$GENCODE_VERSION/build
+cd /hive/data/genomes/$db/bed/gencode$GENCODE_VERSION/build
+PATH=$HOME/kent/src/hg/utils/otto/knownGene":$PATH"
+cp /hive/data/genomes/${db}/bed/gencode${PREV_GENCODE_VERSION}/build/buildEnv.sh  buildEnv.sh
+
+# edit buildEnv.sh
+. buildEnv.sh
+
+cp ${oldGeneDir}/${PREV_GENCODE_VERSION}.files.txt .
+cp ${oldGeneDir}/${PREV_GENCODE_VERSION}.tables.txt .
+
+hgsql ${oldKnownDb} -Ne "show tables" > ${oldKnownDb}.tables.txt
+diff <(sort ${PREV_GENCODE_VERSION}.tables.txt) <(sort ${oldKnownDb}.tables.txt)
+# no difference
+
+buildKnown.sh &
+
+# Continue with the steps to load the tables into the database.
+