[Bioperl-guts-l] bioperl-live/Bio/Graphics/Glyph dna.pm,1.29,1.30

Lincoln Stein lstein at dev.open-bio.org
Tue Jan 2 15:01:24 EST 2007


Update of /home/repository/bioperl/bioperl-live/Bio/Graphics/Glyph
In directory dev.open-bio.org:/tmp/cvs-serv4935

Modified Files:
	dna.pm 
Log Message:
added better explanation of how to use dna glyph with a generic seqfeature object

Index: dna.pm
===================================================================
RCS file: /home/repository/bioperl/bioperl-live/Bio/Graphics/Glyph/dna.pm,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** dna.pm	24 Dec 2006 17:21:26 -0000	1.29
--- dna.pm	2 Jan 2007 20:01:21 -0000	1.30
***************
*** 265,269 ****
  
  For this glyph to work, the feature must return a DNA sequence string
! in response to the dna() method.
  
  =head2 OPTIONS
--- 265,277 ----
  
  For this glyph to work, the feature must return a DNA sequence string
! in response to the dna() method. For example, you can use a
! Bio::SeqFeature::Generic object with an attached Bio::PrimarySeq
! like this:
!     my $dna = Bio::PrimarySeq->new( -seq => 'A' x 1000 );
!     my $feature = Bio::SeqFeature::Generic->new( -start => 1, -end => 800 );
!     $feature->attach_seq($dna);
!     $panel->add_track( $feature, -glyph => 'dna' );
! 
! A Bio::Graphics::Feature object may also be used.
  
  =head2 OPTIONS



More information about the Bioperl-guts-l mailing list