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/lavToPsl/lavToPsl.c src/hg/mouseStuff/lavToPsl/lavToPsl.c
index 0724785..5202c8c 100644
--- src/hg/mouseStuff/lavToPsl/lavToPsl.c
+++ src/hg/mouseStuff/lavToPsl/lavToPsl.c
@@ -1,25 +1,28 @@
 /* lavToPsl - Convert blastz lav to psl format. */
 
 /* 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 "psl.h"
 #include "bed.h"
 
+#undef BIGNUM
+#define BIGNUM 0x7fffffff	/* larger than the standard size BIGNUM */
+
 /* strand to us for target */
 char* targetStrand = "+";
 boolean bed = FALSE;
 char* lavScoreFile = NULL;
 
 void usage()
 /* Explain usage and exit. */
 {
 errAbort(
   "lavToPsl - Convert blastz lav to psl format\n"
   "usage:\n"
   "   lavToPsl in.lav out.psl\n"
   "options:\n"
   "   -target-strand=c set the target strand to c (default is no strand)\n"
   "   -bed output bed instead of psl\n"