원시데이터 수집 시스템
선정목록으로

Open Source Software for the Real-Time Control, Processing, and Visualization of High-Volume Electrochemical Data

간접 관련 수소연료전지 · (7) MEA(막전극접합체) (5) 연료전지용 수분제어장치(가습기)(6) PEM(고분자전해질막)

기본 정보

저자
  1. Samuel D. Curtis — Center for Bioengineering, University of California Santa Barbara, Santa Barbara, California 93106, United States|||Department of Pharmacology and Molecular Sciences, Johns Hopkins School of Medicine, Baltimore, Maryland 21205, United States
  2. Kyle L. Ploense — Center for Bioengineering, University of California Santa Barbara, Santa Barbara, California 93106, United States
  3. Martin Kurnik — Center for Bioengineering, University of California Santa Barbara, Santa Barbara, California 93106, United States|||Department of Chemistry and Biochemistry, University of California Santa Barbara, Santa Barbara, California 93106, United States
  4. Gabriel Ortega — Center for Bioengineering, University of California Santa Barbara, Santa Barbara, California 93106, United States|||Department of Chemistry and Biochemistry, University of California Santa Barbara, Santa Barbara, California 93106, United States
  5. Claudio Parolo — Center for Bioengineering, University of California Santa Barbara, Santa Barbara, California 93106, United States|||Department of Chemistry and Biochemistry, University of California Santa Barbara, Santa Barbara, California 93106, United States
  6. Tod E. Kippin — Department of Psychological and Brain Sciences, University of California Santa Barbara, Santa Barbara, California 93106, United States|||Neuroscience Research Institute, University of California Santa Barbara, Santa Barbara, California 93106, United States|||Department of Molecular Cellular and Developmental Biology, University of California Santa Barbara, Santa Barbara, California 93106, United States
  7. Kevin W. Plaxco — Center for Bioengineering, University of California Santa Barbara, Santa Barbara, California 93106, United States|||Department of Chemistry and Biochemistry, University of California Santa Barbara, Santa Barbara, California 93106, United States
  8. Netzahualcóyotl Arroyo‐Currás — Department of Pharmacology and Molecular Sciences, Johns Hopkins School of Medicine, Baltimore, Maryland 21205, United States
DOI
10.1021/acs.analchem.9b02553
저널
Analytical Chemistry
발행년도
2019
발행기관
American Chemical Society
피인용수
45
라이선스
publisher-specific-oa
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1021/acs.analchem.9b02553
토픽
Analytical Chemistry and Sensors
OpenAlex ID
W2970471524

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
electrochemical data, real-time control, voltammetric, chronoamperometric, electrochemical sensors
판단 근거
본 논문은 대용량 전기화학 데이터를 실시간으로 제어, 처리 및 시각화하는 오픈소스 소프트웨어(SACMES)에 관한 연구입니다. 이는 코오롱인더스트리의 수소연료전지(PEMFC) 연구 시 전극 성능 평가나 전기화학적 분석 공정의 효율성을 높이는 데 간접적으로 활용될 수 있습니다.
R&D 활용 포인트
PEMFC의 막전극접합체(MEA) 또는 전극 촉매의 전기화학적 특성(CV, LSV 등)을 실시간으로 정밀하게 분석하고 모니터링하는 소프트웨어 프레임워크 구축에 응용 가능합니다.
평가 입력
본문 46,451자 중 30,032자 발췌

초록

Electrochemical sensors are major players in the race for improved molecular diagnostics due to their convenience, temporal resolution, manufacturing scalability, and their ability to support real-time measurements. This is evident in the ever-increasing number of health-related electrochemical sensing platforms, ranging from single-measurement point-of-care devices to wearable devices supporting immediate and continuous monitoring. In support of the need for such systems to rapidly process large data volumes, we describe here an open-source, easily customizable, multiplatform compatible program for the real-time control, processing, and visualization of electrochemical data. The software's architecture is modular and fully documented, allowing the easy customization of the code to support the processing of voltammetric (e.g., square-wave and cyclic) and chronoamperometric data. The program, which we have called Software for the Analysis and Continuous Monitoring of Electrochemical Systems (SACMES), also includes a graphical interface allowing the user to easily change analysis parameters (e.g., signal/noise processing, baseline correction) in real-time. To demonstrate the versatility of SACMES we use it here to analyze the real-time data output by (1) the electrochemical, aptamer-based measurement of a specific small-molecule target, (2) a monoclonal antibody-detecting DNA-scaffold sensor, and (3) the determination of the folding thermodynamics of an electrode-attached, redox-reporter-modified protein.

본문 46,451자

