[Bioperl-guts-l] [14725] bioperl-live/trunk/Bio/DB/Fasta.pm: doc expansion

Jason Stajich jason at dev.open-bio.org
Fri Jun 13 14:58:21 EDT 2008


Revision: 14725
Author:   jason
Date:     2008-06-13 14:58:19 -0400 (Fri, 13 Jun 2008)

Log Message:
-----------
doc expansion

Modified Paths:
--------------
    bioperl-live/trunk/Bio/DB/Fasta.pm

Modified: bioperl-live/trunk/Bio/DB/Fasta.pm
===================================================================
--- bioperl-live/trunk/Bio/DB/Fasta.pm	2008-06-12 17:11:17 UTC (rev 14724)
+++ bioperl-live/trunk/Bio/DB/Fasta.pm	2008-06-13 18:58:19 UTC (rev 14725)
@@ -30,8 +30,9 @@
   my $db      = Bio::DB::Fasta->new('/path/to/fasta/files');
 
   my $obj     = $db->get_Seq_by_id('CHROMOSOME_I');
-  my $seq     = $obj->seq;
-  my $subseq  = $obj->subseq(4_000_000 => 4_100_000);
+  my $seq     = $obj->seq; # sequence string
+  my $subseq  = $obj->subseq(4_000_000 => 4_100_000); # string
+  my $trunc   = $obj->trunc(4_000_000 => 4_100_000); # seq object
   my $length  = $obj->length;
   # (etc)
 




More information about the Bioperl-guts-l mailing list