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

Utilizing SciPy and other open source packages to provide a powerful API for materials manipulation in the Schrödinger Materials Suite

관련 산업용 섬유 · (8) HDPE 섬유(FORPE) (6) PEM(고분자전해질막)(16) CPI(투명 폴리이미드)(23) 컴파운드

기본 정보

저자
  1. Alexandr Fonari — Schrödinger Inc., 1540 Broadway, 24th Floor. New York, NY 10036
  2. Farshad Fallah — Schrödinger Inc., 1540 Broadway, 24th Floor. New York, NY 10036
  3. Michael Rauch — Schrödinger Inc., 1540 Broadway, 24th Floor. New York, NY 10036
DOI
10.25080/majora-212e5952-008
저널
Proceedings of the Python in Science Conferences
발행년도
2022
발행기관
–
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.25080/majora-212e5952-008
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W4289139431

평가 내용

관련도
관련
사업분야
산업용 섬유 · (8) HDPE 섬유(FORPE)
부 분야
(6) PEM(고분자전해질막), (16) CPI(투명 폴리이미드), (23) 컴파운드
R&D 측면
분석·모델링
확신도
0.80
근거 용어
high-throughput molecular dynamics, polymers, high density polyethylene, glass transition temperature, stress strain curve
판단 근거
이 논문은 소재 발견을 위한 계산 과학 워크플로우를 다루며, 특히 고밀도 폴리에틸렌(HDPE)의 항복 신장률 예측 및 다양한 고분자(polymers)의 유리전이온도(Tg) 계산 등 코오롱인더스트리의 핵심 사업인 HDPE 섬유 및 고분자 소재 연구에 직접적으로 적용 가능한 시뮬레이션 방법론을 제시하고 있습니다.
R&D 활용 포인트
HDPE, 아라미드, 에폭시 등 고분자 소재의 물성(강도, 내열성, 유리전이온도 등)을 실험 전 컴퓨터 시뮬레이션(MD, DFT) 및 머신러닝으로 예측하여 R&D 효율을 높이는 데 참고할 수 있습니다.
평가 입력
섹션 본문 24,202자

초록

The use of several open source scientific packages in the Schrödinger Materials Science Suite will be discussed. A typical workflow for materials discovery will be described, discussing how open source packages have been incorporated at every stage. Some recent implementations of machine learning for materials discovery will be discussed, as well as how open source packages were leveraged to achieve results faster and more efficiently.

본문 24,555자

