MEDYAN.addfilament_reaction!
Tuple{MEDYAN.SysDef, Symbol, Symbol, Pair{Vector{Symbol}, Vector{Symbol}}, Int64, AbstractString, Float64, Int64}
Add filament reaction. Return s. Add a filamentsite and reaction with callback to change the monomer state. This can be used for filament aging, filament catalyzed reactions, or simple binding reactions.
Arguments
s::SysDef: the system to add to.filamenttypename::Symbol: the filament type name.filamentsitename::Symbol: the new name of thefilamentsiteadded. This can be used as a catalyst in other reactions.changedstatenames::Pair{Vector{Symbol}, Vector{Symbol}}: the changes to the monomer states, the first is the states to match. The second is the new monomer states after the reaction. both should be the same length. Ordered minus end first.center::Int: Which index ofchangedstatenames.firstis the actual location of thefilamentsite. Used for determining what compartment the reaction goes in.reactantexpr::AbstractString: Allows adding other reactants or products to the reaction." + filamentsite.$(filamenttypename).$(filamentsitename) + "gets added to both sides this to create the full reaction expression. Seeaddreaction!for syntax.rate::Float64: Base rate for the reaction. ((nm³)^(invvolumepower)/s)invvolumepower::Int:volumefactor= (1/volume)^invvolumepowerwherevolumeis the volume of the compartment in nm³.volumefactoronly applies to this reaction not any other reaction usingfilamentsitenameGenerally this is 0 for reactions without another diffusing reactant, and 1 if there is another diffusing reactant.