본문 펼치기
<u><mark>Article</mark></u> <mark>Cite</mark> <mark>This:</mark> <mark>Anal.</mark> <mark>Chem.</mark> <mark>2019,</mark> <mark>91,</mark> <mark>12321−12328</mark> pubs.acs.org/ac ### Open Source Software for the Real-Time Control, Processing, and Visualization of High-Volume Electrochemical Data #### Samuel D. Curtis, †,# Kyle L. Ploense, † Martin Kurnik, †,‡ Gabriel Ortega, †,‡ Claudio Parolo, †,‡ Tod E. Kippin, §,∥,⊥ Kevin W. Plaxco, †,‡ and Netzahualcóyotl Arroyo-Currás*,# †Center for Bioengineering, University of California Santa Barbara, Santa Barbara, California 93106, United States ‡Department of Chemistry and Biochemistry, University of California Santa Barbara, Santa Barbara, California 93106, United States §Department of Psychological and Brain Sciences, University of California Santa Barbara, Santa Barbara, California 93106, United States ∥Neuroscience Research Institute, University of California Santa Barbara, Santa Barbara, California 93106, United States ⊥Department of Molecular Cellular and Developmental Biology, University of California Santa Barbara, Santa Barbara, California 93106, United States #Department of Pharmacology and Molecular Sciences, Johns Hopkins School of Medicine, Baltimore, Maryland 21205, United States *S Supporting Information ABSTRACT: Electrochemical sensors are major players in the race for improved molecular diagnostics due to their convenience, temporal resolution, manufacturing scalability, and their ability to support real-time measurements. This is evident in the everincreasing number of health-related electrochemical sensing platforms, ranging from single-measurement point-of-care devices to wearable devices supporting immediate and continuous monitoring. In support of the need for such systems to rapidly process large data volumes, we describe here an open-source, easily customizable, multiplatform compatible program for the real-time control, processing, and visualization of electrochemical data. The software’s architecture is modular and fully documented, allowing the easy customization of the code to support the processing of voltammetric (e.g., square-wave and cyclic) and chronoamperometric data. The program, which we have called <u>Software</u> for the <u>Analysis</u> and <u>Continuous</u> <u>Monitoring</u> of <u>Electrochemical</u> <u>Systems</u> (SACMES), also includes a graphical interface allowing the user to easily change analysis parameters (e.g., signal/noise processing, baseline correction) in real-time. To demonstrate the versatility of SACMES we use it here to analyze the real-time data output by (1) the electrochemical, aptamer-based measurement of a specific smallmolecule target, (2) a monoclonal antibody-detecting DNA-scaffold sensor, and (3) the determination of the folding thermodynamics of an electrode-attached, redox-reporter-modified protein. he advances in electrochemical sensing over the last 2 decades have created a need for software platforms ## T capable of analyzing large, dynamic data sets in real time. <sup>1</sup> An example is the continuous glucose sensor, <sup>2</sup> which requires software able to process measurements performed several times a minute over the course of weeks. <sup>3,4</sup> Following this, other emerging electrochemical technologies, including electrochemical aptamer-based (E-AB) sensors, have been reported that support real-time measurements of, for example, plasma drug levels with seconds- or even subsecond time resolution <sup>5−8</sup> over the course of hours, producing exceedingly large data volumes. Unfortunately, however, commercial software for the analysis of such data are expensive <sup>9</sup> and cannot be customized without specialized programming skills. This is problematic in academic laboratories where the requisite financial and software development resources are often scarce. <sup>10</sup> We believe there is thus a need for the creation and open exchange of efficient software platforms that support the real-time analysis of high-volume electrochemical data. A software framework for the analysis of electrochemical measurements would ideally be based on (1) an open-source computer language compatible with the three major personal computer operating systems (i.e., Microsoft Windows, Apple macOS, and Linux); (2) a modular design easily customizable to a wide range of electroanalytical applications; and (3) an intuitive graphical user interface (GUI) providing the ability to dynamically control key processing parameters in real time. To ensure broad application, the software should support the Received: June 3, 2019 Accepted: August 29, 2019 Published: August 29, 2019 © 2019 American Chemical Society 12321 [DOI: 10.1021/acs.analchem.9b02553](http://dx.doi.org/10.1021/acs.analchem.9b02553) A l Ch 20 9 9 232 2328 <u>Analytical</u> <u>Chemistry</u> <u><mark>Article</mark></u> analysis of data originating from a diverse set of commercial potentiostats (e.g., CH Instruments, Gamry, Metrohm) employed in single, multichannel, or multiplexed configurations. Finally, to appeal to a broad userbase, the software should have a well-documented standard operating procedure (SOP) containing detailed instructions regarding customization to new applications. Thus, motivated, we describe here an open-source, multiplatform software supporting the realtime analysis of high-volume electrochemical data. # ■ EXPERIMENTAL SECTION Software. While designing our software architecture, we incorporated three principle innovations: (1) utilizing a technique called Blitting <sup>11</sup> to achieve millisecond temporal resolution and high efficiency over time; (2) the ability to analyze various electrochemical measurements continuously and simultaneously (e.g., multiple electrodes, multiple frequencies); and (3) real-time parameter manipulation to address user needs on the fly. Blitting (also written Bit Blit or BITBLT) improves our software’s performance. Specifically, most visualization software typically experience CPU bottlenecks when analyzing and animating high-volume data because they consume large amounts of random access memory (RAM) to render images, losing computing efficiency over time as data volumes increase and image rendering demands more memory (which is finite). Instead, Blitting eliminates this problem by only saving a clean “bit-map,” or background canvas, which is then used to only render data originating from new files (it does not save graphical data from previous files). With Blitting, a constant amount of RAM is needed for the program, allowing for larger amounts of data to be visualized without experiencing a decrease in performance over time. The modular nature of our program allows for easy customization to support the analysis of data originating from many electroanalytical techniques. With minimal programming experience, the user can easily manipulate the script to analyze and visualize not only square-wave voltammetry but other widely used electrochemical methods such as, but not limited to, cyclic voltammetry, linear sweep voltammetry, and chronoamperometry. We provide a fully documented standard operating procedure as [Supporting](http://pubs.acs.org/doi/suppl/10.1021/acs.analchem.9b02553/suppl_file/ac9b02553_si_001.pdf) [Information](http://pubs.acs.org/doi/suppl/10.1021/acs.analchem.9b02553/suppl_file/ac9b02553_si_001.pdf) to facilitate and promote the adoption of our software. Reagents and Materials. Sodium hydroxide, sulfuric acid, tris(hydroxymethyl) aminomethane (Tris), ethylenediaminetetraacetic acid (EDTA), sodium hydrogen phosphate, sodium chloride, potassium chloride, and potassium dihydrogen phosphate were obtained from Fisher Scientific (Waltham, MA). 6-Mercapto-1-hexanol (MCH) and tris(2-carboxyethyl)phosphine (TCEP) were obtained from Sigma-Aldrich (St. Louis, MO). Tobramycin sulfate (USP grade) was obtained from Gold BioTechnology, Inc. (St. Louis, MO). All reagents were used as received. A 1× stock solution of phosphate buffered saline (PBS) was prepared containing 10 mM sodium hydrogen phosphate, 2.7 mM potassium chloride, 137 mM sodium chloride, and 1.76 mM potassium phosphate (pH = 7.4). A 1× stock solution of Tris-EDTA buffer was prepared containing 10 mM Tris-HCl (pH 8.0) and 1 mM EDTA. AntiFLAG monoclonal antibodies were obtained from SigmaAldrich (St. Louis, MO). Peptide nucleic acid (PNA) sequences were purchased from PNABio (Newbury Park, CA). Hexanethiol- and methylene blue-modified deoxynucleic −Methylene Blue‐3′ were reduced with a 1000-fold molar excess of TCEP for 30 min at 25 °C. Then, freshly roughened electrodes were immersed in a 200 nM solution of DNA aptamer in PBS for 1 h at 25 °C. Following this, the sensors were immersed in a 10 mM solution of MCH overnight at 4 °C. Finally, the sensors were rinsed with deionized water prior to use. In Vivo Sensor Fabrication. The E-AB sensors used for in vivo measurements were fabricated as described in previous reports. <sup>5,13</sup> Briefly, segments of insulated gold, platinum, and silver wire were cut to 7.75 cm in length, and 7.5 mm of insulation was removed from each end with a scalpel. One end of the silver wire was incubated in 100% bleach to form a silver chloride film. A length of 4.75 cm of heat shrinkable tubing was then used to cover the gold wire with 3 mm of the gold exposed on one end. Thus, the insulated gold wire and a bare platinum wire were then inserted into 4.5 cm of heat shrinkable tubing and bound together with a heat gun so that 4 mm of the platinum wire lay just behind the bare gold wire. Lastly, the insulated gold and platinum wires were inserted into 4.25 cm of heat shrinkable tubing with 4 mm of the silver chloride end of the silver wire laying behind the 12322 [DOI: 10 1021/acs analchem 9b02553](http://dx.doi.org/10.1021/acs.analchem.9b02553) acid (DNA) sequences were obtained from Biosearch Technologies (Novato, CA). Catheters (22 G) and 1 mL syringes were purchased from Becton Dickinson (Franklin Lakes, NJ). PTFE-insulated gold, platinum, and silver wires (75 μm diameter) were purchased from A-M systems. To employ the silver wires as reference electrodes, they were immersed in concentrated sodium hypochlorite (commercial bleach) overnight to form a silver chloride film. Heat-shrink polytetrafluoroethylene insulation (PTFE, HS Sub-Lite-Wall, 0.02, 0.005, 0.003 ± 0.001 in, blackopaque, lot no. 17747112-3), used to electrically insulate gold, silver, and platinum wires, was purchased from ZEUS (Branchburg Township, CA). Commercial 2 mm gold disc electrodes employed in the protein experiments were purchased from CH Instruments (Austin, TX). In Vitro Sensor Fabrication. E-AB sensors used for in vitro measurements were fabricated as described in previous reports. <sup>6,12</sup> In short, segments of pure gold (5.5 cm) were cut and soldered to gold-plated contacts using 60% tin/40% lead rosin-core solder (0.8 mm diameter) and then insulated with two layers of PTFE heat-shrink insulation. The sensor window (i.e., the region devoid of insulation) of the gold wire was made to be approximately 3 mm in length. To increase the microscopic surface area of the gold working electrodes (to obtain larger peak currents), the gold surface was roughened using a technique previously described. <sup>12</sup> Briefly, the electrode surface was electrochemically roughened via immersion in 0.5 M sulfuric acid followed by stepping the potential between Einitial = 0.0 V to Ehigh = 2.0 V vs Ag/AgCl, back and forth, for 16 000 pulses using chronoamperometry. Potential steps were applied with a 20 ms duration with no delay between pulses. Immediately following the completion of the roughening step, the electrodes were removed from sulfuric acid and rinsed with DI water. In parallel, aliquots of aminoglycosidebinding aptamer: ′‐HO−(CH2)6−−−S S 5′‐HO−(CH2)6−−−S S (CH2) 2)6 S S (CH2)6 −PO O3 PO O3 −GGGACTTGGTTTAGGTAATGAGTCC 3 −CH2−CH2CH2OH−(CH2)4−NH−CO− C−CH2−CH2CH2OH−(CH2)4−NH−CO−(CH2) 2 CH2CH2OH (CH2)4 NH CO (CH2)2 <u>Analytical</u> <u>Chemistry</u> <u><mark>Article</mark></u> platinum wire, then bound to the other wires with heat. The resulting gold electrodes were then electrochemically roughened as described above. Following roughening, the electrodes were cleaned in 0.5 M sulfuric acid using cyclic voltammetry by cycling the electrodes rapidly (4 V s <sup>−1</sup> ) between −0.35 and 1.5 V for 20 scans. After roughening and cleaning, the electrodes were immersed in a solution of 200 nM aptamer in 1× PBS for 30 min. Following this, the electrodes were emplaced into a 22gauge PTFE catheter and incubated in a 10 mM solution of MCH. Animal Procedures. Male and female Sprague−Dawley rats from Charles River, Inc. (Santa Cruz, CA) weighing between 300 and 400 g were pair-housed in a standard light cycle room (0800 ON, 2000 OFF) and given ad-libitum access to food and water. All animal procedures were performed in accordance with the guidelines set forth by the Institutional Animal Care and Use Committee at the University of California Santa Barbara. <sup>14</sup> In Vivo E-AB Measurements. Continuous in vivo E-AB measurements were performed on anesthetized rats implanted with an intravenous drug-delivery catheter made from Silastic tubing and a 22-gauge bent steel cannula in the left jugular vein (as we have previously described <sup>5,13</sup> ). Briefly, rats were induced under 5% isoflurane gas and maintained under 2− 3% isoflurane gas for the duration of the surgery. The chest was shaved and cleaned with alternating solutions of betadine and 70% ethanol. A small incision was made above the left jugular vein with surgical scissors, and then the vein was isolated and cut open with spring-loaded microscissors. The catheter was introduced into the vein and tied into place with a 6-0 sterile silk suture. In total, 300 units of heparin were then infused into the catheter followed by 0.5 mL of 0.9% sterile saline solution. After implantation of the catheter into the left jugular vein, the right jugular vein was isolated, cut, and implanted with the EAB sensor and tied off with a 6-0 sterile silk suture. Prior to implantation, the E-AB sensor was incubated first in 70% CIDEX-in-water solution for 20 min and then in heparin solution (1 000 units) for at least 10 min. In Vitro E-AB Measurements. Continuous in vitro measurements were performed in whole undiluted serum from BioIVT, Inc. (Westbury, NY). Prior to performing any electrochemical measurements the sensors were interrogated with 30 preliminary square-wave voltammetry scans to establish a stable peak current baseline. During the course of the experiment, tobramycin was titrated into solution using either a pipet and hand mixed, or a low-pressure neMesys pump (Cetoni, Germany) for the alternating target experiments, to ensure homogeneous distribution of free drug. No sensor incubation time was used in between titrant additions or square-wave voltammetry (SWV) measurements. DNA Scaffold Measurements. E-DNA scaffold sensors were fabricated following a previously reported procedure. <sup>15</sup> First, 2 mm gold electrodes were mechanically polished (first with 1 μm-coarse diamond paper and then with 0.05 μm alumina slurry) and electrochemically cleaned (through successive scans in 0.5 M sulfuric acid and 0.1 M sulfuric acid + 0.01 M potassium chloride). Meanwhile the DNA scaffold molecule: was reduced with a stock solution of 10 mM TCEP and then diluted to 25 nM final concentration in PBS. Freshly cleaned electrodes were first incubated in the resulting DNA scaffold solution for 1 h at 25 °C and then in 3 mM MCH overnight at 4 °C. Following this, the electrodes were incubated for 2 h in a solution of 100 nM PNA molecule complementary to the DNA scaffold and presenting the FLAG epitope (sequence, DYKDDDDK). The platform was interrogated via SWV using a three-electrode cell consisting of a Ag/AgCl reference electrode and a platinum counter electrode, contained within a glass cell. The platform worked as follows: in the absence of target, the DNA scaffold was free to move generating a high electrochemical signal. However, upon addition of anti-FLAG monoclonal antibody binding to the epitope generates steric hindrance (the antibody is larger than the DNA scaffold) that limits the movement of the DNA scaffold sensor generating a decrease in the electrochemical signal. Measurements from Protein-Modified Electrodes. Protein-functionalized electrodes were fabricated following a previously published protocol. <sup>16,42</sup> Briefly, commercial 2 mm diameter gold electrodes were cleaned using a series of electrochemical cleaning steps and functionalized with protein by incubating the electrodes for 10 min in a solution 20 mM sodium phosphate and 130 mM sodium chloride (pH 7.0) containing 0.1−1 μM protein. The proteins used for these experiments were modified with a site-specifically conjugated methylene blue redox reporter and an amino-terminal alkylthiol anchor that enables site-specific surface-tethering via the proteins’ amino termini. Following protein deposition, the electrode surface was immersed in a solution of 5 mM MCH to form a passivating, hydroxyl-coated, self-assembled monolayer. Prior to use, the electrodes employed in the experiments shown in Figure 2 also underwent four washes in 20 mM sodium phosphate, 0.13 M sodium chloride (pH 7.0) solutions alternating the presence and absence of 7 M guanidinium chloride. The washing solutions contained 1 mM MCH to passivate any bare gold exposed by desorption of nonspecifically adsorbed protein during the washes. Immediately prior to initiation of each experiment, the electrodes were repeatedly interrogated by SWV at 60 or 120 Hz and 25 mV amplitude until producing a stable peak current (typically around 50 interrogations). Automated guanidinium chloride titrations were performed in 20 mM sodium phosphate, 0.5 M sodium chloride (pH 7.0), and 0.45 M trimethylamine N-oxide on Hamilton 500C dual-syringe dispensers connected to a CH Instruments 660D potentiostat (CH Instruments, Austin, TX) and a BASi C3 Cell Stand (Bioanalytical Systems, Inc.). MCH (50 μM) was included in the buffer to minimize baseline drift, and ionic strength was regulated by inclusion of specific concentrations of sodium chloride in the buffer. All electrochemical measurements were performed against a Ag/AgCl reference electrode with saturated potassium chloride and a platinum counter electrode, at 25 mV amplitude and in 5 mL total bulk solution volume. 12323 [DOI: 10 1021/acs analchem 9b02553](http://dx.doi.org/10.1021/acs.analchem.9b02553) ′‐HO−(CH2)6−−−S S 5′‐HO−(CH2)6−−−S S (CH2) 2)6 S S (CH2)6 −PO O3 PO O3 −GCAGTAACAAGAA 3 −CH2−CH2CH2OH− TAAAACGCCACTG−CH2−CH2CH2OH−(CH2) 2 CH2CH2OH (CH2)4 −NH−CO−(CH2)2−Methylene Blue‐3′ NH−CO−(CH2)2−Methylene Blue‐3′ 2)2 <u>Analytical</u> <u>Chemistry</u> <u><mark>Article</mark></u> Figure 1. Software framework for the real-time analysis of high-volume electrochemical data. We have developed an open-source, easily customizable script written in the Python programming language to enable the real-time analysis of electrochemical measurements collected with multiple platforms. (A) Our script uses a recursive loop to continuously handle user-interface events while simultaneously looking in a user-defined Path folder for new files generated by, for example, a potentiostat. Once a data file exists, the script activates a Data Analysis module which performs a series of data processing steps including signal averaging and least-squares fitting to a user-defined function and returns the processed data to an Animation Class to be visualized. The terms “CMD” and “Terminal” refer to programs installed by default in Microsoft Windows and Apple macOS, respectively, which provide text-based access to control the operating systems. (B) In this work, we used square-wave voltammograms arising from electrochemical sensors to illustrate the capability of our code to extract peak currents (calculated as the difference between peak maximum and its two minima) and Areas Under the Curve (AUCs). (C) The script outputs and visualizes these values in real-time as the experiment progresses. See Figures [S1](http://pubs.acs.org/doi/suppl/10.1021/acs.analchem.9b02553/suppl_file/ac9b02553_si_001.pdf) and S2 for snapshots of the software’s graphical user interface. # ■ RESULTS AND DISCUSSION We chose the Python programming language <sup>17</sup> to develop our software framework. As required to produce sharable code, Python is developed under an Open Source Initiative-approved license, which makes our scripts freely distributable. <sup>18</sup> Moreover, as required to ensure easy portability, Python is a cross-platform language, such that a Python program written in one operating system can be run on any other (for Microsoft Windows, a free interpreter <sup>19</sup> must be installed first). Finally, Python offers a large standard library of well-documented functions, operators and toolkits, <sup>20</sup> as well as a communitysupported library containing over 130 000 open-sourced software packages to implement graphical user interfaces (GUIs), automation, text/image processing, and scientific computing. <sup>21−24</sup> Our script, which we call <u>Software</u> for the <u>Analysis</u> and <u>Continuous</u> <u>Monitoring</u> of <u>Electrochemical</u> <u>Systems</u> (SACMES), can be freely downloaded at the link [https://](https://github.com/netzlab/SACMES.git) [github.com/netzlab/SACMES.git](https://github.com/netzlab/SACMES.git) and uses Python’s de facto GUI, Tkinter, which is included in all standard installs of Python. The GUI controls all aspects of SACMES, running an event-driven loop that handles data analysis, real-time data processing, and visualization (Figure 1A). To start the Data Analysis module, a Tkinter-based recursive loop searches for files in a user-designated Path folder that contains files created by an external device such as, for example, a potentiostat. When new files are found, the loop enters the Data Analysis module to read and analyze the data contained within those files. If no new files are found, however, the program will exit the Data Analysis module and continue on to handle any GUI events (e.g., button clicks or parameter inputs) while it waits for new files to be created. After every new file is analyzed, the resulting processed data is returned to an “Animation Class” module to be visualized. Finally, the program returns to the Tkinter loop to continue searching for new files while it handles any GUI events that occurred while the Data Analysis module was in use. SACMES can analyze and visualize a range of electrochemical outputs. As our first example we customized its Data Analysis module to process SWV, an electroanalytical technique that measures currents at specific time intervals following a square-shaped potential program to enable the effective discrimination of faradaic currents from charging currents. <sup>25</sup> Because of this, SWV is becoming one of the preferred methods in the field of electrochemical sensors, where removing double-layer charging effects is fundamental to achieving improved detection limits. <sup>26</sup> For example, SWV has been used for the interrogation of electrochemical biosensors <sup>27</sup> employing different molecular recognition elements such as single- and double-stranded nucleic acids, <sup>28−32</sup> non-natural nucleic acids, <sup>4</sup> and peptides. <sup>33−35</sup> SWV has also been used in the detection of environmental pollutants like heavy metals via electrodeposition and stripping analysis. <sup>36,37</sup> More recently, SWV has been used to interrogate electrochemical aptamer 12324 [DOI: 10 1021/acs analchem 9b02553](http://dx.doi.org/10.1021/acs.analchem.9b02553) <u>Analytical</u> <u>Chemistry</u> <u><mark>Article</mark></u> Figure 2. Our software enables the multielectrode, multifrequency processing of square-wave voltammograms. Here we illustrate this via the analysis of three systems commonly used in our laboratories: (A) a small molecule drug-detecting E-AB sensor, <sup>5,13</sup> (B) an antibody-detecting DNAscaffold sensor, <sup>15,40,41</sup> and (C) a protein site-specifically attached to an electrode in support of biophysical studies of its folding thermodynamics. <sup>6,16,42</sup> By supporting the simultaneous analysis of voltammograms recorded on multiple electrodes and at multiple frequencies, our software facilitates the characterization of (column D) the electron transfer behavior and (column E) the frequency-dependent signal gain (relative signal change <sup>43</sup> ) of each system. Simultaneously it performs real-time statistical analysis of electrode-to-electrode variation in the peak current or area under the voltammogram (AUC), illustrated here as the shaded areas in columns D and E. The arrows in panel D indicate the expected signal ON or OFF response of each platform at such frequencies; the arrows also marked the frequencies used for the calibration of each platform in column E. The illustration of the antibody in panel B was modified from ref 44. based (E-AB) sensors <sup>38</sup> supporting the high-frequency, realtime measurement of plasma drug levels in situ in the living body. <sup>5,13,39</sup> We designed SACMES with the ability to continuously process square-wave voltammograms via two methods: (1) peak current extraction, calculated as the difference between the voltammogram’s maximum current and its baseline, and (2) area under the curve (AUC), calculated using a Riemann sum of the area under each voltammogram and above its baseline (Figure 1B and Figures [S1](http://pubs.acs.org/doi/suppl/10.1021/acs.analchem.9b02553/suppl_file/ac9b02553_si_001.pdf) and S2). Moreover, these methods support the simultaneous processing of multiple sensors and multiple square-wave frequencies. The results of these analyses are then plotted over time (or over file number) to produce data series. For example, a titration experiment in which an E-AB sensor is challenged with its molecular target produces curves where, as expected, peak currents and AUCs vary monotonically with increasing target concentration (Figure 1C). These curves are exported in real time into text files that, if needed, can later be analyzed to determine physicochemical parameters such as binding affinity (from a titration with the target), folding thermodynamics (from titration with a denaturant), or analyte concentrations (e.g., from a sensor monitoring drug pharmacokinetics in vivo). The ability of SACMES to analyze square-wave voltammograms is independent of the analytical system being interrogated. We illustrate this by presenting the analysis of data collected from three systems commonly employed in our groups: (1) E-AB sensors that measure specific small-molecule targets <sup>5,45</sup> (Figure 2A); (2) DNA-scaffold sensors detecting monoclonal antibodies <sup>15,40,41</sup> (Figure 2B); and (3) redoxreporter-modified proteins site-specifically attached to an electrode to study surface effects on protein stability <sup>16,42</sup> (Figure 2C). Through these data, we demonstrate the ability of SACMES to analyze measurements recorded on multiple electrodes at multiple square-wave frequencies. For example, SACMES can be used to estimate electron transfer kinetics from the analysis of peak currents extracted from voltammograms measured at over 40 frequencies using the Lovric approach <sup>25,43,46</sup> (Figure 2D). SACMES also supports the determination of peak currents and AUCs from voltammograms recorded on multiple electrodes simultaneously (Figure 2E) and can perform the statistical analysis of electrode-toelectrode variation in these parameters. Finally, since the shape of square-wave voltammograms can be dependent on changing experimental conditions (e.g., changes in the baseline of an EAB sensor deployed in vivo), SACMES is equipped with baseline control that allows the user to define, in real time, the range of data points to be considered during the analysis of voltammograms (Figure 3). Thus, we have created a software that is truly adaptable to the analysis of both low and high signal-to-noise electrochemical measurements. While the ability to process multielectrode, multifrequency data should be of significant value for the interrogation of many electrochemical systems, SACMES is uniquely suited for the processing of rapid, time-dependent measurements. In its current form, the program’s Tkinter loop searches for files at 12325 [DOI: 10 1021/acs analchem 9b02553](http://dx.doi.org/10.1021/acs.analchem.9b02553) <u>Analytical</u> <u>Chemistry</u> <u><mark>Article</mark></u> Figure 3. Real-time control of software parameters improves the analysis of electrochemical data. We have implemented the ability to control parameters in real time in our software, a feature that can be useful for the analysis of electrochemical measurements recorded under fluctuating conditions or for repetitive measurements performed over long experimental times in harsh conditions. (A) Here, for example, we show square-wave voltammograms recorded with a tobramycin-detecting E-AB sensor emplaced in the jugular vein of a live rat. Using our software we extracted peak currents from the voltammograms by performing (1) a five point rolling average to remove high frequency noise, (2) a polynomial regression of the data, and (3) calculating the difference between the peak current and the lowest of the two current minima (the “valleys” in the voltammograms) from the best-fit curve obtained from the regression. (B) We serially interrogated the sensor every 10 s over 80 min at square-wave frequencies of 100 and 200 Hz. The visualization module produced graphs of the relative signal change. (C) By adjusting the data range analyzed from each voltammogram considered in our analysis (red line limited by the red arrows in panel C), we corrected for poor voltammogram baselines and (D) improved the signal-to-noise ratio of our measurements 2-fold. speeds as fast as 3 ms per cycle, enabling the continuous, realtime processing of data files even for applications demanding a high temporal resolution. To achieve these speeds, we implemented Python’s “High-Level Threading Interface <sup>20</sup> ” in our code, which allows SACMES to run multiple tasks in parallel (as opposed to serially) to dramatically improve processing speed and GUI responsiveness without relying on expensive computers. For example, the program supports the real-time analysis of chronoamperometrically interrogated EAB sensors sampled as frequently as every few hundred milliseconds <sup>6</sup> (Figure 4). To support the analysis of chronoamperometric measurements, we modified the Data Analysis module to (1) read chronoamperograms, as opposed to voltammograms, and (2) perform regression analysis between the chronoamperograms and a monoexponential function <sup>6,47</sup> to determine, from the best fit, the current decay time constants from every measurement. Finally, we modified the Animation Class to display each chronoamperogram in a log−log format, which facilitates the analysis of current and time data covering many orders of magnitude. The program for the analysis of the chronoamperometric measurements can be downloaded from the link: [https://github.com/netzlab/](https://github.com/netzlab/SACMES.git) [SACMES.git.](https://github.com/netzlab/SACMES.git) In the same link we have also incorporated an example program for the continuous processing of cyclic voltammograms. Besides achieving high processing speeds, SACMES supports constant-speed analysis and animation of large data volumes collected over extended periods of time without building temporary (RAM) memory. To achieve this, we integrated a computer graphics technique called “Blitting”. <sup>11</sup> Whereas most image-rendering techniques require the rendering of an entirely new image for each data file, Blitting Figure 4. With a processing speed of a few milliseconds per cycle, our program enables the real-time analysis of data acquired at fast rates. To illustrate this, we modified our code so it would read chronoamperograms, as opposed to voltammograms. For each measurement, we merged two chronoamperograms (one lasting 10 ms and a second one lasting 500 ms) which we acquired with the same sampling frequency (one point every 10 μs) but different “current sensitivity” so we could resolve with high signal-to-noise ratio decays spanning 4 orders of magnitude in current. We continuously recorded these two-pulse, merged chronoamperograms every 500 ms from a tobramycin-binding E-AB sensor. The program acquired these measurements, merged them according to the limits set by the user in real time in the “Regression Analysis Parameters” box, visualized them as a single trace, and fit them to a monoexponential decay with range limits set in the “Curve Fit Range” box. The right-hand panel shows how the half-life of the current decay decreases monotonically with increasing tobramycin concentrations. This decay occurs because the sensor’s aptamer folds into a more compact conformation upon drug binding, which increases the efficiency of electron transfer from the redox reporter. <sup>6</sup> saves a clean background canvas, or “bit map”, in which only new data is rendered, thus keeping the time needed to visualize each file constant. Whether SACMES analyzes a single file or thousands, the speed of analysis under a specific set of technique parameters is thus constant, a feature that enables the visualization of measurements taken over extended periods without the need for high-performance computers. To illustrate this, we ran two experiments: (1) monitoring the output of a tobramycin-detecting E-AB sensor (measurement frequency of 20 s) alternatively challenged every 30 min with either tobramycin-containing serum or drug-free serum over 14 h (Figure 5A) and (2) the continuous monitoring of signaling current, every 2 min, from an electrode functionalized with redox-reporter-modified protein and immersed in a solution that unfolds the protein (10 M urea) for 24 h (Figure 5B). These experiments illustrate the ability of SACMES to uninterruptedly and continuously analyze data every few seconds over the course of hours or days. # ■ CONCLUSIONS Here we describe an open-source program that supports the efficient, customizable, real-time analysis of high-volume electrochemical data. This software, nicknamed SACMES, can easily be used to conduct and control data processing and visualization in real-time, giving the user the ability to dynamically adapt processing parameters “on the fly.” To make SACMES widely applicable and easy to operate we provide an SOP [(Manual),](http://pubs.acs.org/doi/suppl/10.1021/acs.analchem.9b02553/suppl_file/ac9b02553_si_001.pdf) [sample](http://pubs.acs.org/doi/suppl/10.1021/acs.analchem.9b02553/suppl_file/ac9b02553_si_007.zip) data, and [tutorial](http://pubs.acs.org/doi/suppl/10.1021/acs.analchem.9b02553/suppl_file/ac9b02553_si_002.mp4) videos as Supporting Information. We recognize that even after extensive debugging, the program may need improvement; thus, we also 12326 [DOI: 10 1021/acs analchem 9b02553](http://dx.doi.org/10.1021/acs.analchem.9b02553) <u>Analytical</u> <u>Chemistry</u> <u><mark>Article</mark></u> Figure 5. Continuous analysis and visualization of long-duration electrochemical data without building temporary memory. By incorporating into our code high-efficiency visualization techniques such as “blitting” we have created a program that performs data analysis at a constant-speed. (A) To illustrate this, we have followed, in real time, the signaling of a tobramycin-detecting E-AB sensor interrogated every 20 s over 14 h as it was alternatively challenged every 30 min with either tobramycin-containing serum or drug-free serum. The % Signal was calculated via the equation shown in Figure 3B, except using square-wave frequencies 240 and 30 Hz. (B) This ability is ideally suited to evaluate sensor stability, as shown for an electrode functionalized with redox-reporter-modified protein and immersed in a solution containing 10 M denaturant (urea) that we interrogated every 2 min over the course of 25 h. [include online access to a GitHub folder (https://github.com/](https://github.com/netzlab/SACMES.git) [netzlab/SACMES.git)](https://github.com/netzlab/SACMES.git) where we will continue to post code fixtures and updates. This folder also contains an open-source license for free software distribution. We encourage the scientific community to actively use and freely distribute our code and to reach out to us with script improvements. We hope this work will further promote the sharing of data processing software in the field of electrochemical biosensors. # ■ ASSOCIATED CONTENT *S Supporting Information The Supporting Information is available free of charge on the ACS [Publications](http://pubs.acs.org) website at DOI: [10.1021/acs.anal-](http://pubs.acs.org/doi/abs/10.1021/acs.analchem.9b02553) [chem.9b02553.](http://pubs.acs.org/doi/abs/10.1021/acs.analchem.9b02553) Fully documented SOP explaining how to use, customize, and debug the program [(PDF)](http://pubs.acs.org/doi/suppl/10.1021/acs.analchem.9b02553/suppl_file/ac9b02553_si_001.pdf) Video tutorial on how to use SACMES [(MP4)](http://pubs.acs.org/doi/suppl/10.1021/acs.analchem.9b02553/suppl_file/ac9b02553_si_002.mp4) Video tutorial on installing the Anaconda Distribution [(MP4)](http://pubs.acs.org/doi/suppl/10.1021/acs.analchem.9b02553/suppl_file/ac9b02553_si_003.mp4) Video tutorial on using the Anaconda Prompt [(MP4)](http://pubs.acs.org/doi/suppl/10.1021/acs.analchem.9b02553/suppl_file/ac9b02553_si_004.mp4) Video tutorial on downloading SACMES from GitHub [(MP4)](http://pubs.acs.org/doi/suppl/10.1021/acs.analchem.9b02553/suppl_file/ac9b02553_si_005.mp4) Video tutorial on using Atom Text Editor to edit SACMES [(MP4)](http://pubs.acs.org/doi/suppl/10.1021/acs.analchem.9b02553/suppl_file/ac9b02553_si_006.mp4) Square-wave voltammogram sample data [(ZIP](http://pubs.acs.org/doi/suppl/10.1021/acs.analchem.9b02553/suppl_file/ac9b02553_si_007.zip) Cyclic voltammogram sample data [(ZIP)](http://pubs.acs.org/doi/suppl/10.1021/acs.analchem.9b02553/suppl_file/ac9b02553_si_008.zip) # ■ AUTHOR INFORMATION Corresponding Author *E-mail: [netzarroyo@jhmi.edu.](mailto:netzarroyo@jhmi.edu) ORCID Martin Kurnik: [0000-0001-9255-9730](http://orcid.org/0000-0001-9255-9730) Gabriel Ortega: [0000-0002-7126-9096](http://orcid.org/0000-0002-7126-9096) Claudio Parolo: [0000-0001-9481-4408](http://orcid.org/0000-0001-9481-4408) Kevin W. Plaxco: [0000-0003-4772-8771](http://orcid.org/0000-0003-4772-8771) Netzahualcoyotĺ Arroyo-Curras:́ [0000-0002-2740-6276](http://orcid.org/0000-0002-2740-6276) Author Contributions S.D.C, N.A.C., and K.W.P. developed the idea. S.D.C. and N.A.-C. designed, wrote, and debugged the Python code. K.L.P. performed all animal procedures and in vivo measurements. M.K. and G.O. fabricated electrodes functionalized with full-length proteins and performed representative measurements. C.P. fabricated DNA-scaffold sensors and performed representative measurements. K.L.P., T.E.K., and N.A.-C. supervised and enforced approved animal protocols. All authors participated in the writing and editing of this manuscript. Notes The authors declare no competing financial interest. We recognize that even after extensive debugging, the program may need improvement; thus, we also include online access to a GitHub folder [(https://github.com/netzlab/SACMES.git)](https://github.com/netzlab/SACMES.git) where we will continue to post code fixtures and updates. This folder also contains an open-source license for free software distribution. We encourage the scientific community to actively use and freely distribute our code and to reach out to us with script improvements. # ■ ACKNOWLEDGMENTS This work was supported in part by the National Institutes of Health (Grant R01GM125789). N.A.C. thanks Oak Ridge Associated Universities for granting a 2019 Ralph E. Powe Junior Faculty Enhancement Award to support this work. # ■ REFERENCES (1) Redmond, S. J.; Lovell, N. H.; Yang, G. Z.; Horsch, A.; Lukowicz, P.; Murrugarra, L.; Marschollek, M. Yearb Med. Inform 2014, 23, 135−142. (2) Olczuk, D.; Priefer, R. Diabetes Metab Syndr 2018, 12, 181−187. (3) Liebl, A.; Henrichs, H. R.; Heinemann, L.; Freckmann, G.; Biermann, E.; Thomas, A. J. Diabetes Sci. Technol. 2013, 7, 500−519. (4) Medtronic. Continuous Glucose Monitoring, [https://www.](https://www.medtronicdiabetes.com/treatments/continuous-glucose-monitoring) [medtronicdiabetes.com/treatments/continuous-glucose-monitoring](https://www.medtronicdiabetes.com/treatments/continuous-glucose-monitoring) (accessed April 12, 2019). (5) Arroyo-Curras, N.; Somerson, J.; Vieira, P. A.; Ploense, K. L.; Kippin, T. E.; Plaxco, K. W. Proc. Natl. Acad. Sci. U. S. A. 2017, 114, 645−650. (6) Arroyo-Curras, N.; Dauphin-Ducharme, P.; Ortega, G.; Ploense, K. L.; Kippin, T. E.; Plaxco, K. W. ACS Sens 2018, 3, 360−366. (7) Santos-Cancel, M.; Lazenby, R. A.; White, R. J. ACS Sens 2018, 3, 1203−1209. (8) Vieira, P. A.; Shin, C. B.; Arroyo-Currás, N.; Ortega, G.; Li, W.; Keller, A. A.; Plaxco, K. W.; Kippin, T. E. Ultra-High-Precision, invivo Pharmacokinetic Measurements Highlight the Need for and a Route Toward More Highly Personalized Medicine. Front. Mol. Biosci. 2019, DOI: [10.3389/fmolb.2019.00069.](http://dx.doi.org/10.3389/fmolb.2019.00069) (9) The MathWorks Inc. MATLAB, R2018b; Natick, MA, 2019. (10) Weiss, C. J. Chem. Eng. News 2017, 95, 30−31. (11) Julio Sanchez, M. P. C., Displaying Bit-Mapped images. In Software Solutions for Engineers and Scientists; CRC Press, 2007. (12) Arroyo-Curras, N.; Scida, K.; Ploense, K. L.; Kippin, T. E.; Plaxco, K. W. Anal. Chem. 2017, 89, 12185−12191. (13) Arroyo-Currás, N.; Ortega, G.; Copp, D. A.; Ploense, K. L.; Plaxco, Z. A.; Kippin, T. E.; Hespanha, J. P.; Plaxco, K. W. ACS Pharmacol. Transl. Sci. 2018, 1, 110−118. (14) IACUC. Guide for the Care and Use of Laboratory Animals,8th ed.; The National Academies Press, 2011. (15) Cash, K. J.; Ricci, F.; Plaxco, K. W. J. Am. Chem. Soc. 2009, 131, 6955−7. (16) Kurnik, M.; Ortega, G.; Dauphin-Ducharme, P.; Li, H.; Caceres, A.; Plaxco, K. W. Proc. Natl. Acad. Sci. U. S. A. 2018, 115, 8352−8357. 12327 [DOI: 10 1021/acs analchem 9b02553](http://dx.doi.org/10.1021/acs.analchem.9b02553) <u>Analytical</u> <u>Chemistry</u> <u><mark>Article</mark></u> (17) Van Rossum, G. Python, [https://www.python.org/](https://www.python.org/) (accessed March 28, 2019). (18) Open Source Initiative. Python License (Python-2.0), [https://](https://opensource.org/licenses/Python-2.0) [opensource.org/licenses/Python-2.0](https://opensource.org/licenses/Python-2.0) (accessed March 26, 2019). (19) For example: Anaconda Environment, [https://www.anaconda.](https://www.anaconda.com/distribution/) [com/distribution/.](https://www.anaconda.com/distribution/) (20) Van Rossum, G. The Python Standard Library, [https://docs.](https://docs.python.org/3/library/) [python.org/3/library/](https://docs.python.org/3/library/) (accessed March 20, 2019). (21) Van Rossum, G. Python Package Index, [https://pypi.org/](https://pypi.org/) (accessed March 20, 2019). (22) Van Rossum, G. Python: Useful Modules, [https://wiki.python.](https://wiki.python.org/moin/UsefulModules) [org/moin/UsefulModules](https://wiki.python.org/moin/UsefulModules) (accessed March 20, 2019). (23) Jones, E O. E.; Peterson, P. et al. SciPy: Open Source Scientific Tools for Python, [http://www.scipy.org/](http://www.scipy.org/) (accessed March 21, 2019). (24) Oliphant, T. E. A Guide to NumPy; Trelgol Publishing, 2006. (25) Mircceski,̌ V., Komorsky-Lovric,́ S., Lovrić, M. Square-Wave Voltammetry: Theory and Application; Springer: Berlin, Germany, 2007. (26) Chen, A. C.; Shah, B. Anal. Methods 2013, 5, 2158−2173. (27) Liu, X.; Duckworth, P. A.; Wong, D. K. Biosens. Bioelectron. 2010, 25, 1467−73. (28) Ikeda, R.; Kobayashi, S.; Chiba, J.; Inouye, M. Chem. - Eur. J. 2009, 15, 4822−8. (29) Lubin, A. A.; Plaxco, K. W. Acc. Chem. Res. 2010, 43, 496−505. (30) Ricci, F.; Lai, R. Y.; Plaxco, K. W. Chem. Commun. (Cambridge, U. K.) 2007, 0, 3768−70. (31) Jolly, P.; Batistuti, M. R.; Miodek, A.; Zhurauski, P.; Mulato, M.; Lindsay, M. A.; Estrela, P. Sci. Rep. 2016, 6, 36719. (32) Das, J.; Ivanov, I.; Safaei, T. S.; Sargent, E. H.; Kelley, S. O. Angew. Chem., Int. Ed. 2018, 57, 3711−3716. (33) Thompson, C. C.; Lai, R. Y. ECS Meeting Abstracts 2017, 1938. (34) Gonzalez-Ferná ́ndez, E.; Staderini, M.; Avlonitis, N.; Murray, A. F.; Mount, A. R.; Bradley, M. Sens. Actuators, B 2018, 255, 3040− 3046. (35) Puiu, M.; Idili, A.; Moscone, D.; Ricci, F.; Bala, C. Chem. Commun. (Cambridge, U. K.) 2014, 50, 8962−5. (36) Wojclechowski, M.; Go, W.; Osteryoung, J. Anal. Chem. 1985, 57, 155−158. (37) Feldman, B. J.; Osterloh, J. D.; Hata, B. H.; D’Alessandro, A. Anal. Chem. 1994, 66, 1983−7. (38) Xiao, Y.; Lubin, A. A.; Heeger, A. J.; Plaxco, K. W. Angew. Chem., Int. Ed. 2005, 44, 5456−9. (39) Ferguson, B. S.; Hoggarth, D. A.; Maliniak, D.; Ploense, K.; White, R. J.; Woodward, N.; Hsieh, K.; Bonham, A. J.; Eisenstein, M.; Kippin, T. E.; Plaxco, K. W.; Soh, H. T. Sci. Transl. Med. 2013, 5, 213ra165. (40) Fetter, L.; Richards, J.; Daniel, J.; Roon, L.; Rowland, T. J.; Bonham, A. J. Chem. Commun. (Cambridge, U. K.) 2015, 51, 15137− 40. (41) Kang, D.; Parolo, C.; Sun, S.; Ogden, N. E.; Dahlquist, F. W.; Plaxco, K. W. ACS Sens 2018, 3, 1271−1275. (42) Ortega, G.; Kurnik, M.; Dauphin-Ducharme, P.; Li, H.; ArroyoCurras, N.; Caceres, A.; Plaxco, K. W. Angew. Chem., Int. Ed. 2019, 58, 1714−1718. (43) Dauphin-Ducharme, P.; Plaxco, K. W. Anal. Chem. 2016, 88, 11654−11662. (44) Goodsell, D. S. Oncologist 2001, 6, 547−8. (45) Somerson, J.; Plaxco, K. W. Molecules 2018, 23, 912. (46) Mirčeski, V.; Lovrić, M. Electroanalysis 1997, 9, 1283−1287. (47) Dauphin-Ducharme, P.; Arroyo-Curras, N.; Kurnik, M.; Ortega, G.; Li, H.; Plaxco, K. W. Langmuir 2017, 33, 4407−4413. 12328 [DOI: 10 1021/acs analchem 9b02553](http://dx.doi.org/10.1021/acs.analchem.9b02553)