본문 펼치기
The use of several open source scientific packages in the Schrödinger Materials Science Suite will be discussed.A typical workflow for materials discovery will be described, discussing how open source packages have been incorporated at every stage.Some recent implementations of machine learning for materials discovery will be discussed, as well as how open source packages were leveraged to achieve results faster and more efficiently. Introduction A common materials discovery practice or workflow is to start with reading an experimental structure of a material or generating a structure in silico, computing its properties of interest (e.g.elastic constants, electrical conductivity), tuning the material by modifying its structure (e.g.doping) or adding and removing atoms (deposition, evaporation), and then recomputing the properties of the modified material (Figure 1).Computational materials discovery leverages such workflows to empower researchers to explore vast design spaces and uncover root causes without (or in conjunction with) laboratory experimentation. Introduction Software tools for computational materials discovery can be facilitated by utilizing existing libraries that cover the fundamental mathematics used in the calculations in an optimized fashion.This use of existing libraries allows developers to devote more time to developing new features instead of re-inventing established methods.As a result, such a complementary approach improves the performance of computational materials software and reduces overall maintenance. Introduction The Schrödinger Materials Science Suite [LLC22] is a proprietary computational chemistry/physics platform that streamlines materials discovery workflows into a single graphical user interface (Materials Science Maestro).The interface is a single portal for structure building and enumeration, physics-based modeling and machine learning, visualization and analysis.Tying together the various modules are a wide variety of scientific packages, some of which are proprietary to Schrödinger, Inc., some of which are open-source and many of which blend the two to optimize capabilities and efficiency.For example, the main simulation engine for molecular quantum mechanics is the Jaguar [BHH + 13] proprietary code.The proprietary classical molecular dynamics code Desmond (distributed by Schrödinger, Inc.) [SGB + 14] is used to obtain physical properties of soft materials, surfaces and polymers.For periodic quantum mechanics, the main simulation engine is the open source code Quantum ESPRESSO (QE) [GAB + 17].One of the co-authors of this proceedings (A.Fonari) contributes to the QE code in order to make integration with the Materials Suite more seamless and less error-prone.As part of this integration, support for using the portable XML format for input and output in QE has been implemented in the open source Python package qeschema [BDBF]. Introduction Figure 2 gives an overview of some of the various products that compose the Schrödinger Materials Science Suite.The various workflows are implemented mainly in Python (some of them described below), calling on proprietary or open-source code where appropriate, to improve the performance of the software and reduce overall maintenance. Introduction The materials discovery cycle can be run in a high-throughput manner, enumerating different structure modifications in a systematic fashion, such as doping ratio in a semiconductor or depositing different adsorbates.As we will detail herein, there are several open source packages that allow the user to generate a large number of structures, run calculations in high throughput manner and analyze the results.For example, the open source package pymatgen [ORJ + 13] facilitates generation and analysis of periodic structures.It can generate inputs for and read outputs of QE, the commercial codes VASP and Gaussian, and several other formats.To run and manage workflow jobs in a high-throughput manner, open source packages such as Custodian [ORJ + 13] and AiiDA [HZU + 20] can be used. Materials import and generation For reading and writing of material structures, several open source packages (e.g.OpenBabel [OBJ + 11], RDKit [LTK + 22]) have implemented functionality for working with several commonly used formats (e.g.CIF, PDB, mol, xyz).Periodic structures of materials, mainly coming from single crystal X-ray/neutron diffraction experiments, are distributed in CIF (Crystallographic Information File), PDB (Protein Data Bank) and lately mmCIF formats [WF05].Correctly reading experimental structures is of significant importance, since the rest of the materials discovery workflow depends on it.In addition to atom coordinates and periodic cell information, structural data also contains symmetry operations (listed explicitly or by the means of providing a space group) that can be used to decrease the number of computations required for a particular system by accounting for symmetry.This can be important, especially when scaling highthroughput calculations.From file, structure is read in a structure object through which atomic coordinates (as a NumPy array) and chemical information of the material can be accessed and updated."""Create a periodic structure.""" Materials import and generation One consideration of note is that PDB, CIF and mmCIF structure formats allow description of the positional disorder (for example, a solvent molecule without a stable position within the cell which can be described by multiple sets of coordinates).Another complication is that experimental data spans an interval of almost a century: one of the oldest crystal structures deposited in the Cambridge Structural Database (CSD) [GBLW16] dates to 1924 [HM24].These nuances and others present nontrivial technical challenges for developers.Thus, it has been a continuous effort by Schrödinger, Inc. (at least 39 commits and several weeks of work went into this project) and others to correctly read and convert periodic structures in OpenBabel.By version 3.1.1(the most recent at writing time), the authors are not aware of any structures read incorrectly by OpenBabel.In general, non-periodic molecular formats are simpler to handle because they only contain atom coordinates but no cell or symmetry information.OpenBabel has Python bindings but due to the GPL license limitation, it is called as a subprocess from the Schrödinger Materials Suite. Materials import and generation Another important consideration in structure generation is modeling of substitutional disorder in solid alloys and materials with point defects (intermetallics, semiconductors, oxides and their crystalline surfaces).In such cases, the unit cell and atomic sites of the crystal or surface slab are well defined while the chemical species occupying the site may vary.In order to simulate substitutional disorder, one must generate the ensemble of structures that includes all statistically significant atomic distributions in a given unit cell.This can be achieved by a brute force enumeration of all symmetrically unique atomic structures with a given number of vacancies, impurities or solute atoms.The open source library enumlib [HF08] implements algorithms for such a systematic enumeration of periodic structures.The enumlib package consists of several Fortran binaries and Python scripts that can be run as a subprocess (no Python bindings).This allows the user to generate a large set of symmetrically nonequivalent materials with different compositions (e.g.doping or defect concentration). Materials import and generation Recently, we applied this approach in simultaneous study of the activity and stability of Pt based core-shell type catalysts for the oxygen reduction reaction [MGF + 19].We generated a set of stable doped Pt/transition metal/nitrogen surfaces using periodic enumeration.Using QE to perform periodic density functional theory (DFT) calculations, we assessed surface phase diagrams for Pt alloys and identified the avenues for stabilizing the cost effective core-shell systems by a judicious choice of the catalyst core material.Such catalysts may prove critical in electrocatalysis for fuel cell applications. Workflow capabilities In the last section, we briefly described a complete workflow from structure generation and enumeration to periodic DFT calculations to analysis.In order to be able to run a massively parallel screening of materials, a highly scalable and stable queuing system (job scheduler) is required.We have implemented a job queuing system on top of the most used queuing systems (LSF, PBS, SGE, SLURM, TORQUE, UGE) and exposed a Python API to submit and monitor jobs.In line with technological advancements, cloud is also supported by means of a virtual cluster configured with SLURM.This allows the user to submit a large number of jobs, limited only by SLURM scheduling capabilities and cloud resources.In order to accommodate job dependencies in workflows, for each job, a parent job (or multiple parent jobs) can be defined forming a directed graph of jobs (Figure 3). Workflow capabilities There could be several reasons for a job to fail.Depending on the reason of failure, there are several restart and recovery mechanisms in place.The lowest level is the restart mechanism (in SLURM it is called requeue) which is performed by the queuing system itself.This is triggered when a node goes down.On the cloud, preemptible instances (nodes) can go offline at any moment.In addition, workflows implemented in the proprietary Schrödinger Materials Science Suite have built-in methods for handling various types of failure.For example, if the simulation is not converging to a requested energy accuracy, it is wasteful to blindly restart the calculation without changing some input parameters.However, in the case of a failure due to full disk space, it is reasonable to try restart with hopes to get a node with more empty disk space.If a job fails (and cannot be restarted), all its children (if any) will not start, thus saving queuing and computational time. Workflow capabilities Having developed robust systems for running calculations, job queuing and troubleshooting (autonomously, when applicable), the developed workflows have allowed us and our customers to perform massive screenings of materials and their properties.For example, we reported a massive screening of 250,000 chargeconducting organic materials, totaling approximately 3,619,000 DFT SCF (self-consistent field) single-molecule calculations using Jaguar that took 457,265 CPU hours (~52 years) [MAS + 20].Another similar case study is the high-throughput molecular dynamics simulations (MD) of thermophysical properties of polymers for various applications [ABG + 21].There, using Desmond we computed the glass transition temperature (T g ) of 315 polymers and compared the results with experimental measurements [Bic02].This study took advantage of GPU (graphics processing unit) support as implemented in Desmond, as well as the job scheduler API described above. Workflow capabilities Other workflows implemented in the Schrödinger Materials Science Suite utilize open source packages as well.For soft materials (polymers, organic small molecules and substrates composed of soft molecules), convex hull and related mathematical methods are important for finding possible accessible solvent voids (during submerging or sorption) and adsorbate sites (during molecular deposition).These methods are conveniently implemented in the open source SciPy [VGO + 20] and NumPy [HMvdW + 20] packages.Thus, we implemented molecular deposition and evaporation workflows by using the Desmond MD engine as the backend in tandem with the convex hull functionality.This workflow enables simulation of the deposition and evaporation of the small molecules on a substrate.We utilized the aforementioned deposition workflow in the study of organic light-emitting diodes (OLEDs), which are fabricated using a stepwise process, where new layers are deposited on top of previous layers.Both vacuum and solution deposition processes have been used to prepare these films, primarily as amorphous thin film active layers lacking long-range order.Each of these deposition techniques introduces changes to the film structure and consequently, different chargetransfer and luminescent properties [WKB + 22]. Workflow capabilities As can be seen from above, a workflow is usually some sort of structure modification through the structure object with a subsequent call to a backend code and analysis of its output if it succeeds.Input for the next iteration depends on the output of the previous iteration in some workflows.Due to the large chemical and manipulation space of the materials, sometimes it very tricky to keep code for all workflows follow the same code logic.For every workflow and/or functionality in the Materials Science Suite, some sort of peer reviewed material (publication, conference presentation) is created where implemented algorithms are described to facilitate reproducibility. Data fitting algorithms and use cases Materials simulation engines for QM, periodic DFT, and classical MD (referred to herein as backends) are frequently written in compiled languages with enabled parallelization for CPU or GPU hardware.These backends are called from Python workflows using the job queuing systems described above.Meanwhile, packages such as SciPy and NumPy provide sophisticated numerical function optimization and fitting capabilities.Here, we describe examples of how the Schrödinger suite can be used to combine materials simulations with popular optimization routines in the SciPy ecosystem. Data fitting algorithms and use cases Recently we implemented convex analysis of the stress strain curve (as described here [PKD18]).scipy.optimize.minimize is used for a constrained minimization with boundary conditions of a function related to the stress strain curve.The stress strain curve is obtained from a series of MD simulations on deformed cells (cell deformations are defined by strain type and deformation step).The pressure tensor of a deformed cell is related to stress.This analysis allowed prediction of elongation at yield for high density polyethylene polymer.Figure 4 shows obtained calculated yield of 10% vs. experimental value within 9-18% range [BAS + 20]. Data fitting algorithms and use cases The scipy.optimize package is used for a least-squares fit of the bulk energies at different cell volumes (compressed and expanded) in order to obtain the bulk modulus and equation of state (EOS) of a material.In the Schrödinger suite this was implemented as a part of an EOS workflow, in which fitting is performed on the results obtained from a series of QE calculations performed on the original as well as compressed and expanded (deformed) cells.An example of deformation applied to a structure in pymatgen: This is also an example of loosely coupled (embarrassingly parallel) jobs.In particular, calculations of the deformed cells only depend on the bulk calculation and do not depend on each other.Thus, all the deformation jobs can be submitted in parallel, facilitating high-throughput runs.Structure refinement from powder diffraction experiment is another example where more complex optimization is used.Powder diffraction is a widely used method in drug discovery to assess purity of the material and discover known or unknown crystal polymorphs [KBD + 21].In particular, there is interest in fitting of the experimental powder diffraction intensity peaks to the indexed peaks (Pawley refinement) [JPS92].Here we employed the open source lmfit package [NSA + 16] to perform a minimization of the multivariable Voigt-like function that represents the entire diffraction spectrum.This allows the user to refine (optimize) unit cell parameters coming from the indexing data and as the result, goodness of fit (R-factor) between experimental and simulated spectrum is minimized. Machine learning techniques Of late, there is great interest in machine learning assisted materials discovery.There are several components required to perform machine learning assisted materials discovery.In order to train a model, benchmark data from simulation and/or experimental data is required.Besides benchmark data, computation of the relevant descriptors is required (see below).Finally, a model based on benchmark data and descriptors is generated that allows prediction of properties for novel materials.We are currently training models that use these descriptors to predict properties, such as bulk modulus, of a set of Licontaining battery related compounds [Cha].Several models will be compared, such as kernel regression methods (as implemented in the open source scikit-learn code [PVG + 11]) and AutoQSAR. Machine learning techniques For isolated small molecules and extended non-periodic systems, RDKit can be used to generate a large number of atomic and molecular descriptors.A lot of effort has been devoted to ensure that RDKit can be used on a wide variety of materials that are supported by the Schrödinger suite.At the time of writing, the 4th most active contributor to RDKit is Ricardo Rodriguez-Schmidt from Schrödinger [RDK]. Machine learning techniques Recently, active learning (AL) combined with DFT has received much attention to address the challenge of leveraging exhaustive libraries in materials informatics [VPB21], [SPA + 19].On our side, we have implemented a workflow that employs active learning (AL) for intelligent and iterative identification of promising materials candidates within a large dataset.In the framework of AL, the predicted value with associated uncertainty is considered to decide what materials to be added in each iteration, aiming to improve the model performance in the next iteration (Figure 5). Machine learning techniques Since it could be important to consider multiple properties simultaneously in material discovery, multiple property optimization (MPO) has also been implemented as a part of the AL workflow [KAG + 22].MPO allows scaling and combining multiple properties into a single score.We employed the AL workflow to determine the top candidates for hole (positively charged carrier) transport layer (HTL) by evaluating 550 molecules in 10 iterations using DFT calculations for a dataset of ~9,000 molecules [AKA + 22].Resulting model was validated by randomly picking a molecule from the dataset, computing properties with DFT and comparing those to the predicted values.According to the semiclassical Marcus equation [Mar93], high rates of hole transfer are inversely proportional to hole reorganization energies.Thus, MPO scores were computed based on minimizing hole reorganization energy and targeting oxidation potential to an appropriate level to ensure a low energy barrier for hole injection from the anode into the emissive layer.In this workflow, we used RDKit to compute descriptors for the chemical structures.These descriptors generated on the initial subset of structures are given as vectors to an algorithm based on Random Forest Regressor as implemented in scikit-learn.Bayesian optimization is employed to tune the hyperparameters of the model.In each iteration, a trained model is applied for making predictions on the remaining materials in the dataset.Figure 6 (A) displays MPO scores for the HTL dataset estimated by AL as a function of hole reorganization energies that are separately calculated for all the materials.This figure indicates that there are many materials in the dataset with desired low hole reorganization energies but are not suitable for HTL due to their improper oxidation potentials, suggesting that MPO is important to evaluate the optoelectronic performance of the materials.To appreciate the computational efficiency of such an approach, it is worth noting that performing DFT calculations for all of the 9,000 molecules in the dataset would increase the computational cost by a factor of 15 versus the AL workflow.It seems that AL approach can be useful in the cases where problem space is broad (like chemical space), but there are many clusters of similar items (similar molecules).In this case, benchmark data is only needed for few representatives of each cluster.We are currently working on applying this approach to train models for predicting physical properties of soft materials (polymers). Conclusions We present several examples of how Schrödinger Materials Suite integrates open source software packages.There is a wide range of applications in materials science that can benefit from already existing open source code.Where possible, we report issues to the package authors and submit improvements and bug fixes in the form of the pull requests.We are thankful to all who have contributed to open source libraries, and have made it possible for us to develop a platform for accelerating innovation in materials and drug discovery.We will continue contributing to these projects and we hope to further give back to the scientific community by facilitating research in both academia and industry.We hope that this report will inspire other scientific companies to give back to the open source community in order to improve the computational materials field and make science more reproducible. Fig. 1 : Fig. 1: Example of a workflow for computational materials discovery. Fig. 2 : Fig.2: Some example products that compose the Schrödinger Materials Science Suite. Fig. 2 : Structure object is similar to the one implemented in open source packages such as pymatgen [ORJ + 13] and ASE [LMB + 17].All the structure manipulations during the workflows are done by using structure object interface (see structure deformation example below).Example of Structure object definition in pymatgen: class Structure: def __init__(self, lattice, species, coords, ...): Fig. 3 : Fig. 3: Example of the job submission process. Fig. 3 : from pymatgen.analysis.elasticityimport strain from pymatgen.coreimport lattice from pymatgen.coreimport structure deform = strain.Deformation([ [1.0, 0.02, 0.02], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]]) latt = lattice.Lattice([ [3.84, 0.00, 0.00], [1.92, 3.326, 0.00], [0.00, -2.22, 3.14], ]) st = structure.Structure( latt, ["Si", "Si"], [[0, 0, 0], [0.75, 0.5, 0.75]]) strained_st = deform.apply_to_structure(st) Fig. 3 : There are several techniques to generate the model, such as linear or non-linear fitting to neural networks.Tools include the open source DeepChem [REW + 19] and AutoQSAR [DDS + 16] from the Schrödinger suite.Depending on the type of materials, benchmark data can be obtained using different codes available in the Schrödinger suite: • small molecules and finite systems -Jaguar • periodic systems -Quantum ESPRESSO • larger polymeric and similar systems -Desmond Different materials systems require different descriptors for featurization.For example, for crystalline periodic systems, we have implemented several sets of tailored descriptors.Generation of these descriptors again uses a mix of open source and Schrödinger proprietary tools.Specifically: • elemental features such as atomic weight, number of valence electrons in s, p and d-shells, and electronegativity • structural features such as density, volume per atom, and packing fraction descriptors implemented in the open source matminer package [WDF + 18] • intercalation descriptors such as cation and anion counts, crystal packing fraction, and average neighbor ionicity [SYC + 17] implemented in the Schrödinger suite • three-dimensional smooth overlap of atomic positions (SOAP) descriptors implemented in the open source DScribe package [HJM + 20]. Fig. 4 : Fig.4: Left: The uniaxial stress/strain curve of a polymer calculated using Desmond through the stress strain workflow.The dark grey band indicates an inflection that marks the yield point.Right: Constant strain simulation with convex analysis indicates elongation at yield.The red curve shows simulated stress versus strain.The blue curve shows convex analysis. Fig. 5 : Fig. 5: Active learning workflow for the design and discovery of novel optoelectronics molecules. Fig. 5 : Figure 6 (B) presents MPO scores of the materials used in the training dataset of AL, demonstrating that the feedback loop in the AL workflow efficiently guides the data collection as the size of the training set increases. Fig. 6 : Fig. 6: A: MPO score of all materials in the HTL dataset.B: Those used in the training set as a function of the hole reorganization energy ( λ h ).

