BEGIN {
use Exporter;
our @ISA = ('Exporter');
- our @EXPORT = qw(
- $WEBSERVER
- $WEBSERVERCGI
- $SERVERROOT
- $SRSSERVER
- $CHKLOG
- $RESULTS
- $PDBLNK
- $CSS
- $IMAGES
- $JNET
- $TIMEOUT
- $BATCHLIM
- $DUNDEE
- $JPREDUSER
- $JPREDEMAIL
- $MAILHOST
- $JPREDROOT
- $BINDIR
- $LIBDIR
- $JOBDIR
- $PREFIX
- $RESOURCE
- $BLASTDB
- $SWALL
- $SWALLFILT
- $PDB
- $PDB_DAT
- $JPREDHEAD
- $JPREDFOOT
- &xsystem
- );
+ our @EXPORT =
+ qw($WEBSERVER $WEBSERVERCGI $SERVERROOT $SRSSERVER $CHKLOG $RESULTS $PDBLNK $CSS $IMAGES $JNET $TIMEOUT $BATCHLIM $DUNDEE $JPREDUSER $JPREDEMAIL $MAILHOST $JPREDROOT $BINDIR $LIBDIR $JOBDIR $PREFIX $RESOURCE $BLASTDB $SWALL $SWALLFILT $PDB $PDB_DAT $JPREDHEAD $JPREDFOOT &xsystem);
our @EXPORT_OK = @EXPORT;
}
# for some reason doesn't work if in PERL5LIB
use lib '/sw/lib/perl5.10.1/lib/perl5';
+############################################################################
# URIs
-our $WEBSERVER = 'http://www.compbio.dundee.ac.uk/www-jpred';
+#production server
+#our $WEBSERVER = 'http://www.compbio.dundee.ac.uk/www-jpred';
+#development server
+our $WEBSERVER = 'http://gjb-www-1.cluster.lifesci.dundee.ac.uk:3209';
+############################################################################
-#our $WEBSERVER = 'http://webserv1.cluster.lifesci.dundee.ac.uk:3209';
our $WEBSERVERCGI = "$WEBSERVER/cgi-bin";
#$SERVERROOT = "$WEBSERVER/~www-jpred";
our $SERVERROOT = "$WEBSERVER";
-our $SRSSERVER = 'http://srs.ebi.ac.uk/srs6bin/cgi-bin';
+#our $SRSSERVER = 'http://srs.ebi.ac.uk/srs6bin/cgi-bin';
+our $SRSSERVER = 'http://www.ebi.ac.uk/ebisearch/search.ebi';
our $CHKLOG = "$WEBSERVERCGI/chklog?";
our $RESULTS = "$SERVERROOT/results";
our $PDBLNK = "http://www.ebi.ac.uk/pdbsum/";
our $MAILHOST = 'smtp.lifesci.dundee.ac.uk'; # CC 19/05/06 - updated to current smtp host from weevil
# Server paths
-our $JPREDROOT = '/homes/www-jpred/live';
-
-#our $JPREDROOT = '/homes/www-jpred/devel';
+#our $JPREDROOT = '/homes/www-jpred/live';
+our $JPREDROOT = '/homes/www-jpred/devel';
# Directory for binaries either on the cluster or on the www server
our $BINDIR = "$JPREDROOT/bin";
## differentiate between Uniprot and Uniparc (UniRef90_UNI\w+) IDs as they require
## different SRS query strings
if ($align[$_] =~ /UniRef90_(UPI\w+)/) {
- print HTML "<a href=$SRSSERVER/wgetz?-e+[uniparc-AccNumber:$1]>$align[$_]</a>";
+ print HTML "<a href=$SRSSERVER?db=allebi&query=$1>$align[$_]</a>";
} else {
- print HTML "<a href=$SRSSERVER/wgetz?-e+[UNIREF90-acc:$align[$_]]>$align[$_]</a>";
+ print HTML "<a href=$SRSSERVER?db=allebi&query=$align[$_]>$align[$_]</a>";
}
} else {
print HTML "$align[$_]";
## differentiate between Uniprot and Uniparc IDs as they require
## different SRS query strings
if ($align[$_] =~ /UniRef90_(UPI\w+)/) {
- print HTML " : <a href=$SRSSERVER/wgetz?-e+[uniparc-AccNumber:$1]>$align[$_]</a>\n";
+ print HTML " : <a href=$SRSSERVER?db=allebi&query=$1>$align[$_]</a>\n";
} else {
- print HTML " : <a href=$SRSSERVER/wgetz?-e+[UNIREF90-acc:$align[$_]]>$align[$_]</a>\n";
+ print HTML " : <a href=$SRSSERVER?db=allebi&query=$align[$_]>$align[$_]</a>\n";
}
} else {
print HTML " : $align[$_]\n";