The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Bio::Das::Source - A data source associated with a DAS server

SYNOPSIS

  use Bio::Das;

  # contact the DAS server at wormbase.org
  my $das      = Bio::Das->new('http://www.wormbase.org/db/das');

  # find out what data sources are available:
  my @sources  $das->sources;

  # select one that has something to do with human
  ($h) = grep /human/,@sources;
   $das->dsn($h);

DESCRIPTION

The Bio::Das::Source class contains information about one of the data sources available from a DAS server. These objects are returned by the Bio::Das->sources() method, and can be passed to Bio::Das->source() to select the data source.

METHODS

$id = $source->id([$newid])

Get or set the ID of the source. This is usually a short identifier such as "elegans".

$name = $source->name([$newname])

Get or set the name of the source. This is a human-readable label.

$description = $source->description([$newdescription])

Get or set the description for the source. This is a longer human-readable description of what the source contains.

$mapmapster = $source->mapmapster([$newmapmapster])

Get or set the URL that contains the address of the reference server that is authoritative for the physical map.

STRING OVERLOADING

The "" operator is overloaded in this class so that the ID is returned when the source is used in a string context. If the ID is undefed (which should "never happen") the name is returned instead.

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