Sanger::CGP::Vagrent::Data::Exon - Data object representing an exon
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
my $exon = Sanger::CGP::Vagrent::Data::Exon->new(%params);
Builds a new Sanger::CGP::Vagrent::Data::Exon object
Sanger::CGP::Vagrent::Data::Exon object initialized with parameter values
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
my $rnaMin = $exon->getRnaMinPos;
Returns the exons minimum position in the rna sequence
Integer
my $rnaMax = $exon->getRnaMaxPos;
Returns the exons maximum position in the rna sequence
Integer
print $exon->toString;
Returns a simple string representation of the genomic view of the exon (chr:min..max)
String