tracts.haploid.Haploid#
- class Haploid(Ls=None, lschroms=None, fname=None, selectchrom=None, labs=None, name=None, allosomes=None)#
Bases:
objectA class representing a haploid genome, composed of a set of chromosomes, each of which consists of a list of tracts.
- Ls#
The lengths of the chromosomes.
- Type:
list of float
- chroms#
The chromosome objects.
- Type:
list of
tracts.chromosome.Chrom
- labs#
Labels identifying the chromosomes.
- Type:
list of str
- name#
An optional name for the haploid.
- Type:
str