Sanger::CGP::Vagrent::Data::Substitution - Data object representing a substitution
This is a data class describing a substitution variant plotted to a genome.
It inherits from Sanger::CGP::Vagrent::Data::AbstractGenomicPosition and Sanger::CGP::Vagrent::Data::AbstractVariation
my $cplx = Sanger::CGP::Vagrent::Data::Substitution->new(%params);
Builds a new Sanger::CGP::Vagrent::Data::Substitution object
Sanger::CGP::Vagrent::Data::Substitution object initialized with parameter values
Same as the constructor from Sanger::CGP::Vagrent::Data::AbstractGenomicPosition plus
wt => the wildtype sequence mt => the mutant/variant sequence
my $seq = $sub->getWt;
Returns the wildtype sequence string
String - DNA sequence
my $seq = $sub->getMt;
Returns the mutated/variant sequence string
String - DNA sequence
print $variant->toString;
Returns a simple string representation of the variant in hgvs genomic syntax
String