[Bioperl-l] Parsing individual exons from EMBL file

Adam Sjøgren asjo at koldfront.dk
Sat Dec 18 00:29:21 UTC 2010


On Fri, 17 Dec 2010 16:18:40 -0800, Gowthaman wrote:

>     Foreach $feat (@features){
>         $feat->start;
>         $feat->end;

You probably want something like:

          foreach $sub_location ($feat->location->each_Location) {
              say $sub_location->start;
              say $sub_location->end;
          }

in there instead of ->start and ->end on the feature object.


  Best regards,

    Adam

-- 
 "Accept the mystery!"                                        Adam Sjøgren
                                                         asjo at koldfront.dk




More information about the Bioperl-l mailing list