섹션 본문 33문단 · 23,891자

(제목 없음)

1The use of several open source scientific packages in the Schrödinger Materials Science Suite will be discussed.A typical workflow for materials discovery will be described, discussing how open source packages have been incorporated at every stage.Some recent implementations of machine learning for materials discovery will be discussed, as well as how open source packages were leveraged to achieve results faster and more efficiently.

Introduction

2A common materials discovery practice or workflow is to start with reading an experimental structure of a material or generating a structure in silico, computing its properties of interest (e.g.elastic constants, electrical conductivity), tuning the material by modifying its structure (e.g.doping) or adding and removing atoms (deposition, evaporation), and then recomputing the properties of the modified material (Figure 1).Computational materials discovery leverages such workflows to empower researchers to explore vast design spaces and uncover root causes without (or in conjunction with) laboratory experimentation.

3Software tools for computational materials discovery can be facilitated by utilizing existing libraries that cover the fundamental mathematics used in the calculations in an optimized fashion.This use of existing libraries allows developers to devote more time to developing new features instead of re-inventing established methods.As a result, such a complementary approach improves the performance of computational materials software and reduces overall maintenance.

4The Schrödinger Materials Science Suite [LLC22] is a proprietary computational chemistry/physics platform that streamlines materials discovery workflows into a single graphical user interface (Materials Science Maestro).The interface is a single portal for structure building and enumeration, physics-based modeling and machine learning, visualization and analysis.Tying together the various modules are a wide variety of scientific packages, some of which are proprietary to Schrödinger, Inc., some of which are open-source and many of which blend the two to optimize capabilities and efficiency.For example, the main simulation engine for molecular quantum mechanics is the Jaguar [BHH + 13] proprietary code.The proprietary classical molecular dynamics code Desmond (distributed by Schrödinger, Inc.) [SGB + 14] is used to obtain physical properties of soft materials, surfaces and polymers.For periodic quantum mechanics, the main simulation engine is the open source code Quantum ESPRESSO (QE) [GAB + 17].One of the co-authors of this proceedings (A.Fonari) contributes to the QE code in order to make integration with the Materials Suite more seamless and less error-prone.As part of this integration, support for using the portable XML format for input and output in QE has been implemented in the open source Python package qeschema [BDBF].

