[Bio] / FigKernelScripts / to_prodom.pl Repository:
ViewVC logotype

Diff of /FigKernelScripts/to_prodom.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6, Fri Sep 8 18:59:21 2006 UTC revision 1.7, Thu Aug 27 21:08:37 2009 UTC
# Line 88  Line 88 
88          $url_id =~ s/uni\|//g;          $url_id =~ s/uni\|//g;
89          $url_id =~ s/tr\|//g;          $url_id =~ s/tr\|//g;
90    
91          my $url = "http://protein.toulouse.inra.fr/prodom/current/cgi-bin/request.pl?question=SPTR&query=$url_id&bool_operator=OR";          my $url = "http://prodom.prabi.fr/prodom/current/cgi-bin/request.pl?question=SPTR&query=$url_id&bool_operator=OR";
92            # my $url = "http://protein.toulouse.inra.fr/prodom/current/cgi-bin/request.pl?question=SPTR&query=$url_id&bool_operator=OR";
93    
94    
95          # Pre-Check to see if there's no entry in ProDom. If there are no entry for the specified id,          # Pre-Check to see if there's no entry in ProDom. If there are no entry for the specified id,
# Line 101  Line 102 
102          if(! ($response->content =~ m/Sorry/i) ) {          if(! ($response->content =~ m/Sorry/i) ) {
103              my $result = $response->content;              my $result = $response->content;
104              # Replace relative paths with absolute paths              # Replace relative paths with absolute paths
105              $result =~ s/\.\./http:\/\/prodes\.toulouse\.inra\.fr\/prodom\/current/g;  
106              $result =~ s/href\=\"\/prodom\.html\"/http:\/\/prodes\.toulouse\.inra\.fr\/prodom\/current\/html\/home\.php/g;              $result =~ s/\.\./http:\/\/prodom\.prabi\.fr\/prodom\/current/g;
107                $result =~ s/href\=\"\/prodom\.html\"/http:\/\/prodom\.prabi\.fr\/prodom\/current\/html\/home\.php/g;
108    
109                #$result =~ s/\.\./http:\/\/prodes\.toulouse\.inra\.fr\/prodom\/current/g;
110                #$result =~ s/href\=\"\/prodom\.html\"/http:\/\/prodes\.toulouse\.inra\.fr\/prodom\/current\/html\/home\.php/g;
111    
112              $result =~ s/<\!DOCTYPE HTML PUBLIC \"-\/\/W3C\/\/DTD HTML 4\.0 Transitional\/\/EN\"//;              $result =~ s/<\!DOCTYPE HTML PUBLIC \"-\/\/W3C\/\/DTD HTML 4\.0 Transitional\/\/EN\"//;
113              $result =~ s/"http\:\/\/www\.w3\.org\/TR\/REC-html40\/loose\.dtd\">//;              $result =~ s/"http\:\/\/www\.w3\.org\/TR\/REC-html40\/loose\.dtd\">//;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3