섹션 본문 156문단 · 30,463자

Table of Contents

2Brief Description of the Script Structure .................................................................................. 9 ElectrochemicalAnimation ...................................................................................................... 12 Graphical User Interface ......................................................................................................... 18 MainWindow Data Export .............................................................................................................................. 26 Activating ............................................................................... 28 Input File Formatting and Data Extraction ......................................................................... Interface ....................................................................................................... ........................................................................................................................ Data Export .............................................................................................................................. 34 Format Left: Here we show a screenshot of the main control panel, where: 1) the path to the data folder is selected (here '1_InVivo_IMTobramycin'); 2) the file handle is defined (here '6electrode_') and 3) a handle to be assigned to the exported data file is defined. Following these boxes we included controls for: number of files, electrode number, square-wave frequency and other parameters as defined in the SOP.

3Right: Apple macOS operating system window showing the data folder with the data files and full file name used.

4Note the match between the "Import File Label" in the left panel and the name of the files in this screenshot. When the experiment is initialized, this window accepts real-time parameter inputs for signal processing, such as normalization point and drift correction. For more details read SOP below.

Python Installation Instructions

5SACMES is based on the Python programming language and employs three publicly available, pre-developed python libraries:

6(1) SciPy;

7(2) Matplotlib; and

8(3) NumPy When installing anaconda on Windows-based computers, we recommend checking the box "Add Anaconda to my PATH environment variable". Note: In some instances, the Anaconda installer will omit the installation of SciPy and Matplotlib. If this occurs, you may install them by opening the app called "Anaconda Prompt" and entering the following commands:

9For Matplotlib write:

101) conda install -c conda-forge matplotlib then hit "Enter"

11If prompted to say yes or no to perform these updates, write Y and hit "Enter."

12For SciPy write:

131) conda install -c anaconda scipy then hit "Enter"

14If prompted to say yes or no to perform these updates, write Y and hit "Enter."

15S-8

GitHub: Cloning the Program to Your Desktop

16We have set up an institutional account with GitHub -an online repository for software

Mac Bug When Running Tkinter-Based Python Programs

17At the time of this submission, the apple OS was updated to version Mojave 10.14.6. This update causes a problem with Tkinter, Python's base GUI, in new Macbook Pro computers. These laptops may crash when running our code or any Python-based code that uses Tkinter. This issue is a problem caused by the apple OS update (and its developers) and should be fixed in future versions of the operating system (most likely after the migration to Catalina in 2019). There was no workaround at the time of this submission. SACMES users with 2018 MacBook Pro laptops or newer will need to run the code on an older mac or a windows PC.

S-9

18Standard Operating Procedure for SACMES.py

19The following documentation includes a description of the different sections contained within the SACMES script and provides instructions on how to use and edit the code. This documentation is not exhaustive, however, so we encourage the community to reach out to the authors with questions or comments. We will maintain a GitHub folder ( https://github.com/netzlab/SACMES.git ) where any updates to the code will be uploaded.

Brief Description of the Script Structure

20The script starts with a series of commands to import all the Python libraries that are needed for the proper operation of the program. This section does not need to be edited unless usercustomization requires the use of different libraries. Next, you will see the list of Global Variables (variables that are shared by many functions throughout the program) ( Figure S3).

S-10

21And then a list of Global Functions such as, for example, the ones specifying the filename of the input data files ( Figure S4). Below the list of Global Functions you will find all the modules that make the Graphical User

######################## ### Global Functions

22Interface (GUI) and the bulk of the program. These will be discussed in detail next. We have invested significant time in fully documenting each section of the code and, as a result, you will see different sections clearly denoted by headers and line breaks like the ones seen in the snippets above. For example, you will see pound signs denoting headers ( Figure S4).

23Note that all text preceded by a pound sign, #, is ignored by the Python compiler and will not be executed. We now proceed to describe the main functions and classes in SACMES.

Input File Format

24The Input File is the raw data created by an external analytical device that contains, in the case of SVW and other voltammetric techniques, the experimentally-applied potentials and corresponding measured currents. For example, see right panel of Figure S1.

25SACMES can analyze multielectrode data contained within a single file ('Multichannel' setting; default) or in separate files ('Multiplexed' setting, one file per electrode). The default format for data files in a SWV experiment -independent of whether there are individual files for each electrode or a single file for all electrodes -should be as follows:

26Column 1: Potentials

27Column 2: Differential SWV Currents

S-11

28Column 3: Forward SWV Currents

Column 4: Reverse SWV Currents

29Repeat Columns 2-4 for further electrodes

30• Example of a file in the 'Multiplexed' setting containing data for a single electrode, in this case 'E1'; with headers ( Figure S5). Figure S5. Example of file generated by multiplexer potentiostat.

31• Example of a file in the 'Multichannel' format containing data for 3 electrodes from a single continuous experiment; without headers ( Figure S6). Figure S6. Example of file generated by multichannel potentiostat.

Default Input File Nomenclature

32If the data for each electrode are within a single file ('Multichannel')

33• The file name can begin with any ASCII string -here written as 'ExampleHandle_' -followed by the frequency of the experiment, an underscore, the file number, and the extension '.txt'

34Currents -Electrode 1 -0.004, 3.860e-8, 1.775e-8, -2.085e-8 -0.005, 3.851e-8, 1.816e-8, -2.034e-8 -0.101, 8.359e-8, 1.094e-8, -7.265e-8, 4.028e-8, 8.560e-9, -3.172e-8, 5.640e-8, 8.532e-9, -4.787e-8 -0.102, 1.002e-7, 3.861e-8, -6.154e-8, 5.001e-8, 2.372e-8, -2.629e-8, 7.426e-8, 3.316e-8, -4.110e-8 -0.103, 1.008e-7, 4.304e-8, -5.776e-8, 5.072e-8, 2.599e-8, -2.473e-8, 7.544e-8, 3.683e-8, -3.860e-8 -0.104, 1.007e-7, 4.516e-8, -5.553e-8, 5.163e-8, 2.782e-8, -2.381e-8, 7.568e-8, 3.790e-8, -3.778e-8 -0.105, 1.002e-7, 4.667e-8, -5.355e-8, 5.101e-8, 2.787e-8, -2.315e-8, 7.562e-8, 3.868e-8, -3.693e-8 -0. 106, 9.855e-8, 4.663e-8, -5.192e-8, 5.050e-8, 2.782e-8, -2.268e-8, 7.695e-8, 3.988e-8, -3.707e-8 -0.107, 9.853e-8, 4.718e-8, -5.134e-8, 5.150e-8, 2.938e-8, -2.212e-8, 7.504e-8, 3.997e-8, -3.506e-8 -0. 108, 9.793e-8, 4.816e-8, -4.976e-8, 5.083e-8, 2.884e-8, -2.199e-8, 7.653e-8, 4.066e-8, -3.587e-8 -0.109, 9.906e-8, 4.905e-8, -5.001e-8, 4.997e-8, 2.851e-8, -2.145e-8, 7.577e-8, 4.037e-8, -3.540e-8 -0.110, 9.826e-8, 4.957e-8, -4.869e-8, 5.086e-8, 2.942e-8, -2.143e-8, 7.544e-8, 4.102e-8, -3.442e-8 -0.111, 9.815e-8, 4.970e-8, -4.845e-8, 5.021e-8, 2.922e-8, -2.099e-8, 7.639e-8, 4.122e-8, -3.518e-8

Applied Voltage

35Currents -E1 Currents -E2 Currents -E3

36S-12

37ExampleHandle_10Hz_3.txt à etc.

38• Successive data files must have the same file handle with the file number increasing sequentially

39If the data for each electrode are separated into individual files ('Multiplexed')

40• The file name must then start with the electrode number and an underscore:

Customizing Data Extraction from the Input File

41By using the 'Settings' menu (located at the very top of SACMES where the Windows or

42Mac Finder Navigation Bars are typically found) and selecting 'Adjust Current

43Extraction', the user can change the file column that is read by SACMES (default is differential currents; column 2). If multiple electrodes are contained within a single file ('Multichannel' setting) then the columns with the data will be spaced 3 columns apart (e.g. 2, 5, 8, 11), assuming that the columns with the forward and reverse currents (independent of the order) will follow consecutive to the column with the differential currents.

44Note: If a different nomenclature is to be used, the script must be edited to reflect such new nomenclature. Otherwise the script will not find the files to be analyzed. To do this, the section Global Functions (Figure S4), function '_retrieve_file' must be edited from the current definition of the file name: 'E%s_%s%sHz_%d.txt' to a string matching the new nomenclature.

ElectrochemicalAnimation

45The majority of the code for file processing and visualization in SACMES is contained within the function titled ElectrochemicalAnimation. This function is a Python class (a code template for creating objects) that controls the progression of all data processing and visualization. Specifically, ElectrochemicalAnimation contains two main modules: (1) a "generator" that analyzes and stores S-13 data; and (2) an "animator" that subsequently visualizes the data. If data recorded on multiple electrodes is being analyzed, SACMES will call a separate, independent 'instance' of the ElectrochemicalAnimation class for each electrode. All instances run in parallel, however, making SACMES highly efficient.

46When the user presses the 'Start' button on the Real Time Manipulation Frame (Figure S17), SACMES initializes data processing and visualization by creating an instance of the ElectrochemicalAnimation class for each electrode. Specifically, the 'Start' button passes the parameters chosen by the user in the StartPage user interface -including the figure to be animated and the electrodes to be analyzed -to the ElectrochemicalAnimation class. The arguments (noted between parenthesis) are presented in Table S1. The figure object that is used to draw, resize, and visualize processed data.

47ax : matplotlib.axes.Axes object

48The axes that contain all of the "artists" within a given figure such as Axis, Tick, Line2D, and Polygon objects electrode : integer Electrode corresponding to the given figure. Indicates which electrode is being analyzed (e.g. E3, E5, E7). Most importantly, the electrode number indicates how the data-generator reads the data from the input txt file (See Default Input File Nomenclature p.11 for more information).

49generator : generator class instance, optional

50Iterable data analysis function. Generates data to pass to func to be animated. Iterates through each file -processing the data within the file and returning this processed data to func to be visualized. The ElectrochemicalAnimation class requires two main modules: (1) the data processing module (generator) and (2) the animation module (func).

Data Processing Module (generator)

51The Data Processing Module performs three main functions. First, it reads and processes the data file -performing regression analyses, smoothing algorithms, and finally either peak height extraction or area under the curve (whichever is chosen by the user on the StartPage frame).

52Second, the generator saves this data into global lists for processes such as data export, ratiometric analyses, data normalization, and real-time data manipulation. Lastly, the module 'returns' the analyzed data to the animation module, func, to be visualized.

53If measurements are recorded on different sensors/electrodes, SACMES analyzes data from each using a separate instance of the generator function. Because SACMES has a modular architecture, it can be easily customized to support the analysis of different electroanalytical techniques. This is done by creating a custom-made generator class that would read and process different data files (e.g., from chronoamperometry or linear sweep voltammetry) or use different data smoothing, regression analysis approaches. Whenever this is done, the new generator class must be passed as an argument to ElectrochemicalAnimation.

54By default SACMES is configured to analyze square-wave voltammograms. The generator therefore always begins by processing the lowest square-wave frequency dataset found in a newlygenerated file (remember that SACMES is continuously probing for the existence of new files in a user-defined folder). To do this, the generator retrieves the text file, finds the data corresponding to the low square-wave frequency measurement and then returns the data to the animation class to be visualized. It then iterates through the remaining frequencies, from low to high. Once it has analyzed each frequency it moves on to the next file and returns to the first (lowest) frequency.

55The default data processing steps are illustrated in Figures S7-11

Animation Module (func)

56The default animation module receives from the generator an iterable list of objects, framedata, to be animated. SACMES comes with a default animation module which can be customized as needed to support different visualization needs/applications. The arguments for Animation Module are presented in Table S2. def __func (self, framedata, *args):

Parameters: framedata: list

57The processed data -contained within a list -that is generated by the generator class.

*args: tuple, optional

58Additional arguments to passed to each iteration of the _func function by the ElectrochemicalAnimation class.

59In the current version of SACMES, the Animation Module receives the argument framedata from the default generator. The framedata passed from generator to Animation Module is then 'set' as the animated data that will be visualized ( Figure S12).

60def _animate(self, framedata):

61if key > 0: while True: potentials, adjusted_potentials, smooth_currents, adjusted_currents, regression, regression_potentials, linear_fit = framedata

Graphical User Interface

62The SACMES GUI consists of four principle frames (windows for the user to interact with the program): 1) a Main Window that acts as a container in which all other frames are embedded; 2) a Start Page frame for the initial user inputs; 3) a Visualization Frame that contains a matplotlib canvas (the canvas where each graph will be drawn and data will be visualized) for each electrode;

