Merge pull request #5248 from solgenomics/topic/batch_update_trials
[sgn.git] / lib / Bio / GeneticRelationships / Individual.pm
blob59e948e8b2aba7ca11165c3fbaad6b03a2cadeb2
1 package Bio::GeneticRelationships::Individual;
2 use strict;
3 use warnings;
5 use Moose;
6 use MooseX::FollowPBP;
7 use Moose::Util::TypeConstraints;
8 use Data::Dumper;
10 use Bio::GeneticRelationships::Pedigree;
12 =head1 NAME
14 Indvidual - An individual organism with genetic relationships to other individuals
16 =head1 SYNOPSIS
18 my $variable = Bio::GeneticRelationships::Individual->new();
20 =head1 DESCRIPTION
22 This class stores information about an individual organism and its genetic relationships to other individuals.
24 =head2 Methods
26 =over
28 =cut
30 has 'name' => (
31 isa => 'Str',
32 is => 'rw',
33 predicate => 'has_name',
34 required => 1,
37 has 'id' => (
38 isa => 'Int',
39 is => 'rw',
40 predicate => 'has_id',
43 has 'pedigree' => (
44 isa =>'Bio::GeneticRelationships::Pedigree',
45 is => 'rw',
46 predicate => 'has_pedigree',
50 ###
51 1;#do not remove
52 ###
54 =pod
56 =back
58 =head1 LICENSE
60 Same as Perl.
62 =head1 AUTHORS
64 Jeremy D. Edwards <jde22@cornell.edu>
66 =cut