f1766d9d83ed8491fc71469658336abefe304001 max Mon Sep 29 10:02:03 2014 -0700 taking back commit bd1c185f86d1b6cd77570bc5583c87ad27c791ba diff --git src/lib/annoAssembly.c src/lib/annoAssembly.c index c031936..1f74c8e 100644 --- src/lib/annoAssembly.c +++ src/lib/annoAssembly.c @@ -1,33 +1,32 @@ /* annoAssembly -- basic metadata about an assembly for the annoGrator framework. */ /* Copyright (C) 2013 The Regents of the University of California * See README in this or parent directory for licensing information. */ #include "annoAssembly.h" #include "dnaseq.h" #include "obscure.h" #include "twoBit.h" -#include "../hg/inc/hdb.h" struct annoAssembly *annoAssemblyNew(char *name, char *twoBitPath) /* Return an annoAssembly with open twoBitFile. */ { struct annoAssembly *aa; AllocVar(aa); aa->name = cloneString(name); -aa->twoBitPath = hReplaceGbdb(twoBitPath); +aa->twoBitPath = cloneString(twoBitPath); aa->tbf = twoBitOpen(aa->twoBitPath); aa->curSeq = NULL; return aa; } struct slName *annoAssemblySeqNames(struct annoAssembly *aa) /* Return a list of sequence names in this assembly. */ { struct slName *seqNames = twoBitSeqNames(aa->twoBitPath); slSort(&seqNames, slNameCmp); return seqNames; } uint annoAssemblySeqSize(struct annoAssembly *aa, char *seqName) /* Return the number of bases in seq which must be in aa's twoBitFile. */