ConnectorSet/kegg_title.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 25 CC 1 SCAR 6.9
CC
1
Cov
0%
parse_entry
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Bio::ConnectDots::ConnectorSet::kegg_title;
2  
3 use strict;
4 use vars qw(@ISA);
5 use Bio::ConnectDots::ConnectorSet;
6 @ISA = qw(Bio::ConnectDots::ConnectorSet);
7  
8 sub parse_entry {
9 my ($self) = @_;
10 my $input_fh = $self->input_fh;
11  
12 while (<$input_fh>) {
13 chomp;
14 my ($id, $name) = split('\t', $line);
15 $name =~ s/\'/\'\'/g;
16 $self->put_dot('Kegg_Pathway_ID',$id);
17 $self->put_dot('Kegg_Pathway_Name',$name);
18 return 1;
19 } #end of while
20 return undef;
21 }
22  
23 1;