63and 4) a Real Time Manipulation Frame that contains widgets such as buttons and entry boxes enabling the real-time control of the data. See Figs. S1, S2 for screenshots of all 4 frames.

MainWindow

64The MainWindow ( Figure S13) contains all program frames and widgets: (1) the Initial Input The MainWindow acts as a container and only serves as a space holder for the other frames -it does not perform any functions or have any widgets.

Figure S13. The SACMES Main Window

65The Main Window that acts as a container in which all other frames are embedded.

66Column 1 Column 2

Initial Input Frame (Start Page)

67When the user initializes the program, the Initial Input Frame is the first frame created ( Figure S14).

Figure S14. The SACMES Input Frame

68The Input Frame contains widgets that allows adjusting the parameters of the experiment to the user's needs.

69The Input Frame can be edited to:

70Set the file path for the data that is being analyzed

71• To set the file path, click the button widget labeled 'Select File Path'. This prompts a file selection dialog where the user can choose the file from any location on a computer. This is the folder that contains all of the data files to be analyzed.

S-20

72Set the File Name for Data Export

73• If File Export has been activated, the user can type the name of the exported data file.

74This handle can contain any name that excludes backslashes ('\') and is followed by the extension '.txt'

75Set the Number of Files to be Analyzed

76• The user can input the number of files to be analyzed.

77• If the input contains more files than exist, the program will simply stop analysis once it processes the last file and will wait idle until a new file appears.

Set the Sampling Rate

78• The Sampling Rate (in seconds) is indicative of the time in between measurements.

79• The Sampling Rate affects multiple variables: Select Electrodes to be Analyzed

80• The user has the ability to select precisely which electrodes will be analyzed.

81• The Listbox under 'Select Electrodes' is a tk.Listbox widget that is set on the 'multiple' selection method -meaning that the user can select multiple electrodes to be analyzed simultaneously.

82• If the user selects, for example, electrodes '1', '3', and '5' it will analyze only those electrodes.

Electrode Settings

83• The format of the input file (data from the external device that is to be analyzed) can vary between potentiostat manufacturers or depending on user preferences.

S-21

84• By selecting either "Multiplex" or "Multichannel" the user can indicate if their data across all electrodes is exported as a single .txt file for all electrodes (as is the case with most multipotentiostats) or if each electrode is exported into its own .txt file (as with most multiplexed potentiostats).

Select Frequencies to be Analyzed

85• The 'Select Frequencies' Listbox is a tk.Listbox widget that contains a list of available frequencies for the user to choose from. Pressing the 'Edit' button beneath the Listbox allows the user to add or delete frequencies from this list. If the user selects '10', '20', and '100', for instance, each electrode will be analyzed at those frequencies in order from lowest to highest. If the selected frequency is not available in the original files, a pop-up window called "Searching for files…" will display, in red color, the missing frequency in the data set.

86• Each time a new frequency is selected the FrequencyCurSelect() function within the InputFrame class is activated -reading which frequencies have been selected, converting them to integers, ordering them from low to high, calculating the maxima and minima, and inputting them into a global list.

Edit Frequencies

87• By selecting the 'Edit' button the user may manipulate all the frequencies in the 'Select Frequencies' Listbox. The button will switch the frame to editing mode in which the user will find a tk.Entry box with 'Add', 'Delete', 'Clear', and 'Return' buttons beneath.

88• The Entry box is where the user can input any frequencies to add or delete from the 'Select Frequencies' Listbox. Multiple frequencies can be added at once if they are separated by a single space. By pressing the 'Add' or 'Delete' buttons the specified frequencies will be added or deleted from the Listbox, respectively. The 'Clear' button clears the entire list to be repopulated by using the 'Add' button. The 'Return' button returns the user to the 'Select Frequencies' Listbox.

89• After every edition, the Listbox is reorganized to show frequencies in an ascending order.

S-22

90Select the Data Analysis Method

Select Y Limit Parameters

91• To change the y axis limits, one may increase or decrease the values presented in the "Select Y Limit Parameters" entry box. The code is presented in Figure S15. subplot_count].set_ylim(data-abs(min_data*data),data+abs(max_data*data))

