[Bioperl-l] Bio::DB::GFF feature request granted

lstein at cshl.edu lstein at cshl.edu
Sun Sep 7 16:05:17 EDT 2003


Hi Sheldon,

Your request for a delete() method for the segment object has now been
granted.  CVS update bioperl-live to get your present!

The syntax is:

    $segment = $db->segment(Clone => 'M1022.1');
    $segment->delete(-range_type => 'contains',
		     -type       => 'UTR');

-range_type can be one of 'contains', 'contained_in', or 'overlaps',
the same way features() works.  It defaults to 'overlaps'.  -type is
an optional list of feature types to delete.  It defaults to all
features.

Hopefully this will handle Artemis' needs.

Lincoln

-- 
Lincoln Stein
lstein at cshl.edu
Cold Spring Harbor Laboratory
1 Bungtown Road
Cold Spring Harbor, NY 11724
(516) 367-8380 (voice)
(516) 367-8389 (fax)


More information about the Bioperl-l mailing list