Merge pull request #5051 from solgenomics/topic/locus_owner
[sgn.git] / lib / Bio / GeneticRelationships / Descendants.pm
blob6a9c59a06cb3329dba82220820d8a7d2f601ac6f
1 package Bio::GeneticRelationships::Descendants;
2 use strict;
3 use warnings;
5 use Moose;
6 use MooseX::FollowPBP;
7 use Moose::Util::TypeConstraints;
8 use Bio::GeneticRelationships::Individual;
10 =head1 NAME
12 Bio::GeneticRelationships::Descendants - Descendants of an individual
14 =head1 SYNOPSIS
16 my $variable = Bio::GeneticRelationships::Descendants->new();
18 =head1 DESCRIPTION
20 This class stores an individual's descendants and their relationships.
22 =head2 Methods
24 =over
26 =cut
31 has 'name' => (isa => 'Str',is => 'rw', predicate => 'has_name', required => 1,);
32 has 'offspring' => (isa => 'ArrayRef[Bio::GeneticRelationships::Individual]', is => 'rw', predicate => 'has_offspring');
35 ###
36 1;#do not remove
37 ###
39 =pod
41 =back
43 =head1 LICENSE
45 Same as Perl.
47 =head1 AUTHORS
49 Jeremy D. Edwards <jde22@cornell.edu>
51 =cut