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

Diff of /FigKernelPackages/Overlap.pm

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

revision 1.3, Mon Dec 5 19:06:30 2005 UTC revision 1.4, Thu Dec 6 13:59:34 2007 UTC
# Line 61  Line 61 
61    
62  =head3 new  =head3 new
63    
64  C<< my $olap = Overlap->new($loc0, $loc1); >>      my $olap = Overlap->new($loc0, $loc1);
65    
66  Construct an overlap object from two augmented locations.  Construct an overlap object from two augmented locations.
67    
# Line 77  Line 77 
77    
78  =back  =back
79    
80  C<< my $olap = Overlap->new($olapString); >>      my $olap = Overlap->new($olapString);
81    
82  Construct an overlap object from a display string.  Construct an overlap object from a display string.
83    
# Line 148  Line 148 
148    
149  =head3 CheckOverlap  =head3 CheckOverlap
150    
151  C<< my ($type, $len) = Overlap::CheckOverlap($loc0, $loc1); >>      my ($type, $len) = Overlap::CheckOverlap($loc0, $loc1);
152    
153  Check for an overlap between two locations.  Check for an overlap between two locations.
154    
# Line 218  Line 218 
218    
219  =head3 Type  =head3 Type
220    
221  C<< my $type = $olap->Type; >>      my $type = $olap->Type;
222    
223  Return the type of this overlap.  Return the type of this overlap.
224    
# Line 233  Line 233 
233    
234  =head3 Length  =head3 Length
235    
236  C<< my $len = $olap->Length; >>      my $len = $olap->Length;
237    
238  Return the number of overlapping base pairs.  Return the number of overlapping base pairs.
239    
# Line 248  Line 248 
248    
249  =head3 Loc  =head3 Loc
250    
251  C<< my $loc = $olap->Loc($name); >>      my $loc = $olap->Loc($name);
252    
253  Return the named location. The location returned will be a location object augmented with the  Return the named location. The location returned will be a location object augmented with the
254  relevant feature ID (C<fid>) and segment index (C<index>).  relevant feature ID (C<fid>) and segment index (C<index>).
# Line 290  Line 290 
290    
291  =head3 String  =head3 String
292    
293  C<< my $olapString = $olap->String; >>      my $olapString = $olap->String;
294    
295  Return a string representation of this overlap.  Return a string representation of this overlap.
296    
# Line 311  Line 311 
311    
312  =head3 Matches  =head3 Matches
313    
314  C<< my $flag = Overlap::Matches($olapA, $olapB); >>      my $flag = Overlap::Matches($olapA, $olapB);
315    
316  Return TRUE if the two overlaps contain the same data, else FALSE.  Return TRUE if the two overlaps contain the same data, else FALSE.
317    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3