Mercurial > repos > mahtabm > ensembl
comparison variant_effect_predictor/Bio/LiveSeq/Intron.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 # $Id: Intron.pm,v 1.7 2001/06/18 08:27:53 heikki Exp $ | |
| 2 # | |
| 3 # bioperl module for Bio::LiveSeq::Intron | |
| 4 # | |
| 5 # Cared for by Joseph Insana <insana@ebi.ac.uk> <jinsana@gmx.net> | |
| 6 # | |
| 7 # Copyright Joseph Insana | |
| 8 # | |
| 9 # You may distribute this module under the same terms as perl itself | |
| 10 # | |
| 11 # POD documentation - main docs before the code | |
| 12 | |
| 13 =head1 NAME | |
| 14 | |
| 15 Bio::LiveSeq::Intron - Range abstract class for LiveSeq | |
| 16 | |
| 17 =head1 SYNOPSIS | |
| 18 | |
| 19 # documentation needed | |
| 20 | |
| 21 =head1 DESCRIPTION | |
| 22 | |
| 23 Class for INTRON objects. They consist of a beginlabel, an endlabel (both | |
| 24 referring to a LiveSeq DNA object) and a strand. | |
| 25 The strand could be 1 (forward strand, default), -1 (reverse strand). | |
| 26 | |
| 27 =head1 AUTHOR - Joseph A.L. Insana | |
| 28 | |
| 29 Email: Insana@ebi.ac.uk, jinsana@gmx.net | |
| 30 | |
| 31 Address: | |
| 32 | |
| 33 EMBL Outstation, European Bioinformatics Institute | |
| 34 Wellcome Trust Genome Campus, Hinxton | |
| 35 Cambs. CB10 1SD, United Kingdom | |
| 36 | |
| 37 =head1 APPENDIX | |
| 38 | |
| 39 The rest of the documentation details each of the object | |
| 40 methods. Internal methods are usually preceded with a _ | |
| 41 | |
| 42 =cut | |
| 43 | |
| 44 # Let the code begin... | |
| 45 | |
| 46 package Bio::LiveSeq::Intron; | |
| 47 $VERSION=1.0; | |
| 48 | |
| 49 # Version history: | |
| 50 # Mon Mar 20 22:26:13 GMT 2000 v 1.0 begun | |
| 51 | |
| 52 use strict; | |
| 53 use vars qw($VERSION @ISA); | |
| 54 use Bio::LiveSeq::Range 1.2; # uses Range, inherits from it | |
| 55 @ISA=qw(Bio::LiveSeq::Range); | |
| 56 | |
| 57 =head2 new | |
| 58 | |
| 59 Title : new | |
| 60 Usage : $intron1=Bio::LiveSeq::Intron->new(-seq => $objref, | |
| 61 -start => $startlabel, | |
| 62 -end => $endlabel, | |
| 63 -strand => 1 | |
| 64 ); | |
| 65 | |
| 66 Function: generates a new Bio::LiveSeq::Intron | |
| 67 Returns : reference to a new object of class Intron | |
| 68 Errorcode -1 | |
| 69 Args : two labels and an integer | |
| 70 | |
| 71 =cut | |
| 72 | |
| 73 1; |
