Class Record
source code
object --+
|
Record
Holds information from a GenePop record.
Members: marker_len The marker length (2 or 3 digit code per
allele).
comment_line Comment line.
loci_list List of loci names.
data_generator Iterates over population data.
The generator will only work once. If you want to read a handle twice
you have to re-open it!
data_generator can either be () - an empty tuple - marking a new
population or an individual. An individual is something like ('Ind1',
[(1,1), (3,None), (200,201)], In the case above the individual is called
Ind1, has three diploid loci. For the second loci, one of the alleles is
unknown.
|
|
__init__(self,
handle)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
Inherited from object:
__class__
|
|
x.__init__(...) initializes x; see help(type(x)) for signature
- Overrides:
object.__init__
- (inherited documentation)
|