UserTutorials/CardiacExecutable/DrugAction

Running a simulation with multiple-channel drug action

Getting the data

Download and save the attached file DrugAction.tgz. Either use an Archive Manager to extract the content to disk or save it and then unpack it with

tar xvfz  DrugAction.tgz

Tagging conductances in a CellML file

Before performing drug action simulations with the executable, your CellML file must have the relevant ion-channel conductances tagged.

i.e. add a cmeta tag to the relevant variable:

<variable units="milliS_per_cm2" name="g_Kmax" public_interface="out" initial_value="0.282" cmeta:id="IKr_conductance"/>

and then add the following RDF metadata description. This tells Chaste to convert the model leaving the parameter modifiable, and also tells Chaste what name to use - the name in the <bqbiol:is> tag is the one to use in the XML parameter file later. It MUST end in _conductance (to ensure that only conductances are modified!).

<rdf:Description rdf:about="#IKr_conductance">
  <modifiable-parameter xmlns="https://chaste.comlab.ox.ac.uk/cellml/ns/pycml#">yes</modifiable-parameter>
  <bqbiol:is rdf:resource="https://chaste.comlab.ox.ac.uk/cellml/ns/oxford-metadata#membrane_rapid_delayed_rectifier_potassium_current_conductance"/>
</rdf:Description>

Understanding the XML parameters file

This tutorial is based upon 1D Propagation tutorial.

Open ChasteParameters.xml (it is sensible to do this in a web-browser or XML editor in order to get syntax highlighting). The file has been altered to add the following sections:

As we wish to record an action potential for comparing control and drug action.

Running the simulation

Change directory to DrugAction

cd DrugAction

In this folder you will find the following files:

Run the simulation by doing

<path_to_chaste>/Chaste.sh ChasteParameters.xml

A folder called testoutput will appear once the simulation has finished.

Visualising the results

Move into the newly created output folder

cd testoutput/ChasteResults

In this folder you will find the following files and folders:

Move now into the Meshalyzer-compatible output folder

cd output

Launch Meshalyzer with

<path_to_meshalyzer>/meshalyzer DrugActionResults_mesh

and visualise the results by loading the DrugActionResults_V.dat file.

Or use gnuplot to look at the voltage trace

gnuplot
> plot "NodalTraces_V.dat"

You should then change the drug concentration to zero:

<!-- Parameters for drug action model -->
<ApplyDrug concentration="0">
    <!-- Current names should match those in the Oxford metadata -->
    <IC50 current="membrane_fast_sodium_current" hill="1.0">16000</IC50>
    
    <!-- Add action on a second channel -->
    <!-- Hill coefficient defaults to 1.0 -->
    <IC50 current="membrane_rapid_delayed_rectifier_potassium_current">5</IC50>
</ApplyDrug>

then re-run the simulation and compare results. You should observe the following:

Voltage trace at node 200 with and without drug action

Attachments