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/chainToAxt/chainToAxt.c src/hg/mouseStuff/chainToAxt/chainToAxt.c
index 5f293a0..065bfea 100644
--- src/hg/mouseStuff/chainToAxt/chainToAxt.c
+++ src/hg/mouseStuff/chainToAxt/chainToAxt.c
@@ -1,29 +1,31 @@
 /* chainToAxt - Convert from chain to axt file. */
 
 /* 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 "dnaseq.h"
 #include "chain.h"
 #include "nibTwo.h"
 #include "axt.h"
 #include "chainToAxt.h"
 
+#undef BIGNUM
+#define BIGNUM 0x7fffffff	/* larger than the standard size BIGNUM */
 
 int maxGap = 100;
 int maxChain = BIGNUM;
 double minIdRatio = 0.0;
 double minScore = 0;
 boolean bedOut = FALSE;
 
 void usage()
 /* Explain usage and exit. */
 {
 errAbort(
   "chainToAxt - Convert from chain to axt file\n"
   "usage:\n"
   "   chainToAxt in.chain tNibDirOr2bit qNibDirOr2bit out.axt\n"
   "options:\n"