Author image Lincoln D. Stein
and 1 contributors


Bio::Das::Request::Dnas - The DAS "dna" request


 my @dnas                 = $request->results;
 my $dnas                 = $request->results;

 my $dsn                  = $request->dsn;
 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 "dna" command. It is used to retrieve the DNA corresponding to a set of segments on a set of DAS servers.


All methods are the same as Bio::Das::Request with the exception of results(), which has been overridden to produce specialized behavior.

$results = $request->results

In a scalar context, results() returns a hashref in which the keys are segment strings (in the form "ref:start,end") and the values are the DNAs corresponding to those segments.

@results = $request->results

In a list context, results() returns a list of the DNAs in the order in which the segments were requested.


Lincoln Stein <>.

Copyright (c) 2001 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, Bio::Das::HTTP::Fetch, Bio::Das::Segment, Bio::Das::Type, Bio::Das::Stylesheet, Bio::Das::Source, Bio::RangeI

1 POD Error

The following errors were encountered while parsing the POD:

Around line 124:

You forgot a '=back' before '=head1'