Bio::EnsEMBL::Collection RepeatFeature
SummaryPackage variablesDescriptionGeneral documentationMethods
Toolbar
WebCvsRaw content
Summary
Bio::EnsEMBL::Collection::Exon - Feature collection implementation for
repeat features.
Package variables
No package variables defined.
Included modules
Bio::EnsEMBL::Utils::Argument ( ' rearrange ' )
Bio::EnsEMBL::Utils::Exception ( ' throw ' )
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
_columnsdescriptionprevnextTop
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;
}
_create_featuredescriptionprevnextTop
sub _create_feature {
  my ( $this, $feature_type, $args ) = @_;

  throw(   '_create_feature() '
         . 'is not implemented for '
         . 'repeat feature collections' );
}
_create_feature_fastdescriptionprevnextTop
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;
}
_default_where_clausedescriptionprevnextTop
sub _default_where_clause {
  my ($this) = @_;

  if ( $this->lightweight() ) { return '' }

  return $this->SUPER::_default_where_clause();
}

1;

# $Id: RepeatFeature.pm,v 1.14 2009/03/04 10:58:13 ak4 Exp $
}
_tablesdescriptionprevnextTop
sub _tables {
  my ($this) = @_;

  my @tables = $this->SUPER::_tables();

  if ( $this->lightweight() ) { return ( $tables[0] ) }

  return @tables;
}
General documentation
LICENSETop
  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
CONTACTTop
  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>.