Mercurial > repos > mahtabm > ensembl
comparison variant_effect_predictor/Bio/Map/LinkagePosition.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 # BioPerl module for Bio::Map::LinkagePosition | |
| 2 # | |
| 3 # Cared for by Chad Matsalla <bioinformatics1@dieselwurks.com> | |
| 4 # | |
| 5 # Copyright Chad Matsalla | |
| 6 # | |
| 7 # You may distribute this module under the same terms as perl itself | |
| 8 | |
| 9 # POD documentation - main docs before the code | |
| 10 | |
| 11 =head1 NAME | |
| 12 | |
| 13 Bio::Map::LinkagePosition - Create a Position for a Marker that will be placed | |
| 14 on a Bio::Map::LinkageMap | |
| 15 | |
| 16 =head1 SYNOPSIS | |
| 17 | |
| 18 use Bio::Map::Position; | |
| 19 my $position = new Bio::Map::LinkagePosition(-positions => 1, | |
| 20 -distance => 22.1 ); | |
| 21 | |
| 22 # can get listing of positions | |
| 23 my @positions = $position->each_position; | |
| 24 | |
| 25 | |
| 26 =head1 DESCRIPTION | |
| 27 | |
| 28 Position for a Bio::Map::MarkerI compliant object that will be | |
| 29 placed on a Bio::Map::LinkageMap. See L<Bio::Map::MarkerI> and | |
| 30 L<Bio::Map::LinkageMap> for details | |
| 31 | |
| 32 =head1 FEEDBACK | |
| 33 | |
| 34 =head2 Mailing Lists | |
| 35 | |
| 36 User feedback is an integral part of the evolution of this and other | |
| 37 Bioperl modules. Send your comments and suggestions preferably to | |
| 38 the Bioperl mailing list. Your participation is much appreciated. | |
| 39 | |
| 40 bioperl-l@bioperl.org - General discussion | |
| 41 http://bioperl.org/MailList.shtml - About the mailing lists | |
| 42 | |
| 43 =head2 Reporting Bugs | |
| 44 | |
| 45 Report bugs to the Bioperl bug tracking system to help us keep track | |
| 46 of the bugs and their resolution. Bug reports can be submitted via | |
| 47 email or the web: | |
| 48 | |
| 49 bioperl-bugs@bioperl.org | |
| 50 http://bugzilla.bioperl.org/ | |
| 51 | |
| 52 =head1 AUTHOR - Chad Matsalla | |
| 53 | |
| 54 Email bioinformatics1@dieselwurks.com | |
| 55 | |
| 56 =head1 CONTRIBUTORS | |
| 57 | |
| 58 Lincoln Stein, lstein@cshl.org | |
| 59 Heikki Lehvaslaiho, heikki@ebi.ac.uk | |
| 60 Jason Stajich jason@bioperl.org | |
| 61 | |
| 62 =head1 APPENDIX | |
| 63 | |
| 64 The rest of the documentation details each of the object methods. | |
| 65 Internal methods are usually preceded with a _ | |
| 66 | |
| 67 =cut | |
| 68 | |
| 69 | |
| 70 # Let the code begin... | |
| 71 | |
| 72 | |
| 73 package Bio::Map::LinkagePosition; | |
| 74 use vars qw(@ISA); | |
| 75 use strict; | |
| 76 require 'dumpvar.pl'; | |
| 77 | |
| 78 use Bio::Map::OrderedPosition; | |
| 79 | |
| 80 @ISA = qw(Bio::Map::OrderedPosition); | |
| 81 | |
| 82 =head2 new | |
| 83 | |
| 84 Title : new | |
| 85 Usage : my $obj = new Bio::Map::LinkagePosition(-positions => $position, | |
| 86 -distance => $distance ); | |
| 87 Function: Builds a new Bio::Map::LinkagePosition object | |
| 88 Returns : Bio::Map::LinkagePosition | |
| 89 Args : -order => the relative order of this marker on a linkage map | |
| 90 -positions => positions on a map | |
| 91 =cut | |
| 92 | |
| 93 =head2 Bio::Map::PositionI methods | |
| 94 | |
| 95 =cut | |
| 96 | |
| 97 =head2 order | |
| 98 | |
| 99 Title : order | |
| 100 Usage : $o_position->order($new_position) _or_ | |
| 101 $o_position->order() | |
| 102 Function: get/set the order position of this position in a map | |
| 103 Returns : | |
| 104 Args : If $new_position is provided, the current position of this Position | |
| 105 will be set to $new_position. | |
| 106 | |
| 107 =cut | |
| 108 | |
| 109 | |
| 110 1; |