5Figure 2 gives an overview of some of the various products that compose the Schrödinger Materials Science Suite.The various workflows are implemented mainly in Python (some of them described below), calling on proprietary or open-source code where appropriate, to improve the performance of the software and reduce overall maintenance.

6The materials discovery cycle can be run in a high-throughput manner, enumerating different structure modifications in a systematic fashion, such as doping ratio in a semiconductor or depositing different adsorbates.As we will detail herein, there are several open source packages that allow the user to generate a large number of structures, run calculations in high throughput manner and analyze the results.For example, the open source package pymatgen [ORJ + 13] facilitates generation and analysis of periodic structures.It can generate inputs for and read outputs of QE, the commercial codes VASP and Gaussian, and several other formats.To run and manage workflow jobs in a high-throughput manner, open source packages such as Custodian [ORJ + 13] and AiiDA [HZU + 20] can be used.

Materials import and generation

7For reading and writing of material structures, several open source packages (e.g.OpenBabel [OBJ + 11], RDKit [LTK + 22]) have implemented functionality for working with several commonly used formats (e.g.CIF, PDB, mol, xyz).Periodic structures of materials, mainly coming from single crystal X-ray/neutron diffraction experiments, are distributed in CIF (Crystallographic Information File), PDB (Protein Data Bank) and lately mmCIF formats [WF05].Correctly reading experimental structures is of significant importance, since the rest of the materials discovery workflow depends on it.In addition to atom coordinates and periodic cell information, structural data also contains symmetry operations (listed explicitly or by the means of providing a space group) that can be used to decrease the number of computations required for a particular system by accounting for symmetry.This can be important, especially when scaling highthroughput calculations.From file, structure is read in a structure object through which atomic coordinates (as a NumPy array) and chemical information of the material can be accessed and updated."""Create a periodic structure."""

