b6aee4c6471cddebd638fec8dbb988c29a69bc22 markd Thu Apr 23 21:58:41 2026 -0700 import of GENCODE V50, MV39, and V50lift37; added a command to do import with a single command diff --git src/hg/makeDb/outside/gencode/bin/gencodeGxfToGenePred src/hg/makeDb/outside/gencode/bin/gencodeGxfToGenePred index 0fc6c688df2..953a176ec47 100755 --- src/hg/makeDb/outside/gencode/bin/gencodeGxfToGenePred +++ src/hg/makeDb/outside/gencode/bin/gencodeGxfToGenePred @@ -1,22 +1,22 @@ #!/usr/bin/env python3 import sys import os myBinDir = os.path.normpath(os.path.dirname(sys.argv[0])) -sys.path.append(os.path.join(myBinDir, "../lib")) -sys.path.append(os.path.expanduser("/hive/groups/browser/pycbio/lib")) +sys.path.insert(0, os.path.join(myBinDir, "../lib")) +sys.path.insert(0, os.path.expanduser("/hive/groups/browser/pycbio/lib")) from pycbio.tsv import TabFileReader from pycbio.sys import fileOps import argparse import pipettor import tempfile from gencode.gencodeProcess import GencodeLiftOver, getEditIdCmd, LiftError def parseArgs(): desc = """Convert GENCODE GTF or GFF3 to an genePred and replace ENSTR or _PAR id hacks used for dealing with PAR transcripts. Uses liftOver to convert Ensembl chromosome name to UCSC chromosome and to convert between versions of chrM in GRCh37/hg19. In the case of GRCh37 backmap, annotations are generate to both chrM and chrMT. The chrMT sequence was add to the UCSC browser and matches what GENCODE annotated,