home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!paladin.american.edu!auvm!GCG.COM!HOGAN
- Message-ID: <9301231708.AA24176@gcg.com>
- Newsgroups: bit.listserv.info-gcg
- Date: Sat, 23 Jan 1993 11:08:57 -0600
- Reply-To: hogan@GCG.COM
- Sender: "INFO-GCG: GCG Genetics Software Discussion"
- <INFO-GCG@UTORONTO.BITNET>
- From: hogan@GCG.COM
- Subject: fix for findpatterns
- Comments: To: info-gcg@utoronto.bitnet@gcg.com
- Lines: 82
-
- I just wanted to expand on Rodrigo Serrano's fix to FINDPATTERNS. He may not
- have realized that the file enzdata.inc is included in a number of our applib
- routines which are then linked to a number other pattern matching programs
- (including FINDPATTERNS).
-
- If you want to change the GCG code to accommodate a larger pattern file
- (specifically tfsites.dat) the complete VMS fix for enlarging MAXENZCOUNT
- follows:
-
- $ gcg
-
- $ gcgsupport
-
- $ copy geninclude:enzdata.inc []
-
- edit enzdata.inc and increase MAXENZCOUNT (I've gone as high as 3000 without
- raising virtual memory requirements above the 25,000 pages we recommend)
-
- The line
-
- Parameter MAXENZCOUNT = 2000, ! size of enzdata buffer
-
- should be changed to read
-
- Parameter MAXENZCOUNT = 2500, ! size of enzdata buffer
-
- $ copy enzdata.inc geninclude:enzdata.inc
-
- $ remakelib applib
-
- $ make/compile findpatterns
-
- $ make/compile map
-
- $ make/compile mapplot
-
- $ make/compile mapsort
-
- MOTIFS, REFORMAT and PEPTIDESORT also use these applib routines, but these
- programs are not used with tfsites.dat and so do not have to be remade with the
- higher parameter.
-
- The procedure for making the change on a UNIX system is similar.
-
- % gcg
-
- % gcgsupport
-
- % getsrc include enzdata.inc
-
- edit enzdata.inc and increase MAXENZCOUNT (I've gone as high as 3000 without
- raising virtual memory requirements above the 25,000 pages we recommend)
-
- The line
-
- Parameter MAXENZCOUNT = 2000, ! size of enzdata buffer
-
- should be changed to read
-
- Parameter MAXENZCOUNT = 2500, ! size of enzdata buffer
-
- % putsrc include enzdata.inc
-
- % buildlib
-
- % buildfapp findpatterns map mapplot mapsort
-
- The buildlib command will build all of the libraries that need to be updated.
- How extensive this build is will depend on the status of the library files at
- your site.
- For example, if you recently installed the entire package from CD and did not
- run build, this command will compile all of the GCG libraries (this will take
- some time).
- If the programs being built are running when you start the buildfapp command,
- the build will fail with an error message about "text file busy".
-
- ------------------------------------------------------
- Michael Hogan, PhD phone: (608) 231-5200
- Genetics Computer Group, Inc. fax: (608) 231-5202
- 575 Science Dr., Suite B e-mail: help@gcg.com
- Madison, WI 53711 e-mail: hogan@gcg.com
- ------------------------------------------------------
-