8One consideration of note is that PDB, CIF and mmCIF structure formats allow description of the positional disorder (for example, a solvent molecule without a stable position within the cell which can be described by multiple sets of coordinates).Another complication is that experimental data spans an interval of almost a century: one of the oldest crystal structures deposited in the Cambridge Structural Database (CSD) [GBLW16] dates to 1924 [HM24].These nuances and others present nontrivial technical challenges for developers.Thus, it has been a continuous effort by Schrödinger, Inc. (at least 39 commits and several weeks of work went into this project) and others to correctly read and convert periodic structures in OpenBabel.By version 3.1.1(the most recent at writing time), the authors are not aware of any structures read incorrectly by OpenBabel.In general, non-periodic molecular formats are simpler to handle because they only contain atom coordinates but no cell or symmetry information.OpenBabel has Python bindings but due to the GPL license limitation, it is called as a subprocess from the Schrödinger Materials Suite.

9Another important consideration in structure generation is modeling of substitutional disorder in solid alloys and materials with point defects (intermetallics, semiconductors, oxides and their crystalline surfaces).In such cases, the unit cell and atomic sites of the crystal or surface slab are well defined while the chemical species occupying the site may vary.In order to simulate substitutional disorder, one must generate the ensemble of structures that includes all statistically significant atomic distributions in a given unit cell.This can be achieved by a brute force enumeration of all symmetrically unique atomic structures with a given number of vacancies, impurities or solute atoms.The open source library enumlib [HF08] implements algorithms for such a systematic enumeration of periodic structures.The enumlib package consists of several Fortran binaries and Python scripts that can be run as a subprocess (no Python bindings).This allows the user to generate a large set of symmetrically nonequivalent materials with different compositions (e.g.doping or defect concentration).

10Recently, we applied this approach in simultaneous study of the activity and stability of Pt based core-shell type catalysts for the oxygen reduction reaction [MGF + 19].We generated a set of stable doped Pt/transition metal/nitrogen surfaces using periodic enumeration.Using QE to perform periodic density functional theory (DFT) calculations, we assessed surface phase diagrams for Pt alloys and identified the avenues for stabilizing the cost effective core-shell systems by a judicious choice of the catalyst core material.Such catalysts may prove critical in electrocatalysis for fuel cell applications.

Workflow capabilities

11In the last section, we briefly described a complete workflow from structure generation and enumeration to periodic DFT calculations to analysis.In order to be able to run a massively parallel screening of materials, a highly scalable and stable queuing system (job scheduler) is required.We have implemented a job queuing system on top of the most used queuing systems (LSF, PBS, SGE, SLURM, TORQUE, UGE) and exposed a Python API to submit and monitor jobs.In line with technological advancements, cloud is also supported by means of a virtual cluster configured with SLURM.This allows the user to submit a large number of jobs, limited only by SLURM scheduling capabilities and cloud resources.In order to accommodate job dependencies in workflows, for each job, a parent job (or multiple parent jobs) can be defined forming a directed graph of jobs (Figure 3).

