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


NAME

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


SYNOPSIS

 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;


DESCRIPTION

This is a subclass of the Bio::Das::Request manpage specialized for the "dna" command. It is used to retrieve the DNA corresponding to a set of segments on a set of DAS servers.

METHODS

All methods are the same as the Bio::Das::Request manpage 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.


AUTHOR

Lincoln Stein <lstein@cshl.org>.

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.


SEE ALSO

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

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