3 # BioPerl module for Bio::PopGen::GenotypeI
5 # Cared for by Jason Stajich <jason-at-bioperl.org>
7 # Copyright Jason Stajich
9 # You may distribute this module under the same terms as perl itself
11 # POD documentation - main docs before the code
15 Bio::PopGen::GenotypeI - A marker and alleles for a specific individual
19 Give standard usage here
23 Describe the interface here
29 User feedback is an integral part of the evolution of this and other
30 Bioperl modules. Send your comments and suggestions preferably to
31 the Bioperl mailing list. Your participation is much appreciated.
33 bioperl-l@bioperl.org - General discussion
34 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
38 Report bugs to the Bioperl bug tracking system to help us keep track
39 of the bugs and their resolution. Bug reports can be submitted via
42 http://bugzilla.open-bio.org/
44 =head1 AUTHOR - Jason Stajich
46 Email jason-at-bioperl.org
50 The rest of the documentation details each of the object methods.
51 Internal methods are usually preceded with a _
56 # Let the code begin...
59 package Bio
::PopGen
::GenotypeI
;
63 use base
qw(Bio::Root::RootI);
68 Usage : my $name = $genotype->marker_name();
69 Function: Get the marker name for a genotype result
78 $self->throw_not_implemented();
84 Usage : my $indid = $genotype->individual_id();
85 Function: Gets the individual id associated with a genotype
86 This is effectively a back reference since we will typically
87 associate a genotype with an individual with an
88 individual HAS-A genotype relationship.
89 Returns : unique id string for an individual
97 $self->throw_not_implemented();
103 Usage : my @alleles = $genotype->get_Alleles();
104 Function: Get the alleles for a given marker and individual
105 Returns : array of alleles (strings in many implementations)
113 $self->throw_not_implemented();