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

Diff of /FigKernelScripts/sphinx_index_genome.pl

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

revision 1.1, Mon Jun 7 18:20:23 2010 UTC revision 1.2, Mon Jun 7 18:30:01 2010 UTC
# Line 24  Line 24 
24      {      {
25          my($fid, $loc, $aliases, $type, $b, $e, $func, $who) = @$feature;          my($fid, $loc, $aliases, $type, $b, $e, $func, $who) = @$feature;
26    
27            my @ss = $fig->peg_to_subsystems($fid, 1, 1);
28            @ss = map { encode_utf8($_) } @ss;
29            my $ss = join("\n", map { s/_/ /g; $_ } @ss);
30    
31          $func = encode_utf8($func);          $func = encode_utf8($func);
32          $func =~ s/&/&/g;          $func =~ s/&/&/g;
33          $func =~ s/</&lt;/g;          $func =~ s/</&lt;/g;
# Line 45  Line 49 
49  <fid>$fid</fid>  <fid>$fid</fid>
50  <annotation>$func</annotation>  <annotation>$func</annotation>
51  <content>$genome $gs  <content>$genome $gs
52  $aliases</content>  $aliases
53    $ss</content>
54  </sphinx:document>  </sphinx:document>
55  END  END
56          }          }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3