Figure S15. Code snippet showing formula for y-axis range calculation

92Here the values 'min_data' and 'max_data' correspond to the values in the second column of the entry box, titled 'Data Min. Factor' and 'Data Max Factor'. The program first calculates the max and min value of the data set -here being the peak height or AUC -and then increases and decreases the axis limits by a factor of that value. If both min_data and max_data are set to 0 then the axes will be exactly at the peak height. If the peak height is 1 and both values are set to 2 then the boundaries will be (1-

S-23

93(2*1),1+(2*1)), or (-1,3). If the min factor is set to 10 and the max factor is set to 5 then the limits will be (1-(10*1),1+(5*1)), or (-9,6).

Activating Injection Experiment

94• A tk.Checkbox labeled 'Injection Experiment' is located at the bottom right hand of the InputFrame.

95Here the user can indicate whether he/she is performing an injection experiment.

96• If an injection experiment is being pursued, in which a drug or analyte is introduced at specific times into the system, the user can track the change in measurement response by visually differentiating pre-and post-injection data using different colors.

Activating Text File Export

97• On the bottom left hand corner of the Input Frame there is a checkbox labeled 'File Export' that will activate file export. See Text File Export for more information.

Real Time Data Manipulation Frame

98The Real Time Data Manipulation Frame ( Figure S17) is created by the StartProgram function within the Initial Input Frame (StartPage) when the 'Initialize' button is pressed (indicated with red dashes in Figure S16). This frame is viewed alongside the VisualizationFrame and contains widgets for the manipulation of parameters for real-time data processing:

