bd1c185f86d1b6cd77570bc5583c87ad27c791ba
max
  Sun Sep 28 05:09:46 2014 -0700
fixing Vai gbib error, refs #11957
diff --git src/lib/annoAssembly.c src/lib/annoAssembly.c
index 5551ee0..c031936 100644
--- src/lib/annoAssembly.c
+++ src/lib/annoAssembly.c
@@ -1,33 +1,34 @@
 /* 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->tbf = twoBitOpen(twoBitPath);
-aa->twoBitPath = cloneString(twoBitPath);
+aa->twoBitPath = hReplaceGbdb(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. */
 {