Summary | Included libraries | Package variables | Synopsis | Description | General documentation | Methods |
WebCvs | Raw content |
my $feature = Bio::EnsEMBL::Map::Ditag->new(
-dbID => $tag_id,
-name => $name,
-type => $type,
-tag_count => $tag_count,
-sequence => $sequence,
-adaptor => $dbAdaptor
);
dbID | Description | Code |
get_ditagFeatures | Description | Code |
name | Description | Code |
new | Description | Code |
sequence | Description | Code |
tag_count | Description | Code |
type | Description | Code |
dbID | code | next | Top |
Arg [1] : (optional) int id |
get_ditagFeatures | code | prev | next | Top |
Arg : none |
name | code | prev | next | Top |
Arg [1] : (optional) string $type |
new | code | prev | next | Top |
Arg [1] : (optional) int $dbID |
sequence | code | prev | next | Top |
Arg [1] : (optional) string $sequence |
tag_count | code | prev | next | Top |
Arg [1] : (optional) string $tag_count |
type | code | prev | next | Top |
Arg [1] : (optional) string $type |
dbID | description | prev | next | Top |
my $self = shift; if(@_) { $self->{'dbID'} = shift; } return $self->{'dbID'};}
get_ditagFeatures | description | prev | next | Top |
my $self = shift; return $self->adaptor->db->get_adaptor("ditagFeature") ->fetch_all_by_ditagID($self->dbID); } 1;}
name | description | prev | next | Top |
my $self = shift; if(@_) { $self->{'name'} = shift; } return $self->{'name'};}
new | description | prev | next | Top |
my ($caller, @args) = @_; my ($dbID, $name, $type, $tag_count, $sequence, $adaptor) = rearrange( [ 'DBID', 'NAME', 'TYPE', 'TAG_COUNT', 'SEQUENCE', 'ADAPTOR' ], @args); my $class = ref($caller) || $caller; if(!$name or !$type or !$sequence) { throw('Missing information for Ditag object:}
Bio::EnsEMBL::Map::Ditag->new (
-dbID => $tag_id,
-name => $name,
-type => $type,
-tag_count => $tag_count,
-sequence => $sequence,
-adaptor => $dbAdaptor
);'); } if(!$tag_count){ $tag_count = 0; } if(!($sequence =~ /^[ATCGN]+$/i)){ throw('ditag sequence contains non-standard characters: '.$sequence); } my $self = bless( {'dbID' => $dbID, 'name' => $name, 'type' => $type, 'tag_count' => $tag_count, 'sequence' => $sequence, 'adaptor' => $adaptor, }, $class); return $self;
sequence | description | prev | next | Top |
my $self = shift; if(@_) { $self->{'sequence'} = shift; } return $self->{'sequence'};}
tag_count | description | prev | next | Top |
my $self = shift; if(@_) { $self->{'tag_count'} = shift; } return $self->{'tag_count'};}
type | description | prev | next | Top |
my $self = shift; if(@_) { $self->{'type'} = shift; } return $self->{'type'};}
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>.