[Bio] / FigKernelPackages / FIGO.pm Repository:
ViewVC logotype

Diff of /FigKernelPackages/FIGO.pm

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

revision 1.9, Mon Feb 26 21:06:58 2007 UTC revision 1.10, Mon Feb 26 22:03:12 2007 UTC
# Line 555  Line 555 
555  sub genome {  sub genome {
556      my($self) = @_;      my($self) = @_;
557    
558      return $self->{_genome};      my $figO = $self->{_figO};
559        return new GenomeO($figO,$self->{_genome});
560  }  }
561    
562    
# Line 653  Line 654 
654      print join("ContigO",$self->genome,$self->id,$self->contig_length),"\n";      print join("ContigO",$self->genome,$self->id,$self->contig_length),"\n";
655  }  }
656    
657    sub features_in_region {
658        my($self,$beg,$end) = @_;
659        my $figO = $self->{_figO};
660        my $fig = $figO->{_fig};
661    
662        my($features) = $fig->genes_in_region($self->genome->id,$self->id,$beg,$end);
663        return map { new FeatureO($figO,$_) } @$features;
664    }
665    
666  ########################################################################  ########################################################################
667  package FeatureO;  package FeatureO;

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3