#!/usr/bin/perl -w
#!/usr/local/bin/perl5 -w
# ----- Installer Modifiable Variables -------------------------------------
# You may wish to modify the following variables to suit
# your installation.
$MAINTAINER
='your-email@your-host';
# This is the select box to which you should
# add options for mispriming libraries. Modify the
# %SEQ_LIBRARY variable in primer3_www_results as
# well.
$SELECT_SEQ_LIBRARY =
" \n";
# Documentation for this screen.
$DOC_URL = "primer3_www_help.html";
# URL that will process the data from this screen.
$PROCESS_INPUT_URL = 'primer3_www_results.cgi';
# If you make any substantial modifications give this code a new
# version designation.
$CGI_VERSION = "(primer3_www.cgi v 0.1 beta 1a)";
# 1a has the objective function weight for product
# size reduced to .05.
# ----- End Installer Modifiable Variables ---------------------------------
$COPYRIGHT = q{
Copyright (c) 1996,1997,1998
Whitehead Institute for Biomedical Research. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution. Redistributions of
source code must also reproduce this information in the source code itself.
If the program is modified, redistributions must include a notice
(in the same places as above) indicating that the redistributed program is
not identical to the version distributed by Whitehead Institute.
All advertising materials mentioning features or use of this
software must display the following acknowledgment:
This product includes software developed by the
Whitehead Institute for Biomedical Research.
The name of the Whitehead Institute may not be used to endorse or
promote products derived from this software without specific prior written
permission.
We also request that use of this software be cited in publications as
THIS SOFTWARE IS PROVIDED BY THE WHITEHEAD INSTITUTE ``AS IS'' AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE WHITEHEAD INSTITUTE BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
};
BEGIN{
print "Content-type: text/html\n\n";
# Ensure that errors go to the web browser.
open(STDERR, ">&STDOUT");
$| = 1;
print '';
}
use Carp;
use CGI;
# The CGI module is available from
# http://www.genome.wi.mit.edu/ftp/distribution/software/WWW/
main();
sub main {
$LIGHT_COLOR="#CCCCFF";
$C_ROW = "
We gratefully acknowledge the support of
Digital Equipment Corporation,
which provided the Alphas which were used for much
of the development of Primer3, and of
Centerline Software, Inc.,
whose TestCenter memory-error, -leak, and test-coverage checker
we use regularly to discover and correct otherwise latent
errors in Primer3.
Original design of this primer-picking web site
by Richard Resnick, who
also is an author of this site\'s documentation.
Primer3\'s design is heavily based on earlier
implementations of similar programs:
Primer 0.5 (Steve Lincoln, Mark Daly, and Eric
S. Lander) and Primer v2 (Richard Resnick).
Lincoln Stein championed the use of the Boulder-IO
format and the idea of
making the Primer3 engine a software component.