584b7af6bcac17cc116ca2c4801e60a149d49c2c
hiram
  Wed Aug 7 15:23:41 2024 -0700
BIGNUM needs to be a bit larger for chain/net processing on sequences over 1 Gb refs #34248

diff --git src/hg/mouseStuff/lavToAxt/lavToAxt.c src/hg/mouseStuff/lavToAxt/lavToAxt.c
index 0b7d77e..bbb223a 100644
--- src/hg/mouseStuff/lavToAxt/lavToAxt.c
+++ src/hg/mouseStuff/lavToAxt/lavToAxt.c
@@ -1,29 +1,32 @@
 /* lavToAxt - Convert blastz lav file to an axt file (which includes sequence). */
 
 /* Copyright (C) 2014 The Regents of the University of California 
  * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */
 #include "lav.h"
 #include "hash.h"
 #include "options.h"
 #include "dlist.h"
 #include "dystring.h"
 #include "dnaseq.h"
 #include "nib.h"
 #include "twoBit.h"
 #include "fa.h"
 
+#undef BIGNUM
+#define BIGNUM 0x7fffffff	/* larger than the standard size BIGNUM */
+
 struct dnaSeq *qFaList;
 struct dnaSeq *tFaList;
 
 void usage()
 /* Explain usage and exit. */
 {
 errAbort(
   "lavToAxt - Convert blastz lav file to an axt file (which includes sequence)\n"
   "usage:\n"
   "   lavToAxt in.lav tNibDir qNibDir out.axt\n"
   "Where tNibDir/qNibDir are either directories full of nib files, or a single\n"
   "twoBit file\n"
   "options:\n"
   "   -fa  qNibDir is interpreted as a fasta file of multiple dna seq instead of directory of nibs\n"
   "   -tfa tNibDir is interpreted as a fasta file of multiple dna seq instead of directory of nibs\n"