<<

NAME

Sanger::CGP::Vagrent::Data::Deletion - Data object representing a deletion

DESCRIPTION

This is a data class describing a deletion plotted to a genome.

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

METHODS

Constructor

new

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

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

Returns :

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

Params :

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

 delseq => the deleted sequence fragment

Attributes

getDeletedSequence

Usage :
 my $seq = $del->getDeletedSequence;
Function :

Returns the deleted sequence fragment

Returns :

String - DNA sequence

Functions

toString

Usage :
 print $variant->toString;
Function :

Returns a simple string representation of the variant in hgvs genomic syntax

Returns :

String

<<