12There could be several reasons for a job to fail.Depending on the reason of failure, there are several restart and recovery mechanisms in place.The lowest level is the restart mechanism (in SLURM it is called requeue) which is performed by the queuing system itself.This is triggered when a node goes down.On the cloud, preemptible instances (nodes) can go offline at any moment.In addition, workflows implemented in the proprietary Schrödinger Materials Science Suite have built-in methods for handling various types of failure.For example, if the simulation is not converging to a requested energy accuracy, it is wasteful to blindly restart the calculation without changing some input parameters.However, in the case of a failure due to full disk space, it is reasonable to try restart with hopes to get a node with more empty disk space.If a job fails (and cannot be restarted), all its children (if any) will not start, thus saving queuing and computational time.

13Having developed robust systems for running calculations, job queuing and troubleshooting (autonomously, when applicable), the developed workflows have allowed us and our customers to perform massive screenings of materials and their properties.For example, we reported a massive screening of 250,000 chargeconducting organic materials, totaling approximately 3,619,000 DFT SCF (self-consistent field) single-molecule calculations using Jaguar that took 457,265 CPU hours (~52 years) [MAS + 20].Another similar case study is the high-throughput molecular dynamics simulations (MD) of thermophysical properties of polymers for various applications [ABG + 21].There, using Desmond we computed the glass transition temperature (T g ) of 315 polymers and compared the results with experimental measurements [Bic02].This study took advantage of GPU (graphics processing unit) support as implemented in Desmond, as well as the job scheduler API described above.

14Other workflows implemented in the Schrödinger Materials Science Suite utilize open source packages as well.For soft materials (polymers, organic small molecules and substrates composed of soft molecules), convex hull and related mathematical methods are important for finding possible accessible solvent voids (during submerging or sorption) and adsorbate sites (during molecular deposition).These methods are conveniently implemented in the open source SciPy [VGO + 20] and NumPy [HMvdW + 20] packages.Thus, we implemented molecular deposition and evaporation workflows by using the Desmond MD engine as the backend in tandem with the convex hull functionality.This workflow enables simulation of the deposition and evaporation of the small molecules on a substrate.We utilized the aforementioned deposition workflow in the study of organic light-emitting diodes (OLEDs), which are fabricated using a stepwise process, where new layers are deposited on top of previous layers.Both vacuum and solution deposition processes have been used to prepare these films, primarily as amorphous thin film active layers lacking long-range order.Each of these deposition techniques introduces changes to the film structure and consequently, different chargetransfer and luminescent properties [WKB + 22].

15As can be seen from above, a workflow is usually some sort of structure modification through the structure object with a subsequent call to a backend code and analysis of its output if it succeeds.Input for the next iteration depends on the output of the previous iteration in some workflows.Due to the large chemical and manipulation space of the materials, sometimes it very tricky to keep code for all workflows follow the same code logic.For every workflow and/or functionality in the Materials Science Suite, some sort of peer reviewed material (publication, conference presentation) is created where implemented algorithms are described to facilitate reproducibility.

Data fitting algorithms and use cases

16Materials simulation engines for QM, periodic DFT, and classical MD (referred to herein as backends) are frequently written in compiled languages with enabled parallelization for CPU or GPU hardware.These backends are called from Python workflows using the job queuing systems described above.Meanwhile, packages such as SciPy and NumPy provide sophisticated numerical function optimization and fitting capabilities.Here, we describe examples of how the Schrödinger suite can be used to combine materials simulations with popular optimization routines in the SciPy ecosystem.

17Recently we implemented convex analysis of the stress strain curve (as described here [PKD18]).scipy.optimize.minimize is used for a constrained minimization with boundary conditions of a function related to the stress strain curve.The stress strain curve is obtained from a series of MD simulations on deformed cells (cell deformations are defined by strain type and deformation step).The pressure tensor of a deformed cell is related to stress.This analysis allowed prediction of elongation at yield for high density polyethylene polymer.Figure 4 shows obtained calculated yield of 10% vs. experimental value within 9-18% range [BAS + 20].

18The scipy.optimize package is used for a least-squares fit of the bulk energies at different cell volumes (compressed and expanded) in order to obtain the bulk modulus and equation of state (EOS) of a material.In the Schrödinger suite this was implemented as a part of an EOS workflow, in which fitting is performed on the results obtained from a series of QE calculations performed on the original as well as compressed and expanded (deformed) cells.An example of deformation applied to a structure in pymatgen: This is also an example of loosely coupled (embarrassingly parallel) jobs.In particular, calculations of the deformed cells only depend on the bulk calculation and do not depend on each other.Thus, all the deformation jobs can be submitted in parallel, facilitating high-throughput runs.Structure refinement from powder diffraction experiment is another example where more complex optimization is used.Powder diffraction is a widely used method in drug discovery to assess purity of the material and discover known or unknown crystal polymorphs [KBD + 21].In particular, there is interest in fitting of the experimental powder diffraction intensity peaks to the indexed peaks (Pawley refinement) [JPS92].Here we employed the open source lmfit package [NSA + 16] to perform a minimization of the multivariable Voigt-like function that represents the entire diffraction spectrum.This allows the user to refine (optimize) unit cell parameters coming from the indexing data and as the result, goodness of fit (R-factor) between experimental and simulated spectrum is minimized.

Machine learning techniques

19Of late, there is great interest in machine learning assisted materials discovery.There are several components required to perform machine learning assisted materials discovery.In order to train a model, benchmark data from simulation and/or experimental data is required.Besides benchmark data, computation of the relevant descriptors is required (see below).Finally, a model based on benchmark data and descriptors is generated that allows prediction of properties for novel materials.We are currently training models that use these descriptors to predict properties, such as bulk modulus, of a set of Licontaining battery related compounds [Cha].Several models will be compared, such as kernel regression methods (as implemented in the open source scikit-learn code [PVG + 11]) and AutoQSAR.

