<<

NAME

Sanger::CGP::Vagrent::Data::Exon - Data object representing an exon

DESCRIPTION

This is a data class to hold details about an exon. This allows the exon information to be abstracted away from its original source.

It inherits from Sanger::CGP::Vagrent::Data::AbstractGenomicPosition

METHODS

Constructor

new

Usage :
 my $exon = Sanger::CGP::Vagrent::Data::Exon->new(%params);
Function :

Builds a new Sanger::CGP::Vagrent::Data::Exon object

Returns :

Sanger::CGP::Vagrent::Data::Exon object initialized with parameter values

Params :

Same as the constructor from Sanger::CGP::Vagrent::Data::AbstractGenomicPosition plus

 rnaminpos => minimum position of the exon in the mRNA
 rnamaxpos => maximum position of the exon in the mRNA

Attributes

getRnaMinPos

Usage :
 my $rnaMin = $exon->getRnaMinPos;
Function :

Returns the exons minimum position in the rna sequence

Returns :

Integer

getRnaMaxPos

Usage :
 my $rnaMax = $exon->getRnaMaxPos;
Function :

Returns the exons maximum position in the rna sequence

Returns :

Integer

Functions

toString

Usage :
 print $exon->toString;
Function :

Returns a simple string representation of the genomic view of the exon (chr:min..max)

Returns :

String

<<