ConnectorSet/DoTS.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 27 CC 2 SCAR 12.8
CC
2
Cov
0%
parse_entry
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.6
1 package Bio::ConnectDots::ConnectorSet::DoTS;
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 if (/^DT/) {
15 my ($DoTS_ID, $LocusLink) = split /\s+/;
16 $self->put_dot('DoTS_ID',$DoTS_ID);
17 $self->put_dot('LocusLink',$LocusLink);
18 return 1;
19 }
20 } #end of while
21 return undef;
22 }
23  
24 1;