Bio::EnsEMBL::Analysis::Tools::Pmatch CoordPair
Included librariesPackage variablesGeneral documentationMethods
Toolbar
WebCvsRaw content
Package variables
No package variables defined.
Included modules
Bio::EnsEMBL::Utils::Argument qw ( rearrange )
Bio::EnsEMBL::Utils::Exception qw ( throw warning )
Inherit
Unavailable
Synopsis
No synopsis!
Description
No description!
Methods
newDescriptionCode
percent
No description
Code
qend
No description
Code
qstart
No description
Code
queryDescriptionCode
strand
No description
Code
targetDescriptionCode
tend
No description
Code
tstart
No description
Code
Methods description
newcode    nextTop
 Title   : new
Usage :
Function: constructor
Example :
Returns :
Args :
querycodeprevnextTop
 Title   : query
Usage :
Function: get/set for query (contig name)
Example :
Returns :
Args :
targetcodeprevnextTop
 Title   : target
Usage :
Function: get/set for target (protein name)
Example :
Returns :
Args :
Methods code
newdescriptionprevnextTop
sub new {
  my ($class, @args) = @_;
  my $self = bless {}, $class;

  my ($query, $target, $qstart, $qend, $tstart, $tend, $percent, $strand) = 
    rearrange(['QUERY',
               'TARGET',
               'QSTART',
               'QEND',
               'TSTART',
               'TEND', 
               'PERCENT',
               'STRAND'],@args);
  
  throw("No query") unless defined $query;
  $self->query($query);

  throw("No target") unless defined $target;
  $self->target($target);

  throw("No query start") unless defined $qstart;
  $self->qstart($qstart);

  throw("No query end") unless defined $qend;
  $self->qend($qend);

  throw("No target start") unless defined $tstart;
  $self->tstart($tstart);

  throw("No target end") unless defined $tend;
  $self->tend($tend);

  throw("No percent") unless defined $percent;
  $self->percent($percent);

  throw("No strand") unless defined $strand;
  $self->strand($strand);

  return $self;
}
percentdescriptionprevnextTop
sub percent {
  my ($self,$arg) = @_;
  if ($arg) {
    $self->{'percent'} = $arg;
  }
  return $self->{'percent'};
}
qenddescriptionprevnextTop
sub qend {
  my ($self,$arg) = @_;
  if ($arg) {
    $self->{'qend'} = $arg;
  }
  return $self->{'qend'};
}
qstartdescriptionprevnextTop
sub qstart {
  my ($self,$arg) = @_;
  if ($arg) {
    $self->{'qstart'} = $arg;
  }
  return $self->{'qstart'};
}
querydescriptionprevnextTop
sub query {
  my ($self,$arg) = @_;
  if ($arg) {
    $self->{'query'} = $arg;
  }
  return $self->{'query'};
}
stranddescriptionprevnextTop
sub strand {
  my ($self,$arg) = @_;
  if ($arg) {
    $self->{'strand'} = $arg;
  }
  return $self->{'strand'};
}



1;
}
targetdescriptionprevnextTop
sub target {
  my ($self,$arg) = @_;
  if ($arg) {
    $self->{'target'} = $arg;
  }
  return $self->{'target'};
}
tenddescriptionprevnextTop
sub tend {
  my ($self,$arg) = @_;
  if ($arg) {
    $self->{'tend'} = $arg;
  }
  return $self->{'tend'};
}
tstartdescriptionprevnextTop
sub tstart {
  my ($self,$arg) = @_;
  if ($arg) {
    $self->{'tstart'} = $arg;
  }
  return $self->{'tstart'};
}
General documentation
No general documentation available.