20For isolated small molecules and extended non-periodic systems, RDKit can be used to generate a large number of atomic and molecular descriptors.A lot of effort has been devoted to ensure that RDKit can be used on a wide variety of materials that are supported by the Schrödinger suite.At the time of writing, the 4th most active contributor to RDKit is Ricardo Rodriguez-Schmidt from Schrödinger [RDK].

21Recently, active learning (AL) combined with DFT has received much attention to address the challenge of leveraging exhaustive libraries in materials informatics [VPB21], [SPA + 19].On our side, we have implemented a workflow that employs active learning (AL) for intelligent and iterative identification of promising materials candidates within a large dataset.In the framework of AL, the predicted value with associated uncertainty is considered to decide what materials to be added in each iteration, aiming to improve the model performance in the next iteration (Figure 5).

22Since it could be important to consider multiple properties simultaneously in material discovery, multiple property optimization (MPO) has also been implemented as a part of the AL workflow [KAG + 22].MPO allows scaling and combining multiple properties into a single score.We employed the AL workflow to determine the top candidates for hole (positively charged carrier) transport layer (HTL) by evaluating 550 molecules in 10 iterations using DFT calculations for a dataset of ~9,000 molecules [AKA + 22].Resulting model was validated by randomly picking a molecule from the dataset, computing properties with DFT and comparing those to the predicted values.According to the semiclassical Marcus equation [Mar93], high rates of hole transfer are inversely proportional to hole reorganization energies.Thus, MPO scores were computed based on minimizing hole reorganization energy and targeting oxidation potential to an appropriate level to ensure a low energy barrier for hole injection from the anode into the emissive layer.In this workflow, we used RDKit to compute descriptors for the chemical structures.These descriptors generated on the initial subset of structures are given as vectors to an algorithm based on Random Forest Regressor as implemented in scikit-learn.Bayesian optimization is employed to tune the hyperparameters of the model.In each iteration, a trained model is applied for making predictions on the remaining materials in the dataset.Figure 6 (A) displays MPO scores for the HTL dataset estimated by AL as a function of hole reorganization energies that are separately calculated for all the materials.This figure indicates that there are many materials in the dataset with desired low hole reorganization energies but are not suitable for HTL due to their improper oxidation potentials, suggesting that MPO is important to evaluate the optoelectronic performance of the materials.To appreciate the computational efficiency of such an approach, it is worth noting that performing DFT calculations for all of the 9,000 molecules in the dataset would increase the computational cost by a factor of 15 versus the AL workflow.It seems that AL approach can be useful in the cases where problem space is broad (like chemical space), but there are many clusters of similar items (similar molecules).In this case, benchmark data is only needed for few representatives of each cluster.We are currently working on applying this approach to train models for predicting physical properties of soft materials (polymers).

Conclusions

23We present several examples of how Schrödinger Materials Suite integrates open source software packages.There is a wide range of applications in materials science that can benefit from already existing open source code.Where possible, we report issues to the package authors and submit improvements and bug fixes in the form of the pull requests.We are thankful to all who have contributed to open source libraries, and have made it possible for us to develop a platform for accelerating innovation in materials and drug discovery.We will continue contributing to these projects and we hope to further give back to the scientific community by facilitating research in both academia and industry.We hope that this report will inspire other scientific companies to give back to the open source community in order to improve the computational materials field and make science more reproducible.

Fig. 1 :

24Fig. 1: Example of a workflow for computational materials discovery.

Fig. 2 :

25Fig.2: Some example products that compose the Schrödinger Materials Science Suite.

26Structure object is similar to the one implemented in open source packages such as pymatgen [ORJ + 13] and ASE [LMB + 17].All the structure manipulations during the workflows are done by using structure object interface (see structure deformation example below).Example of Structure object definition in pymatgen: class Structure: def __init__(self, lattice, species, coords, ...):

Fig. 3 :

27Fig. 3: Example of the job submission process.

28from pymatgen.analysis.elasticityimport strain from pymatgen.coreimport lattice from pymatgen.coreimport structure deform = strain.Deformation([ [1.0, 0.02, 0.02], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]]) latt = lattice.Lattice([ [3.84, 0.00, 0.00], [1.92, 3.326, 0.00], [0.00, -2.22, 3.14], ]) st = structure.Structure( latt, ["Si", "Si"], [[0, 0, 0], [0.75, 0.5, 0.75]]) strained_st = deform.apply_to_structure(st)

29There are several techniques to generate the model, such as linear or non-linear fitting to neural networks.Tools include the open source DeepChem [REW + 19] and AutoQSAR [DDS + 16] from the Schrödinger suite.Depending on the type of materials, benchmark data can be obtained using different codes available in the Schrödinger suite: • small molecules and finite systems -Jaguar • periodic systems -Quantum ESPRESSO • larger polymeric and similar systems -Desmond Different materials systems require different descriptors for featurization.For example, for crystalline periodic systems, we have implemented several sets of tailored descriptors.Generation of these descriptors again uses a mix of open source and Schrödinger proprietary tools.Specifically: • elemental features such as atomic weight, number of valence electrons in s, p and d-shells, and electronegativity • structural features such as density, volume per atom, and packing fraction descriptors implemented in the open source matminer package [WDF + 18] • intercalation descriptors such as cation and anion counts, crystal packing fraction, and average neighbor ionicity [SYC + 17] implemented in the Schrödinger suite • three-dimensional smooth overlap of atomic positions (SOAP) descriptors implemented in the open source DScribe package [HJM + 20].

Fig. 4 :

