Summary | Included libraries | Package variables | Synopsis | Description | General documentation | Methods |
WebCvs | Raw content |
my $apa = $db->get_AffyProbeAdaptor();
my $probe = $opa->fetch_by_array_probeset_probe( 'Affy-1', 'Probeset-1', 'Probe-1' );
_objs_from_sth | Description | Code |
fetch_all_by_AffyArray | Description | Code |
fetch_by_AffyArray | Description | Code |
fetch_by_AffyFeature | Description | Code |
list_dbIDs | Description | Code |
_objs_from_sth | code | next | Top |
Arg [1] : DBI statement handle object |
fetch_all_by_AffyArray | code | prev | next | Top |
Arg [1] : Bio::EnsEMBL::AffyArray |
fetch_by_AffyArray | code | prev | next | Top |
Arg [1] : Bio::EnsEMBL::AffyArray |
fetch_by_AffyFeature | code | prev | next | Top |
Arg [1] : Bio::EnsEMBL::AffyFeature |
list_dbIDs | code | prev | next | Top |
Arg [1] : none |
_objs_from_sth | description | prev | next | Top |
my ($self, $sth) = @_; my (@result, $current_dbid, $probe_id, $array_id, $probeset, $name, $description, $probelength); my ($array, %array_cache); $sth->bind_columns(\$ probe_id,\$ array_id,\$ probeset,\$ name,\$ description,\$ probelength ); my $probe; while ( $sth->fetch() ) { $array = $array_cache{$array_id} || $self->db->get_AffyArrayAdaptor()->fetch_by_dbID($array_id); if (!$current_dbid || $current_dbid != $probe_id) { # New probe}
$probe = Bio::EnsEMBL::AffyProbe->new( -name => $name, -array => $array, -probeset => $probeset, -description => $description, -probelength => $probelength, -dbID => $probe_id, -adaptor => $self, ); push @result, $probe; $current_dbid = $probe_id; } else { # Extend existing probe
$probe->add_Array_probename($array, $name); } } return\@ result;
fetch_all_by_AffyArray | description | prev | next | Top |
my $self = shift; my $array = shift; return $self->fetch_all_by_Array($array);}
fetch_by_AffyArray | description | prev | next | Top |
my $self = shift; my $array = shift; deprecate('fetch_all_by_Array() should be used instead of the deprecated fetch_by_AffyArray().'); return $self->fetch_all_by_Array($array);}
fetch_by_AffyFeature | description | prev | next | Top |
my $self = shift; my $feature = shift; return $self->fetch_by_OligoFeature($feature);}
list_dbIDs | description | prev | next | Top |
my ($self) = @_; #return $self->_list_dbIDs('oligo_probe');}
# Can't use _list_dbIDs because only want OligoProbe objects on arrays of type AFFY
my @out; # FIXME: This SQL will not work as expected on multi-species
# databases. It needs to be anchored in a coord_system entry
# coord_system.species_id = $self->species_id(). /ak4@2008-07-15
my $sql = " SELECT DISTINCT op.oligo_probe_id FROM oligo_probe op, oligo_array oa WHERE op.oligo_array_id=oa.oligo_array_id AND oa.type='AFFY' "; my $sth = $self->prepare($sql); $sth->execute; while (my ($id) = $sth->fetchrow() ) { push @out, $id; } $sth->finish; return\@ out; } 1;
LICENSE | Top |
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
CONTACT | Top |
Please email comments or questions to the public Ensembl
developers list at <ensembl-dev@ebi.ac.uk>.
Questions may also be sent to the Ensembl help desk at <helpdesk@ensembl.org>.