Figure S17. The SACMES Real Time Data Manipulation Frame

99This frame allows the user to change processing parameters in real time like the points used for rolling averaging, the voltage rage used for data processing or the normalization point.

Figure S16. The SACMES Initialize button

100When pressed, the initialize button transfers the input parameters from the initial frame to the Analysis module.

S-24

101The widget used to initialize data processing is a button located on the bottom left of the frame labeled 'Start' (see Figure S17 above) that calls upon the ElectrochemicalAnimation class.

Drift Correction

102• In order to correct for baseline drift, the program offers both ratiometric and differential methods that can be controlled in real time.

103• Two frequencies, a high and low, may be chosen for the ratiometric and differential analysis. If a frequency that does not exist is entered, a red warning label will appear indicating which frequency does not exist.

104• The Low Frequency Slope Manipulation entry allows for the user to manually adjust the slope of the low frequency output (by adding to the dataset a line with the specified slope) in real-time. The Low Frequency Offset is a vertical offset that will raise or lower the y-intercept by the value entered.

105• In order to apply these changes, the user must press the 'Apply Frequencies' button ( Figure S18).

Real-Time Analysis Manipulation

106• The program offers the ability to adjust the parameters of the Savitzky-Golay smoothing function, the polynomial regression, the peak height extraction, and the area under the curve (Figure S19).

107• The Savitzky-Golay smoothing function (essentially a rolling average when a onedegree polynomial correction is selected) can be manipulated by choosing the amount of points averaged by altering the mV window. In other words, the function will calculate the average of all points contained within the mV window selected (this window must be an odd number). Increasing the window range will increase the amount of points that will be averaged and thus the extent of smoothing. Caution: the • The parameters 'xstart' and 'xend' allow the user to control the x-axis points considered for the polynomial regression and peak height extraction/area under the curve. They allow the user to manually remove end-points that may present poorer signal-to-noise levels.

108• The above-described parameters can be adjusted independently for high and low frequencies ( Figure S19). The split point for the application of these high/low properties is, by default, 50 Hz, but could be customized by the user in the program by changing the 'cutoff_frequency' value in the global variables section (see p.9).

Visualization Frame

109The Visualization Frame contains all the matplotlib canvases and artists (e.g., Ticks, Axes, etc.)

110for data visualization. There is one Visualization Frame for each electrode included in the analysis.

111These frames are overlaid over one another allowing the user to switch between electrodes using the interactive "Electrode" buttons found in the Real-Time Manipulation Frame:

Figure S20. The SACMES Visualization Frame

112This frame is where all graphs are presented to the user.

S-26

113The Visualization Frame is organized as follows: • The 4th row is always 2 columns while Rows 1-3 will have as many columns as there are frequencies.

Data Export

114Activating Data Export

115• To activate Data Export, select "Export Data" at the bottom left of the Initial Input Frame (Start Page). This will activate the module 'TextFileExport'. To personalize the data exported, the class TextFileExport() must be edited ( Figure S21).

Figure S21. Code snippet showing the TextFileExport() class

116This class covers several lines of code which we are not shown above for the sake of brevity.

117They can be found ~below line 40,000 of the SACMES script.

Export File Nomenclature

118• In the tk.Entry box labeled 'Exported File Handle' on the top right of the Input Frame the user can enter any ASCII string without backslashes followed by the extension '.txt'

119to be the handle of the exported file.

Brief Description of the Script Structure

120SACMES_CV.py follows the same script structure as SACMES_SWV.py: we first import all module libraries, then global functions, create the user interface, invoke

121ElectrochemicalAnimation, and finally export data via TextFileExport. However, SACMES_CV does not use any data processing parameters that can be changed in real time. The purpose of the program is to calculate peak currents or surface areas from voltammograms, and report currents at specific, fixed voltages.

Input File Format

122The Input File is the raw data created by an external analytical device. Just like in SACMES_SWV, SACMES_CV can analyze multielectrode data contained within a single file ('Multichannel' setting; default) or in separate files ('Multiplexed' setting, one file per electrode). The default format for data files in a SWV experiment -independent of whether there are individual files for each electrode or a single file for all electrodes -should be as follows:

123Column 1: Potentials

124Column 2: Currents, Electrode 1

125Column 3: Currents, Electrode 2

126Column 4: Currents, Electrode 3

127And so forth..

Default Input File Nomenclature

128If the data for each electrode are within a single file ('Multichannel')

129• The file name can begin with any ASCII string; for example, 'ExampleHandle_', followed by an underscore, the file number, and the extension '.txt'. e.g. "ExampleHandle_1.txt" à "ExampleHandle_2.txt" à "ExampleHandle_3.txt" à etc.

S-29

130• Successive data files must have the same file handle with increasing file number as illustrated above.

131If the data for each electrode are separated into individual files ('Multiplexed')

132• The file name must then start with the electrode number and an underscore:

133"E5_ExampleHandle_1.txt"

Graphical User Interface

134The SACMES_CV GUI consists of four principle frames (windows for the user to interact with the program): 1) a Main Window that acts as a container in which all other frames are embedded;

1352) a Start Page frame for initial user inputs; 3) a Setup Frame to select the forward and reverse segments and adjust data analysis; and (4) a Visualization Frame that contains a matplotlib canvas (the canvas where each graph will be drawn and data will be visualized) for each electrode

MainWindow

