No subject

Ewan Birney birney@ebi.ac.uk
Thu, 16 Mar 2000 05:35:33 +0000 (GMT)


To get hold of the feature table use the top_SeqFeatures
method

(this is for 0.6 release only code)

for example:

  foreach $f ( $seq->top_SeqFeatures() ) {
       # CDS tags mapped to CDS_span with sub features
       if( $f->primary_tag() eq 'CDS_span') {
          foreach $sub ( $f->sub_SeqFeatures ) {
               print "CDS starts ".$sub->start." ".$sub->end."\n";
	  }
       }
   }


Please, feel free to keep an emacs buffer open while you write
the code, so that you can 

	a) comment on where the documentation is not helpful

	b) perhaps add a paragraph to the biostart.pod file for
people starting

	c) perhaps add better documentation to Bio::Seq.pm or
Bio::SeqFeatureI.pm


many thanks


ewan



=========== Bioperl Project Mailing List Message Footer =======
Project URL: http://bio.perl.org/
For info about how to (un)subscribe, where messages are archived, etc:
http://www.techfak.uni-bielefeld.de/bcd/Perl/Bio/vsns-bcd-perl.html
====================================================================