ba5350e41c26185f48dd56d074219d3a2eab7aed mspeir Thu Jul 2 10:32:20 2026 -0700 New otto framework for G2P track, refs #36736 diff --git src/hg/utils/otto/g2p/g2pWrapper.sh src/hg/utils/otto/g2p/g2pWrapper.sh new file mode 100755 index 00000000000..441ec2d8b9c --- /dev/null +++ src/hg/utils/otto/g2p/g2pWrapper.sh @@ -0,0 +1,16 @@ +#!/bin/sh -e +# Otto cron wrapper for the Gene2Phenotype (G2P) track. +# Runs the worker and mails its combined output to otto-group. +# Edit + commit the kent-tree copy, then copy to the hive otto dir: +# ~/kent/src/hg/utils/otto/g2p/g2pWrapper.sh + +PATH=/cluster/bin/x86_64:$PATH +export PATH + +EMAIL="otto-group@ucsc.edu" +WORKDIR="/hive/data/outside/otto/g2p" + +umask 002 +cd "$WORKDIR" +# -E suppresses mail when there is no output (silent no-op when G2P is unchanged). +./doG2p.py 2>&1 | mail -E -s "G2P otto build" $EMAIL