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/netToAxt/netToAxt.c src/hg/mouseStuff/netToAxt/netToAxt.c
index 363a307..61e7bcb 100644
--- src/hg/mouseStuff/netToAxt/netToAxt.c
+++ src/hg/mouseStuff/netToAxt/netToAxt.c
@@ -2,30 +2,32 @@
 
 /* Copyright (C) 2011 The Regents of the University of California 
  * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */
 #include "common.h"
 #include "linefile.h"
 #include "hash.h"
 #include "options.h"
 #include "chainBlock.h"
 #include "chainNet.h"
 #include "dnautil.h"
 #include "dnaseq.h"
 #include "chainToAxt.h"
 #include "axt.h"
 #include "nibTwo.h"
 
+#undef BIGNUM
+#define BIGNUM 0x7fffffff	/* larger than the standard size BIGNUM */
 
 boolean qChain = FALSE;  /* Do chain from query side. */
 int maxGap = 100;
 boolean splitOnInsert = TRUE;
 
 static struct optionSpec optionSpecs[] = {
     {"qChain", OPTION_BOOLEAN},
     {"maxGap", OPTION_INT},
     {"gapOut", OPTION_STRING},
     {"noSplit", OPTION_BOOLEAN},
     {NULL, 0}
 };
 
 void usage()
 /* Explain usage and exit. */