#!/usr/local/bin/perl &primeRegSubs; $regexp = $ENV{'QUERY_STRING'}; if ( $regexp=~/[a-z]/i) { &search; } else { &intro; } print "$claimer"; exit; sub intro { &printHeader("Citation Search",0); print 'This search scans the citation information for a supplied case-insensitive PERL regular expression.
'; &mrefForm; print ' Note: At the current time, a given citation may appear multiple times, once for each DPInteract entry it appears in.
\n"; open(DATA,"cat $dpiDocsPath/*.class $dpiDocsPath/*.set $dpiDocsPath/*.fset|"); while ( $_=) { if (m/^ID/) { ($dum,$id)=split; if ($id=~/family$/) { $id=~s/.family//; $xr="Family: $id"; } elsif ($id=~/class$/) { $id=~s/.class//; $xr="Class: $id"; } else { if ($id=~/reviews/) { $xr="Reviews"; } else { $xr="Gene: $id"; } } } if (m/^R/) { push(@ref,$_); if (/$regexp/i) { $hit=1; } } else { if ($hit==1) { &output; } $#ref=0; } } } sub output { $hit=0; #print $id; print "XR\t$xr\n"; for ($i=0; $i<=$#ref; $i++) { $_=$ref[$i]; &makeDpiSubs; print $_; } print "\n"; } #!/usr/local/bin/perl &primeRegSubs; sub printHeader { ($title,$isIndex,$notScript)=@_; if ($notScript==1) {} else { print "Content-type: text/html\n"; } print "\n"; print "\n"; print "DPInteract: $title \n"; if ($isIndex==1) { print "\n"; } print "\n"; print " $title
\n"; } sub primeRegSubs { $RelayBase = "http://golgi.harvard.edu/htbin/relay"; $Cgsc = "http://cgsc.biology.yale.edu/cgi-bin/sybgw/cgsc/Site/"; $GenbankA = "$RelayBase/genbank-acc?"; $Medline = "http://golgi.harvard.edu/htbin/dpinteract/medline-muid?"; $MedNeigh = 'http://atlas.nlm.nih.gov:5700/htbin/enf/entrezmmnei?'; $Pir = "http://www3.ncbi.nlm.nih.gov/htbin-post/Entrez/query?db=p&form=6&uid="; $Pdb = 'http://expasy.hcuge.ch/cgi-bin/pdb_entry_or_image?'; $Prints = 'http://www.biochem.ucl.ac.uk/cgi-bin/attwood/DoPRINTS.pl?cmd_a=Display&qua_a=/Full&fun_a=Code&qst_a='; $Blocks = 'http://www.blocks.fhcrc.org/blocks-bin/getblock.www?'; $dpiServer = "http://arep.med.harvard.edu"; $dpiCgi = "$dpiServer/cgi-bin/dpinteract"; $dpiDocsPath = "/usr/arep/a3/httpd/htdocs/dpinteract"; $dpiDocsUrl ="$dpiServer/dpinteract"; $dpiFam = "$dpiCgi/family?"; $dpiSfam = "$dpiCgi/subfamily?"; $dpiGene = "$dpiCgi/gene?"; $dpiClass = "$dpiCgi/class?"; $dpiMsearch = "$dpiCgi/msearch?"; $dpiSearch = "$dpiCgi/search?"; $dpiRefSearch = "$dpiCgi/ref?"; $dpiMrefSearch = "$dpiCgi/mref?"; $dpiSeqregSearch = "$dpiCgi/seqreg?"; $dpiBlastnSearch = "$dpiCgi/blastn"; $dpiMatSearch = "$dpiCgi/matsrch"; $Expasy = "http://expasy.hcuge.ch"; $Prosite = "$Expasy/cgi-bin/get-prosite-entry?"; $Prodoc = "$Expasy/cgi-bin/get-prodoc-entry?"; $Scop = "http://www.bio.cam.ac.uk/scop/data"; # $Sprot = "$Expasy/cgi-bin/get-sprot-entry?"; $Sprot = "http://expasy.hcuge.ch/cgi-bin/get-sprot-entry?"; $SprotPi = "http://expasy.hcuge.ch/cgi-bin/getpI?"; $seqAnalRef = "$Expasy/cgi-bin/get-seqanalr-entry?"; $ecocycGene="http://ecocyc.ai.sri.com:1555/new-image?type=GENE&object=EG"; $ecocycMap="http://ecocyc.ai.sri.com:1555/new-image?type=LOCUS-POSITION&object=EG"; $entrezProtein = "http://www3.ncbi.nlm.nih.gov/htbin-post/Entrez/query?db=p&form=6&Dopt=r&uid="; $entrezMedline = "http://www3.ncbi.nlm.nih.gov/htbin-post/Entrez/query?db=m&form=6&Dopt=r&uid="; $mailKr = 'krobison@nucleus.harvard.edu'; $claimer = "
Help: Overview, FieldsNote: This database copyright 1994 Harvard University. Robison, K., and Church, G.M. DPInteract: A database on DNA-protein interactions. (1994). Electronically published and manuscript in preparation.
Please contact $mailKr to report additional data or problems with this database.