Bio::EnsEMBL::Lite
DBAdaptor
Toolbar
Summary
Bio::EnsEMBL::Lite::DBAdaptor
Package variables
No package variables defined.
Inherit
Synopsis
$db = Bio::EnsEMBL::DBSQL::DBAdaptor->new(
-user => 'anonymous',
-dbname => 'homo_sapiens_lite_20_34c',
-host => 'ensembldb.ensembl.org',
-driver => 'mysql'
);
$snp_adaptor = $db->get_SNPAdaptor();
@snps = @{ $snp_adaptor->fetch_all_by_Slice($slice) }
Description
This is a database connection to the denormalised lite database. It
allows for the rapid creation of drawable objects that are too slow
to retreive from normalised data sources. Formerly this included many
Ensembl objects such as genes, transcript, exons, etc. but is now
limited to just SNPs.
Methods
get_available_adaptors | No description | Code |
Methods description
None available.
Methods code
get_available_adaptors | description | prev | next | Top |
sub get_available_adaptors
{ my %pairs = ("SNP", "Bio::EnsEMBL::Lite::SNPAdaptor");
return (\%pairs);
}
1; } |
General documentation
Copyright (c) 1999-2009 The European Bioinformatics Institute and
Genome Research Limited. All rights reserved.
This software is distributed under a modified Apache license.
For license details, please see
/info/about/code_licence.html