OutbreakIndividualMalariaGenetics¶
The OutbreakIndividualMalariaGenetics intervention class is an individual-level intervention that extends the OutbreakIndividual class by adding the ability to specify parasite genetics for the infection. This class is only used when the configuration parameter Malaria_Model is set to MALARIA_MECHANISTIC_MODEL_WITH_PARASITE_GENETICS.
The parameter Create_Nucleotide_Sequence_From (see table below) determines how the parasite genetics are defined.
Note
Parameters are case-sensitive. For Boolean parameters, set to 1 for true or 0 for false. Minimum, maximum, or default values of “NA” indicate that those values are not applicable for that parameter.
EMOD does not use true defaults; that is, if the dependency relationships indicate that a parameter is required, you must supply a value for it. However, many of the tools used to work with EMOD will use the default values provided below.
JSON format does not permit comments, but you can add “dummy” parameters to add contextual information to your files. Any keys that are not EMOD parameter names will be ignored by the model.
The table below describes all possible parameters with which this class can be configured. The JSON example that follows shows one potential configuration.
Parameter |
Data type |
Minimum |
Maximum |
Default |
Description |
Example |
---|---|---|---|---|---|---|
Barcode_Allele_Frequencies_Per_Genome_Location |
array of floats |
0 |
1 |
1 |
The fractions of allele occurrences for each location in the barcode. This 2D array should have one array for each location/character in the barcode. For each location, there should be four values between 0 and 1 indicating the probability that specific character appears. The possible letters are: A=0, C=1, G=2, T=3. |
{
"Barcode_Allele_Frequencies_Per_Genome_Location" : [
[ 1.00, 0.00, 0.00, 0.00 ],
[ 0.00, 1.00, 0.00, 0.00 ],
[ 0.00, 0.00, 1.00, 0.00 ],
[ 0.00, 0.00, 0.00, 1.00 ],
[ 0.50, 0.50, 0.00, 0.00 ],
[ 0.00, 0.50, 0.50, 0.00 ],
[ 0.00, 0.00, 0.50, 0.50 ],
[ 0.25, 0.25, 0.25, 0.25 ],
[ 0.10, 0.20, 0.30, 0.40 ],
[ 0.40, 0.30, 0.20, 0.10 ]
]
}
|
Barcode_String |
string |
NA |
NA |
UNINITIALIZED STRING |
A series of nucleotide base letters (A, C, G, T) that represent the values at locations in the genome. The length of the string depends on the number of locations defined in the Parasite_Genetics configuration parameter Barcode_Genome_Locations. Each character of the string corresponds to one of the locations and locations are assumed to be in ascending order. This also depends on Create_Nucleotide_Sequence_From when it is equal to NUCLEOTIDE_SEQUENCE or BARCODE_STRING. |
{
"Barcode_String": "AAAAAAAATTCT"
}
|
Create_Nucleotide_Sequence_From |
enum |
NA |
NA |
BARCODE_STRING |
The enum indicates how the genome is created. Possible values are:
|
{
"Create_Nucleotide_Sequence_From": "BARCODE_STRING"
}
|
Drug_Resistant_String |
string |
NA |
NA |
UNINITIALIZED STRING |
A series of nucleotide base letters (A, C, G, T) that represent the values at locations in the genome. The length of the string depends on the number of locations defined in the Parasite_Genetics configuration parameter Drug_Resistant_Genome_Locations. Each character of the string corresponds to one of the locations, and locations are assumed to be in ascending order. This also depends on Create_Nucleotide_Sequence_From when it is equal to NUCLEOTIDE_SEQUENCE or BARCODE_STRING. |
{
"Drug_Resistant_String": "AATTAA"
}
|
Ignore_Immunity |
boolean |
0 |
1 |
1 |
Individuals will be force-infected (with a specific strain) regardless of actual immunity level when set to true (1). |
{
"Intervention_Config": {
"Antigen": 0,
"Genome": 0,
"class": "OutbreakIndividual",
"Ignore_Immunity": 0
}
}
|
Incubation_Period_Override |
integer |
-1 |
2.14E+09 |
-1 |
The incubation period, in days, that infected individuals will go through before becoming infectious. This value overrides the incubation period set in the configuration file. Set to -1 to honor the configuration parameter settings. |
{
"Incubation_Period_Override": 0
}
|
MSP_Variant_Value |
integer |
0 |
1,000 |
NA |
The Merozoite Surface Protein value used to determine how the antibodies recognize the merozoites. This value must be less than or equal to the value for the configuration parameter Falciparum_MSP_Variants and depends on Create_Nucleotide_Sequence_From when it is equal to NUCLEOTIDE_SEQUENCE. |
{
"MSP_Variant_Value": 11
}
|
PfEMP1_Variants_Values |
array of integers |
0 |
10,000 |
NA |
The PfEMP1 Variant values/major epitopes used to define how the antibodies recognize the infected red blood cells. This value must be less than or equal to the value for the configuration parameter Falciparum_PfEMP1_Variants and depends on Create_Nucleotide_Sequence_From when it is equal to NUCLEOTIDE_SEQUENCE. |
{
"PfEMP1_Variants_Values": [
1, 74, 147, 220, 293, 366, 439, 512, 585, 658,
731, 804, 877, 950, 23, 96, 169, 242, 315, 388,
461, 534, 607, 680, 753, 826, 899, 972, 45, 118,
191, 264, 337, 410, 483, 556, 629, 702, 775, 848,
921, 994, 67, 140, 213, 286, 359, 432, 505, 578
]
}
|
{
"class": "OutbreakIndividualMalariaGenetics",
"Create_Nucleotide_Squence_From": "BARCODE_STRING",
"Barcode_String": "ACGTACGTACGTACGTACGTACGT",
"Drug_Resistant_String": "AAT"
}
{
"class": "OutbreakIndividualMalariaGenetics",
"Create_Nucleotide_Squence_From": "ALLELE_FREQUENCIES",
"Barcode_Allele_Frequencies_Per_Genome_Location": [
[1.00, 0.00, 0.00, 0.00],
[0.00, 1.00, 0.00, 0.00],
[0.00, 0.00, 1.00, 0.00],
[0.00, 0.00, 0.00, 1.00],
[0.50, 0.50, 0.00, 0.00],
[0.00, 0.50, 0.50, 0.00],
[0.00, 0.00, 0.50, 0.50],
[0.25, 0.25, 0.25, 0.25],
[0.10, 0.20, 0.30, 0.40],
[0.40, 0.30, 0.20, 0.10]
],
"Drug_Resistant_Allele_Frequencies_Per_Genome_Location": [
[1.00, 0.00, 0.00, 0.00],
[0.00, 1.00, 0.00, 0.00],
[0.00, 0.00, 1.00, 0.00]
]
}
{
"class": "OutbreakIndividualMalariaGenetics",
"Create_Nucleotide_Squence_From": "NUCLEOTIDE_SEQUENCE",
"Barcode_String": "ACGTACGTACGTACGTACGTACGT",
"Drug_Resistant_String": "AAT",
"MSP_Variant_Value": 11,
"PfEMP1_Variants_Values": [
1, 74, 147, 220, 293, 366, 439, 512, 585, 658,
731, 804, 877, 950, 23, 96, 169, 242, 315, 388,
461, 534, 607, 680, 753, 826, 899, 972, 45, 118,
191, 264, 337, 410, 483, 556, 629, 702, 775, 848,
921, 994, 67, 140, 213, 286, 359, 432, 505, 578
]
}