Lincoln D. Stein > Bio-Das > Bio::Das::Request::Dnas

Download:
Bio-Das-1.17.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
View/Report Bugs
Source  

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 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.

METHODS

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.

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 ^

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

syntax highlighting: