PyChelator: a Python-based Colab and web application for metal chelator calculations.
Spahiu, E. 
Important
To contribute to this software, please open a [Discussion] or file an [Issue] in this Github repository. PyChelator: a Python-based Colab and web application for metal chelator calculations
Pychelator is a helpful tool for researchers, scientists, and professionals working with metal-chelator interactions who need to obtain critical data related to these complexes. While PyChelator Colab offers the Python version, the web application is based on JavaScript and is served through Github Pages. Most calculations are based on Maxchelator developed by Chris Patton and colleagues 1.
-
Calculation of Metal Chelator Complexes: PyChelator performs complex calculations involving chelators and metal ions, taking into account essential environmental parameters like pH, temperature, and ionic strength (the left panel).
-
Selection of constants: Easily select the constants to be used from the dropdown menu located in the left panel. Available stability constants are sourced from the National Institute of Standards and Technology ‘NIST’ 2, ‘SPECS’ by Fabiato 3, ‘Chelator’ by Schoenmakers et al. 4, and ‘Calcium’ by Föhr et al. 5. Users can also manually input the constants. The download feature allows users to obtain a local JSON file containing the entries, facilitating the subsequent use by uploading the constants. Equipped with input fields for metal and chelator names, a versatile use of the calculator is allowed for a broader range of applications.
-
Selection of input units: Convenient entry of chelator and metal concentrations in units ranging from Molar (M) to nano Molar range (M, mM, μM, and nM) (the left panel).
-
Ionic strength: Ionic strength as equivalence of ions can be calculated inside PyChelator
-
Purity of chelators: Percent purity of chelators can be entered in the top panel
-
Structured Output: The output are structured for selectability. An extra option for the logarithmic transformation of free metal concentration (-log10[free]) is incorporated. The subsequent calculations are appended to the middle panel and can be conveniently downloaded as a single Excel file.
-
Arbitrary precision arithmetic: The built-in Python Decimal module in Colab offers user-defined precision in the decimal place calculations
Note
PyChelator input data are simply written in the user interface, operations are caculated and the output is shown in the middle panel, with an option to download the report as an XLSX file.
Solution A with a pH 7.4 with ionic equivalent 100 mM at 20°C containing:
- 5 mM EGTA (98% purity)
- 1 mM CaCl2
- 2 mM MgATP (97% purity)
- 2 mM MgCl2
Steps for free Calcium calculation in PyChelator:
- From "Constants" dropdown, select the preferred constants' source (ex.NIST)
- Select mM as Input unit.
- Write the Temperature as 20°C.
- Write the pH as 7.4.
- Write the Ionic (Ie) equivalent as 100 mM. If you do not know the ionic equivalent, you can calculate by using the "Calculate Ie" button.
- Select the parameters to "Show in report", or keep defaults.
- Using the top panel, write the Chelator concentration of ATP to 2 mM (97% purity), and EGTA to 5 mM (98% purity).
- Write the Total metals given to the solution; Ca²⁺ as 2 mM and Mg²⁺ as 4 mM
- Click Calculate. You can copy the Free (M) concentration for Ca²⁺ or the -log10[free]. Alternatively, click Download to have a local copy of the results.
Using the stability constants for Zinc and Calcium buffered using EDTA and EGTA, from NIST Critical Stability Constants. A useful table of frequently used chelators and metals can also be found under Maxchelator.
Steps for manual entry of constants in PyChelator:
- From "Constants" dropdown, select "Write custom constants"
- Write the Ligands (L1, L2) comma-separated as: EDTA, EGTA.
- Write the Metals (M1, M2) comma-separated as: Zn, Ca.
- Write the temperature that the constants were determined (Et) in °C: 20.
- Write the ionic equivalent that the constants were determined (Ei) in mM: 100.
- Write the protonation constant H1 (logK) for L1 and L2: 10.3, 9.5
- Write the ΔH1 enthalpy (kcal/mol) for H1 for L1 and L2: -5.6, -5.9
- Repeat steps 6 and 7 for all protonation constants.
- Write the stability constant ML (logK) for M1-L1,M1-L2,M2-L1,M2-L2: 16.6, 12.7, 10.7, 10.9
- Write the ΔML enthalpy (kcal/mol) for M1-L1,M1-L2,M2-L1,M2-L2: -4.7, -4.3, -6.1, -8.4
- Repeat Steps 9 and 10 for MHL and ΔMHL, respectively.
- Download the JSON file. You can use this file the next time using the command Upload constants under Constants dropdown.
PyChelator is designed to work with modern web browsers and supports JavaScript-based web applications. PyChelator Colab is versatile and can be integrated into various web projects related to metal-chelator interactions and does not need dependancies/prerequisites to be installed separately.
While PyChelator aims to provide accurate and useful data, users are advised to validate the results obtained from the code with experimental data and consult the experts for critical applications.
An extensive table of constants is available in MaxChelator Constants.
| Metals | Ligands | JSON File | Reference | Comments |
|---|---|---|---|---|
| Ca2+, Mg2+ | EGTA, ATP | NIST | NIST46 | Used in MaxChelator |
| Ca2+, Mg2+ | EGTA, ATP | Chelator | Schoenmakers et al. | Used in MaxChelator |
| Ca2+, Mg2+ | EGTA, ATP | Fabiato | Based on Fujushiro et al. 1995 and compared to McGuigan et al. | The ATP ML and MHL constants were temperature corrected to 20°C. |
| Ca2+, Mg2+ | EGTA, ATP | Calcium | Föhr et al. | |
| Ca2+, Mg2+ | BAPTA, ATP | Bapta-ATP_Ca-Mg | NIST46 | Bapta constants (20°C) taken from MaxChelator, NIST constants of ATP were adapted from 25°C to 20°C |
| Zn2+, Ca2+ | EGTA, EDTA | Zn-Ca and EDTA-EGTA | Neumaier et al. |
If you would like to contribute constants to the repository, or report problems, please write an Issue.
1: Bers DM, Patton CW, Nuccitelli R. A practical guide to the preparation of Ca(2+) buffers. Methods Cell Biol. 2010;99:1–26.
2:Smith RM, Martell AE. NIST Critically Selected Stability Constants of Metal Complexes Database Version 8.0. 2004.
3: [31] Computer programs for calculating total from specified free or free from specified total ionic concentrations in aqueous solutions containing multiple metals and ligands. In: Methods in Enzymology. Academic Press; 1988. p. 378–417.
4: Schoenmakers TJM, Visser GJ, Flik G, Theuvenet APR. CHELATOR: an improved method for computing metal ion concentrations in physiological solutions. 1992.
5: Föhr KJ, Warchol W, Gratzl M. Calculation and control of free divalent cations in solutions used for membrane fusion studies. In: Methods in Enzymology. Academic Press; 1993. p. 149–57.