comparison variant_effect_predictor/Bio/EnsEMBL/Mapper/IndelPair.pm @ 0:1f6dce3d34e0

Uploaded
author mahtabm
date Thu, 11 Apr 2013 02:01:53 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:1f6dce3d34e0
1 =head1 LICENSE
2
3 Copyright (c) 1999-2012 The European Bioinformatics Institute and
4 Genome Research Limited. All rights reserved.
5
6 This software is distributed under a modified Apache license.
7 For license details, please see
8
9 http://www.ensembl.org/info/about/code_licence.html
10
11 =head1 CONTACT
12
13 Please email comments or questions to the public Ensembl
14 developers list at <dev@ensembl.org>.
15
16 Questions may also be sent to the Ensembl help desk at
17 <helpdesk@ensembl.org>.
18
19 =cut
20
21 =head1 NAME
22
23 Bio::EnsEMBL::Mapper::IndelPair
24
25 =head1 SYNOPSIS
26
27 =head1 DESCRIPTION
28
29 Two regions mapped between different coordinate systems are each
30 represented by a Bio::EnsEMBL::Mapper::Unit and joined together as a
31 Bio::EnsEMBL::Mapper::Pair, when one of the regions is an indel.
32
33 =head1 METHODS
34
35 =cut
36
37 package Bio::EnsEMBL::Mapper::IndelPair;
38
39 use vars qw(@ISA);
40 use strict;
41
42 @ISA = qw(Bio::EnsEMBL::Mapper::Pair);
43
44 sub new {
45 my ($proto, @args) = @_;
46
47 my $class = ref($proto) || $proto;
48
49 my $self = $class->SUPER::new(@args); # create the Pair object
50 $self->{'indel'} = 1; # and add the Indel flag
51
52 return $self;
53 }
54
55 1;