136The MainWindow contains all program frames and widgets: (1)

Initial Input Frame (Start Page)

137When the user runs SACMES_CV.py from the command line or terminal, the Input Frame is the first frame created and the first window to appear ( Figure S22). In this window the user can specify the file path where the data is located, an import file label and an export file label. Other entry widgets include the number of files to be processed, the analysis interval at which SACMES will read each file (fastest is 1 ms), the scan rate used in the experiments, and a resize interval to adjust the size of the data graphs based on number of files. These parameters are very similar to those seen in SACMES_SWV.py as described above. For reference please go to page 19.

Figure S22. The SACMES_CV Input Frame

138The Input Frame contains widgets for parameter entries needed to analyze the data.

Setup Frame

139The Setup Frame ( Figure S23) has four principle functions: (1) selection of forward and reverse segments;

140(2) adjustment of the voltage range used for data analysis;

141(3) selection of specific voltages to be analyzed during the course of data analysis; and (4) adjustment of the Y Limit Parameters for creation of the axes within the Visualization Frame (see p. 21). These adjustment values follow the same convention as that for SWV.

Figure S23. The SACMES_CV Setup Frame

142The Setup Frame contains widgets where segment numbers, voltage range and voltage probes are set.

143(1)

144(3)

145S-31

Visualization Frame

146The Visualization Frame ( Figure S24) contains widgets to switch between electrodes as well as the matplotlib canvases that contain animated data. The color green represents data for the forward segment while the color red represents the reverse segment. Row one contains (1) the Cyclic Voltammogram, containing both the forward and reverse segments; and (2) the analyzed data (either PHE or AUC). Row 2 contains (3) the peak potential for the forward segment and (4) the peak potential for the reverse segment. Row 3 contains (5) the currents for voltage probe 1 -here shown as -0.18V -and (6) the currents for voltage probe 2 -shown as -0.27V.

Figure S24. The SACMES_CV Visualization Frame

147This frame contains all the data graphs produced by SACMES after data processing.

Settings Toolbar

148SACMES_CV.py has a settings toolbar that at the time of this submission had two dropdown menus: (1) Mass Transport Settings and (2) Segment Visualization Settings. The Mass Transport drop down menu allows the user to switch between "solution phase" (CV experiments controlled by diffusion) and "surface bound", which alter the way in which the baseline used for data processing is calculated (flat vs sloping baseline). Moreover, The Segment Visualization drop down menu allows the user to selectively choose which segments will be animated during data

149(3) (4)

150S-32

151analysis. This does not change any part of the data processing module, only what is animated in the animation module.

Data Analysis

152Data Processing Module (generator)

153SACMES_CV.py uses the same ElectrochemicalAnimation module as SACMES_SWV.py (see p.16) but with a new generator adapted for the analysis of cyclic voltammograms, illustrating the the point that SCMES can be adapted for the processing of different datasets.

154The Data Analysis Module for cyclic voltammetry first analyses the forward segment and finishes with the reverse segment. For each segment it performs four main functions. First, it adjusts the potentials and currents to the voltage range selected by the user in the Setup Frame ( Figure S25).

155Second, it calculates the peak potential of each segment ( Figure S26). Third, it creates a linear baseline -the only piece of data analysis that is dependent on the mass transport settings. If the mass transport settings are for surface bound species, the baseline

S-33

156creation is identical to that of SWV -drawing a baseline between the local minima/maxima on either side of the peak potential ( Figure S27).

Figure S27. Code snippet showing creation of linear baselines

157If the settings are for solution phase species, it locates the absolute maxima/minima of the adjusted currents (depending on the orientation of the segment) and then creates a baseline using the slope of the points around the extrema ( Figure S28). Figure S28. Code snippet showing calculation of slope for solution phase analysis

참고문헌 37건

  1. Electrochemical aptamer scaffold biosensors for detection of botulism and ricin toxins Chemical Communications · Royal Society of Chemistry · 2015 10.1039/c5cc05933j
  2. Square-wave anodic stripping analysis in the presence of dissolved oxygen Analytical Chemistry · American Chemical Society · 1985 10.1021/ac00279a038
  3. What Does Big Data Mean for Wearable Sensor Systems? Yearbook of Medical Informatics · Georg Thieme Verlag · 2014 10.15265/iy-2014-0019
  4. Split square‐wave voltammograms of surface redox reactions Electroanalysis · Wiley · 1997 10.1002/elan.1140091613
  5. Electrochemical sensing and biosensing based on square wave voltammetry Analytical Methods · Royal Society of Chemistry · 2013 10.1039/c3ay40155c
  6. Linear, redox modified DNA probes as electrochemical DNA sensors Chemical Communications · Royal Society of Chemistry · 2007 10.1039/b708882e
  7. Determination of Lead in Blood by Square Wave Anodic Stripping Voltammetry at a Carbon Disk Ultramicroelectrode Analytical Chemistry · American Chemical Society · 1994 10.1021/ac00085a010
  8. Detection of Mismatched Duplexes by Synchronizing the Pulse Potential Frequency with the Dynamics of Ferrocene/Isoquinoline Conjugate‐Connected DNA Probes Immobilized onto Electrodes Chemistry - A European Journal · Wiley · 2009 10.1002/chem.200802729
  9. Folding-Based Electrochemical Biosensors: The Case for Responsive Nucleic Acid Architectures Accounts of Chemical Research · American Chemical Society · 2010 10.1021/ar900165x
  10. Label‐Free Electronic Detection of Thrombin in Blood Serum by Using an Aptamer‐Based Sensor Angewandte Chemie International Edition · Wiley · 2005 10.1002/anie.200500989
  11. The Molecular Perspective: Antibodies The Oncologist · AlphaMed Press · 2001 10.1634/theoncologist.6-6-547
  12. Square wave voltammetry versus electrochemical impedance spectroscopy as a rapid detection technique at electrochemical immunosensors Biosensors and Bioelectronics · Elsevier BV · 2009 10.1016/j.bios.2009.10.047
  13. Real-Time, Aptamer-Based Tracking of Circulating Therapeutic Agents in Living Animals Science Translational Medicine · American Association for the Advancement of Science · 2013 10.1126/scitranslmed.3007095
  14. An Electrochemical Sensor for the Detection of Protein−Small Molecule Interactions Directly in Serum and Other Complex Matrices Journal of the American Chemical Society · American Chemical Society · 2009 10.1021/ja9011595
  15. Continuous Glucose Monitoring: Evidence and Consensus Statement for Clinical Use Journal of Diabetes Science and Technology · SAGE Publishing · 2013 10.1177/193229681300700227
  16. A modular electrochemical peptide-based sensor for antibody detection Chemical Communications · Royal Society of Chemistry · 2014 10.1039/c4cc02858a
  17. Displaying Bit-Mapped Images CRC Press eBooks · Informa · 2007 10.1201/9781420043037.ch25
  18. Maximizing the Signal Gain of Electrochemical-DNA Sensors Analytical Chemistry · American Chemical Society · 2016 10.1021/acs.analchem.6b03227
  19. Highly sensitive dual mode electrochemical platform for microRNA detection Scientific Reports · Nature Portfolio · 2016 10.1038/srep36719
  20. Real-time measurement of small molecules directly in awake, ambulatory animals Proceedings of the National Academy of Sciences · National Academy of Sciences · 2017 10.1073/pnas.1613458114
  21. Simulation-Based Approach to Determining Electron Transfer Rates Using Square-Wave Voltammetry Langmuir · American Chemical Society · 2017 10.1021/acs.langmuir.7b00359
  22. Electrochemical Peptide-Based (E-PB) Sensor for the Detection of Uranium Meeting abstracts/Meeting abstracts (Electrochemical Society. CD-ROM) · Institute of Physics · 2017 10.1149/ma2017-01/42/1938
  23. A history of continuous glucose monitors (CGMs) in self-monitoring of diabetes mellitus Diabetes & Metabolic Syndrome Clinical Research & Reviews · Elsevier BV · 2017 10.1016/j.dsx.2017.09.005
  24. Effect of spacer length on the performance of peptide-based electrochemical biosensors for protease detection Sensors and Actuators B Chemical · Elsevier BV · 2017 10.1016/j.snb.2017.09.128
  25. High Surface Area Electrodes Generated via Electrochemical Roughening Improve the Signaling of Electrochemical Aptamer-Based Biosensors Analytical Chemistry · American Chemical Society · 2017 10.1021/acs.analchem.7b02830
  26. Subsecond-Resolved Molecular Measurements in the Living Body Using Chronoamperometrically Interrogated Aptamer-Based Sensors ACS Sensors · American Chemical Society · 2017 10.1021/acssensors.7b00787
  27. Combinatorial Probes for High‐Throughput Electrochemical Analysis of Circulating Nucleic Acids in Clinical Samples Angewandte Chemie International Edition · Wiley · 2018 10.1002/anie.201800455
  28. Electrochemical Aptamer-Based Sensors for Rapid Point-of-Use Monitoring of the Mycotoxin Ochratoxin A Directly in a Food Stream Molecules · Multidisciplinary Digital Publishing Institute · 2018 10.3390/molecules23040912
  29. Rapid Two-Millisecond Interrogation of Electrochemical, Aptamer-Based Sensor Response Using Intermittent Pulse Amperometry ACS Sensors · American Chemical Society · 2018 10.1021/acssensors.8b00278
  30. Expanding the Scope of Protein-Detecting Electrochemical DNA “Scaffold” Sensors ACS Sensors · American Chemical Society · 2018 10.1021/acssensors.8b00311
  31. Quantitative measurements of protein−surface interaction thermodynamics Proceedings of the National Academy of Sciences · National Academy of Sciences · 2018 10.1073/pnas.1800287115
  32. High-Precision Control of Plasma Drug Levels Using Feedback-Controlled Dosing ACS Pharmacology & Translational Science · American Chemical Society · 2018 10.1021/acsptsci.8b00033
  33. Surface Attachment Enhances the Thermodynamic Stability of Protein L Angewandte Chemie International Edition · Wiley · 2018 10.1002/anie.201812231
  34. Guide for the Care and Use of Laboratory Animals National Academies Press eBooks · 2011 10.17226/12910
  35. Ultra-High-Precision, in-vivo Pharmacokinetic Measurements Highlight the Need for and a Route Toward More Highly Personalized Medicine Frontiers in Molecular Biosciences · Frontiers Media · 2019 10.3389/fmolb.2019.00069
  36. Square-Wave Voltammetry Monographs in electrochemistry · Springer International Publishing · 2007 10.1007/978-3-540-73740-7
  37. Deleted Work 1955