30Fig.4: Left: The uniaxial stress/strain curve of a polymer calculated using Desmond through the stress strain workflow.The dark grey band indicates an inflection that marks the yield point.Right: Constant strain simulation with convex analysis indicates elongation at yield.The red curve shows simulated stress versus strain.The blue curve shows convex analysis.

Fig. 5 :

31Fig. 5: Active learning workflow for the design and discovery of novel optoelectronics molecules.

32Figure 6 (B) presents MPO scores of the materials used in the training dataset of AL, demonstrating that the feedback loop in the AL workflow efficiently guides the data collection as the size of the training set increases.

Fig. 6 :

33Fig. 6: A: MPO score of all materials in the HTL dataset.B: Those used in the training set as a function of the hole reorganization energy ( λ h ).

참고문헌 30건

  1. LMFIT: Non-Linear Least-Square Minimization and Curve-Fitting for Python Zenodo (CERN European Organization for Nuclear Research) · European Organization for Nuclear Research · 2014 10.5281/zenodo.11813
  2. The PDB Format, mmCIF Formats, and Other Data Formats Methods of biochemical analysis · Wiley · 2003 10.1002/0471721204.ch8
  3. Algorithm for generating derivative structures Physical Review B · American Physical Society · 2008 10.1103/physrevb.77.224115
  4. Jaguar: A high‐performance quantum chemistry software program with strengths in life and materials sciences International Journal of Quantum Chemistry · Wiley · 2013 10.1002/qua.24481
  5. Python Materials Genomics (pymatgen): A robust, open-source python library for materials analysis Computational Materials Science · Elsevier BV · 2012 10.1016/j.commatsci.2012.10.028
  6. Anton 2: Raising the Bar for Performance and Programmability in a Special-Purpose Molecular Dynamics Supercomputer 2014 10.1109/sc.2014.9
  7. Scikit-learn: Machine Learning in Python arXiv (Cornell University) · Cornell University · 2012 10.48550/arxiv.1201.0490
  8. On the determination of accurate intensities from powder diffraction data. I. Whole-pattern fitting with a least-squares procedure Journal of Applied Crystallography · Wiley · 1992 10.1107/s0021889891012104
  9. Open Babel: An open chemical toolbox Journal of Cheminformatics · BioMed Central · 2011 10.1186/1758-2946-3-33
  10. The Cambridge Structural Database Acta Crystallographica Section B Structural Science Crystal Engineering and Materials · Wiley · 2016 10.1107/s2052520616003954
  11. Autoqsar: An Automated Machine Learning Tool for Best-Practice Quantitative Structure–Activity Relationship Modeling Future Medicinal Chemistry · Future Science Ltd · 2016 10.4155/fmc-2016-0093
  12. Holistic computational structure screening of more than 12 000 candidates for solid lithium-ion conductor materials Energy & Environmental Science · Royal Society of Chemistry · 2016 10.1039/c6ee02697d
  13. The atomic simulation environment—a Python library for working with atoms Journal of Physics Condensed Matter · IOP Publishing · 2017 10.1088/1361-648x/aa680e
  14. Advanced capabilities for materials modelling with Quantum ESPRESSO Journal of Physics Condensed Matter · IOP Publishing · 2017 10.1088/1361-648x/aa8f79
  15. Matminer: An open source toolkit for materials data mining Computational Materials Science · Elsevier BV · 2018 10.1016/j.commatsci.2018.05.018
  16. From DFT to machine learning: recent approaches to materials science–a review Journal of Physics Materials · IOP Publishing · 2019 10.1088/2515-7639/ab084b
  17. The role of data analysis in uncertainty quantification: case studies for materials modeling 2018 10.2514/6.2018-0927
  18. DScribe: Library of descriptors for machine learning in materials science Computer Physics Communications · Elsevier BV · 2019 10.1016/j.cpc.2019.106949
  19. SciPy 1.0: fundamental algorithms for scientific computing in Python Nature Methods · Nature Portfolio · 2020 10.1038/s41592-019-0686-2
  20. Massive Theoretical Screen of Hole Conducting Organic Materials in the Heteroacene Family by Using a Cloud-Computing Environment The Journal of Physical Chemistry A · American Chemical Society · 2020 10.1021/acs.jpca.9b10998
  21. Electron transfer reactions in chemistry. Theory and experiment Reviews of Modern Physics · American Physical Society · 1993 10.1103/revmodphys.65.599
  22. AiiDA 1.0, a scalable computational infrastructure for automated reproducible workflows and data provenance Scientific Data · Nature Portfolio · 2020 10.1038/s41597-020-00638-4
  23. Array programming with NumPy Nature · Nature Portfolio · 2020 10.1038/s41586-020-2649-2
  24. High-Throughput Molecular Dynamics Simulations and Validation of Thermophysical Properties of Polymers for Various Applications ACS Applied Polymer Materials · American Chemical Society · 2020 10.1021/acsapm.0c00524
  25. Machine learning for materials design and discovery Journal of Applied Physics · American Institute of Physics · 2021 10.1063/5.0043300
  26. ON THE CRYSTAL STRUCTURE OF GRAPHITE 1949 10.2172/4361695
  27. Powder diffraction Nature Reviews Methods Primers · Nature Portfolio · 2021 10.1038/s43586-021-00074-7
  28. Active Learning Accelerates Design and Optimization of Hole-Transporting Materials for Organic Electronics Frontiers in Chemistry · Frontiers Media · 2022 10.3389/fchem.2021.800371
  29. Design of Organic Electronic Materials With a Goal-Directed Generative Model Powered by Deep Neural Networks and High-Throughput Molecular Simulations Frontiers in Chemistry · Frontiers Media · 2022 10.3389/fchem.2021.800370
  30. Prediction of Polymer Properties CRC Press eBooks · Informa · 2002 10.1201/9780203910115