Bio::EnsEMBL::Collection
RepeatFeature
Toolbar
Summary
Bio::EnsEMBL::Collection::Exon - Feature collection implementation for
repeat features.
Package variables
No package variables defined.
Included modules
Synopsis
No synopsis!
Description
A repeat feature is represented by the basic feature representation (see
documentation of Bio::EnsEMBL::Collection) and by the following extended
feature representation:
1.
Repeat start
2.
Repeat end
3.
Repeat consensus internal ID
4.
Analysis internal ID
5.
Score
Methods
_columns | No description | Code |
_create_feature | No description | Code |
_create_feature_fast | No description | Code |
_default_where_clause | No description | Code |
_tables | No description | Code |
Methods description
None available.
Methods code
sub _columns
{ my ($this) = @_;
my @columns = $this->SUPER::_columns();
if ( $this->lightweight() ) {
@columns[ Bio::EnsEMBL::Collection::BASIC_SLOTS .. $#columns ] =
map( 1, Bio::EnsEMBL::Collection::BASIC_SLOTS .. $#columns );
}
return @columns; } |
sub _create_feature
{ my ( $this, $feature_type, $args ) = @_;
throw( '_create_feature() '
. 'is not implemented for '
. 'repeat feature collections' ); } |
sub _create_feature_fast
{ my ( $this, $feature_type, $args ) = @_;
my $feature =
$this->SUPER::_create_feature_fast( $feature_type, $args );
if ( !$this->lightweight() ) {
push( @{$feature},
$args->{'hstart'}, $args->{'hend'},
$args->{'repeat_consensus'}->dbID(),
$args->{'analysis'}->dbID(),
$args->{'score'} );
}
return $feature; } |
sub _default_where_clause
{ my ($this) = @_;
if ( $this->lightweight() ) { return '' }
return $this->SUPER::_default_where_clause();
}
1;
} |
sub _tables
{ my ($this) = @_;
my @tables = $this->SUPER::_tables();
if ( $this->lightweight() ) { return ( $tables[0] ) }
return @tables; } |
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