Bio::Das::DSN - Object encapsulation of a DAS data source
my $base = $dsn->base; my $id = $dsn->id; my $host = $dsn->host; my $url = $dsn->url; my $name = $dsn->name; my $description = $dsn->description; my $mapmaster = $dsn->master;
The Bio::Das::DSN object contains information pertaining to a Das data source. A set of these objects are returned by a call to Bio::Das->dsn().
Following is a complete list of methods implemented by Bio::Das::DSN.
Create a new Bio::DAS::DSN object. Ordinarily this is called during the processing of a DAS dsn request and should not be invoked by application code.
Return the base of the DAS server, for example "http://www.wormbase.org/db/das."
Return the hostname of the DAS server, for example "www.wormbase.org."
Return the ID of the DAS data source, for example "elegans."
Return the URL for the request, which will consist of the basename plus the DSN ID. For example "http://www.wormbase.org/db/das/elegans."
The url() method is automatically invoked if the DSN is used in a string context. This makes it convenient to use as a hash key.
Return the human readable name for the DSN. This is usually, but not necessarily, identical to the ID. This field will only be set if the DSN was generated via a Bio::Das->dsn() request. Otherwise it will be undef.
Return the human readable description for the DSN. This field will only be set if the DSN was generated via a Bio::Das->dsn() request. Otherwise it will be undef.
Return the URL of the DAS reference server associated with this DSN. This field will only be set if the DSN was generated via a Bio::Das->dsn() request. Otherwise it will be undef.
This method will return true if two DSN objects are equivalent, false otherwise. This method overloads the eq operator, allowing you to compare to DSNs this way:
if ($dsn1 eq $dsn2) { .... }
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.
Bio::Das::Request, Bio::Das::HTTP::Fetch, Bio::Das::Segment, Bio::Das::Type, Bio::Das::Stylesheet, Bio::Das::Source, Bio::RangeI
To install Bio::Das, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::Das
CPAN shell
perl -MCPAN -e shell install Bio::Das
For more information on module installation, please visit the detailed CPAN module installation guide.