Author image Lincoln D. Stein
and 1 contributors


Bio::Das::Request::Feature2Segments - Translate feature names into segments


 my @segments             = $request->results;
 my $das_command          = $request->command;
 my $successful           = $request->is_success;
 my $error_msg            = $request->error;
 my ($username,$password) = $request->auth;


This is a subclass of Bio::Das::Request specialized for the "features" command with specialized arguments that allow it to translate a feature name into a segment of the genome. It works by issuing the DAS features command using a type of NULL (which is an invalid feature type) and a feature_id argument. It is used to implement the Bio::Das->get_feature_by_name() method.

The results() method returns a series of Bio::Das::Segment objects. All other methods are as described in Bio::Das::Request. .


Lincoln Stein <>.

Copyright (c) 2003 Cold Spring Harbor Laboratory

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See DISCLAIMER.txt for disclaimers of warranty.


Bio::Das::Request::Features, Bio::Das::Request, Bio::Das::HTTP::Fetch, Bio::Das::Segment, Bio::Das::Type, Bio::Das::Stylesheet, Bio::Das::Source, Bio::RangeI