-
Notifications
You must be signed in to change notification settings - Fork 2
/
organisms.jl
51 lines (38 loc) · 1.4 KB
/
organisms.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
################################################################################
# Organisms by Species #
################################################################################
abstract type Species end
"""
mutable struct Organism{S <: Species}
gene_data::Genetics
all_stages::DataStructures.OrderedDict{Type{<:LifeStage}, Stage}
end
Generic data container for species-specific genetic and life stage information.
# Arguments
- `gene_data::Genetics`: Species and modification-specific genetic data.
- `all_stages::DataStructures.OrderedDict{Type{<:LifeStage}, Stage}`: Dictionary of wildtype species-specific life stage data.
"""
mutable struct Organism{S <: Species}
gene_data::Genetics
all_stages::DataStructures.OrderedDict{Type{<:LifeStage}, Stage}
end
"""
struct AedesAegypti <: Species end
Data for Aedes Aegypti mosquito. Disease vector.
"""
struct AedesAegypti <: Species end
"""
struct AedesAlbopictus <: Species end
Data for Aedes Albopictus mosquito. Disease vector.
"""
struct AedesAlbopictus <: Species end
"""
struct AnophelesGambiae <: Species end
Data for Anopheles Gambiae mosquito. Disease vector.
"""
struct AnophelesGambiae <: Species end
"""
struct AnophelesArabiensis <: Species end
Data for Anopheles Arabiensis mosquito. Disease vector.
"""
struct AnophelesArabiensis <: Species end