-
Notifications
You must be signed in to change notification settings - Fork 4
Module: TransmissionNodeSample
Niema Moshiri edited this page Jul 9, 2018
·
26 revisions
The TransmissionNodeSample module chooses two nodes to be involved in a given transmission event. See the source code to see what is defined by the abstract class.
- For use with a GEMF TransmissionTimeSample module
- Requirements:
- Must use
EndCriteria_GEMF
module - Must use a GEMF TransmissionTimeSample module
- Must use
- Config Parameters:
-
gemf_path
: The path to yourGEMF
executable (or simply"GEMF"
if it is in yourPATH
variable)
-
- Wrapper for PANGEA.HIV.sim
- This is not supported in the Docker/Singularity images from FAVITES 1.1.11 onward
- Requirements:
- R
- PANGEA.HIV.sim
- Must use ContactNetwork_PANGEA module
- Must use ContactNetworkGenerator_PANGEA module
- Must use EndCriteria_Instant module
- Must use NodeEvolution_PANGEA module
- Must use NodeSample_PANGEA module
- Must use NumBranchSample_All module
- Must use NumTimeSample_PANGEA module
- Must use PostValidation_Dummy module
- Must use SeedSelection_PANGEA module
- Must use SeedSequence_PANGEA module
- Must use SequenceEvolution_PANGEA module
- Must use SourceSample_PANGEA module
- Must use TimeSample_PANGEA module
- Must use TransmissionNodeSample_PANGEA module
- Must use TransmissionTimeSample_PANGEA module
- Must use TreeUnit_Same module
- Config Parameters
-
Rscript_path
: The path to yourRscript
executable (or simply"Rscript"
if it is in yourPATH
variable) - All
pangea_
parameters, which correspond to PANGEA.HIV.sim parameters (see entry in FAVITES_ModuleList.json for complete list, and see PANGEA.HIV.sim help for details)- Use
""
for default
- Use
-
- For each transmission, the source node is selected from the set of all infected nodes in the Contact Network with equal probability, and the destination node is selected from the set of all of the source's neighbors with equal probability
- In other words, multi-infections are allowed
- Requirements:
- None
- Config Parameters:
- None
- For each transmission, the source node is selected from the set of all infected nodes in the Contact Network with equal probability, and the destination node is selected from the set of all of the source's uninfected neighbors with equal probability
- Requirements:
- None
- Config Parameters:
- None
- Transmission network is simulated via the SI model
- Requirements:
- Must use
TransmissionTimeSample_SI
module
- Must use
- Config Parameters:
-
infection_rate
: The rate at which susceptible individuals are infected (per infected and time)
-
- Transmission network is read from file
- Requirements:
- Must use
EndCriteria_TransmissionFile
module - Must use
SeedSelection_TransmissionFile
module - Must use
TransmissionTimeSample_TransmissionFile
module
- Must use
- Config Parameters:
-
transmission_network_file
: The desired transmission network, represented in the FAVITES Transmission Network File Format
-
Niema Moshiri & Siavash Mirarab 2016