WO2022036538A1 - Organic molecular crystal construction method and system - Google Patents

Organic molecular crystal construction method and system Download PDF

Info

Publication number
WO2022036538A1
WO2022036538A1 PCT/CN2020/109713 CN2020109713W WO2022036538A1 WO 2022036538 A1 WO2022036538 A1 WO 2022036538A1 CN 2020109713 W CN2020109713 W CN 2020109713W WO 2022036538 A1 WO2022036538 A1 WO 2022036538A1
Authority
WO
WIPO (PCT)
Prior art keywords
crystal
energy
parameters
density
molecule
Prior art date
Application number
PCT/CN2020/109713
Other languages
French (fr)
Chinese (zh)
Inventor
师雪坤
马健
温书豪
赖力鹏
Original Assignee
深圳晶泰科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳晶泰科技有限公司 filed Critical 深圳晶泰科技有限公司
Priority to PCT/CN2020/109713 priority Critical patent/WO2022036538A1/en
Publication of WO2022036538A1 publication Critical patent/WO2022036538A1/en

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16BBIOINFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR GENETIC OR PROTEIN-RELATED DATA PROCESSING IN COMPUTATIONAL MOLECULAR BIOLOGY
    • G16B15/00ICT specially adapted for analysing two-dimensional or three-dimensional molecular structures, e.g. structural or functional relations or structure alignment
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16BBIOINFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR GENETIC OR PROTEIN-RELATED DATA PROCESSING IN COMPUTATIONAL MOLECULAR BIOLOGY
    • G16B50/00ICT programming tools or database systems specially adapted for bioinformatics

Definitions

  • the invention relates to a method for constructing and generating molecular crystals, in particular to a method and system for constructing organic molecular crystals.
  • Organic molecular crystals are widely used in many fields such as medicine, daily chemical products, and energetic materials. For a given organic molecule, how to quickly design a crystal structure with better properties directly determines the speed and success rate of product development.
  • the traditional method is to rely on large-scale screening of experiments to find different crystal structures through the combination of a large number of different experimental conditions, and then select the ones with better relative properties.
  • the current computational simulation methods mainly rely on global search and local optimization algorithm modules to automatically generate and optimize crystal structures, and use the algorithm modules to screen out crystal structures with better properties.
  • an organic molecular crystal construction system that can optimize the generated crystal structure is provided.
  • An organic molecular crystal construction method comprising:
  • Crystal generation receive crystal parameters to generate crystals, generate crystal files according to the set format, form core crystal data, and store the core crystal data in the crystal database;
  • Crystal energy calculation call the corresponding crystal energy calculation algorithm to calculate the crystal energy according to the crystal structure and the preset energy accuracy;
  • Crystal evolution optimize based on crystal structure and calculated crystal energy, output crystal parameter adjustment values according to optimization algorithm rules, adjust crystal parameters and transfer to crystal generation step, generate new crystals, initial crystals and one or more optimized series of crystals The evolution relationship is formed, and the mutual evolution information between crystals is stored in the crystal database.
  • it also includes: real-time monitoring of crystal evolution: retrieving the generated crystal structure in real time, retrieving the crystal structure in the crystal database, and crystal parameter adjustment values during the crystal evolution process;
  • the crystal parameters include: crystal every time The molecular SMILES formula of each component, the angle of each flexible angle of each molecule, the unit cell parameters, the position of the centroid of each molecule in the unit cell, the orientation of each molecule in the unit cell;
  • the crystal generation includes: artificial Crystal generation: receive crystal parameter input commands or crystal parameter adjustment input commands, and generate crystals according to the input parameters.
  • the crystal generation further includes: automatic crystal generation: generating crystal parameters according to a specified target molecule or adjusting parameters according to parameter adjustment values of the crystal to generate a new crystal, and judging the rationality of generating a new crystal, if If the rationality judgment is passed, the crystal is successfully generated. If the rationality judgment is not passed, the crystal parameters are adjusted to regenerate the crystal.
  • the rationality judgment includes: judging whether the distance between two atoms in the crystal conforms to chemical rules, and judging whether the density of the crystal is within a given density range.
  • judging whether the chemical rules are met includes: judging whether the distance and bond angle between any two atoms in the same molecule are equal to the initial input or the adjusted input distance and distance between the two atoms in the molecule.
  • Bond angle to determine whether the distance between two atoms of different molecules is not less than the van der Waals radius; the setting of the density interval includes: for each molecule of asymmetric unit, randomly select an atom as the origin, according to the distance between the atoms in the molecule Calculate the coordinates of each atom relative to the origin using the bond length and bond angle of Density interval, where a, b are preset.
  • the distance between the centroids of the molecules is adjusted, and the distance between the centroids is expanded according to a preset coefficient. ; If it is judged that the density of the crystal exceeds the lower limit of the density interval, expand the distance between the centroids according to the preset coefficient; if the density of the crystal exceeds the upper limit of the density interval, reduce the side length of the unit cell according to the set coefficient, and iterate until the crystal The density is within the density range.
  • the unit cell parameters, the space group, the relative coordinate values of the atoms in each asymmetric unit molecule in the unit cell are obtained, and the work is performed under the specified space group, and the input crystal parameters are adjusted or adjusted according to the input crystal parameters.
  • the parameter calculates the relative coordinate value of each atom in the unit cell: for each molecule of asymmetric unit, randomly select an atom as the origin, and calculate the relative coordinate value of each atom relative to the origin according to the bond length and bond angle between the atoms in the molecule.
  • Coordinate determine the rotatable flexible angle according to the input crystal parameters or adjust the input crystal parameters, calculate the position of the center of mass of the molecule according to the coordinate position of each atom, and determine the position of the center of mass by the weighted average of the atomic mass and the spatial position, and calculate the position of the two atoms
  • the distance between take the vector of the two atoms with the longest distance so far as the orientation of the molecule, use the three-dimensional space transformation to transform the centroid and orientation of the molecule to the input crystal parameters or adjust the coordinates and orientation of the given centroid in the input crystal parameters , to obtain the transformed coordinate value of each atom as the relative coordinate value of the atoms in the molecule in the unit cell to generate a crystal; or to obtain the unit cell parameters and the relative coordinates of each atom in the unit cell according to the crystal structure, According to the coordinates of each atom, the flexible angle in the molecule, the centroid text of the molecule and the vector orientation between the two atoms with the longest distance in the molecule
  • the crystal database includes a file database and a graph database
  • the crystal data includes a crystal file and each adjustment parameter
  • the crystal file includes a CIF file
  • the crystal file is stored in the file
  • the evolution information is recorded as a tree structure
  • the ID of the parent crystal is recorded for each crystal structure
  • the parent crystal ID of the initial crystal is empty
  • the evolution relationship is stored in the graph database
  • the crystal evolution step includes: : Take the crystal energy as the optimization goal or the crystal structure density as the optimization goal, use the particle swarm optimization algorithm or the Monte Carlo optimization algorithm to iteratively optimize the crystal structure, obtain the crystal structure and the calculated crystal energy, and use the particle swarm optimization algorithm or Monte Carlo optimization algorithm to optimize the crystal structure.
  • the algorithm outputs the crystal parameter adjustment value, and transfers to the crystal generation step.
  • the initial minimum energy is 0, the number of falling steps for recording the lowest energy is 0, and each parameter of the obtained crystal is randomly fluctuated for the initial crystal according to the optimization algorithm, A new crystal is obtained, and iterates according to the preset number of iterations. If the crystal energy is the optimization goal, each evolution iteration compares the energy of the current crystal structure with the lowest recorded energy. If the current energy is lower, the lowest energy of the system is recorded. is the current energy, and the minimum energy iteration number is recorded as 0. If the current energy is high, the minimum energy iteration number +1 is added, and if the iteration number exceeds the preset number of iterations, it will stop;
  • the crystal density is the optimization goal, set the initial minimum density as the upper limit of the density interval, and record the minimum density iteration steps as 0.
  • Each evolution iteration will compare the density of the current crystal structure with the recorded minimum density. If the current density is lower , the lowest density of the system is recorded as the current density, and the number of iteration steps of the lowest density is recorded as 0. If the current density is high, the number of iteration steps of the lowest density is +1, and if the number of iteration steps exceeds the preset number of iterations, it will stop;
  • the crystal energy calculation includes: a force field-accurate crystal energy calculation method for calculating the crystal energy with a force field according to the crystal structure and its corresponding force field, or a semi-empirical precision crystal energy calculation method for calculating the crystal energy according to the crystal structure and its corresponding semi-empirical method, Or a high-precision quantitative crystal energy calculation method based on the crystal structure and its corresponding crystal energy calculated by a high-precision quantitative method.
  • An organic molecular crystal construction system comprising:
  • Crystal generation module receive crystal parameters to generate crystals, generate crystal files according to the set format, form core crystal data, and store the core crystal data in the crystal database;
  • Crystal energy calculation module call the corresponding crystal energy calculation algorithm to calculate the crystal energy according to the crystal structure and the preset energy precision;
  • Crystal evolution module optimize according to crystal structure and calculated crystal energy, output crystal parameter adjustment values according to optimization algorithm rules, adjust crystal parameters and transfer to crystal generation step, generate new crystal, initial crystal and a series of one or more optimizations
  • the crystals form an evolution relationship, and the mutual evolution information between crystals is stored in the crystal database.
  • the above-mentioned organic molecular crystal construction method and system are optimized according to the crystal structure and crystal energy through crystal evolution, and the crystal parameters are adjusted according to the optimization algorithm and transferred to the crystal generation step for iteration, and a crystal structure with better properties is obtained through iterative optimization. And store the evolution relationship of the crystal to track the evolution process of the crystal, and modify the crystal parameters according to the evolution process for optimization.
  • crystal evolution obtains the crystal structure for the first time during the operation, and adjusts the crystal structure parameters randomly, and stores the crystal structure and the adjusted value in the crystal database. If the crystal structure has been input into the crystal evolution process during the system operation, the crystal structure parameters will be adjusted according to the preset particle swarm or Monte Carlo search algorithm. The user can preset the algorithm to be used through the interface. This module will automatically transfer the crystal structure and adjustment parameters to the crystal generation step; the crystal generation step will automatically generate a new crystal structure, then transfer it to the crystal energy calculation process, and then transfer it to the crystal evolution process for cyclic iteration. During the cycle, the user can retrieve the latest evolution structure information and evolution history data through the crystal evolution real-time monitoring module. The user can manually adjust the parameters of one or more of the crystal structures based on experience, and transfer the adjusted structure to the artificial crystal generation module. In this way, the cyclic process of crystal evolution continues from the artificially adjusted crystal. The whole system supports multiple evolution loops working simultaneously.
  • Fig. 1 is the flow chart of the organic molecular crystal construction method of one embodiment of the present invention.
  • FIG. 2 is a block diagram of an organic molecular crystal construction system according to an embodiment of the present invention.
  • FIG. 3 is a block diagram of an organic molecular crystal construction system according to a preferred embodiment of the present invention.
  • the method for constructing an organic molecular crystal according to an embodiment of the present invention includes:
  • Step S101 crystal generation: receiving crystal parameters to generate crystals, and generating crystal files according to the set format, forming core crystal data, and storing the core crystal data in the crystal database;
  • Step S103 crystal energy calculation: call the corresponding crystal energy calculation algorithm to calculate the crystal energy according to the crystal structure and the preset energy precision;
  • Step S105 crystal evolution: optimize according to the crystal structure and the calculated crystal energy, output the crystal parameter adjustment value according to the optimization algorithm rule, adjust the crystal parameters and transfer to the crystal generation step, generate a new crystal, the initial crystal and one or more optimizations
  • the series of crystals form an evolution relationship, and the mutual evolution information between crystals is stored in the crystal database.
  • the organic molecular crystal construction method of the present invention further comprises: real-time monitoring of crystal evolution: real-time retrieval of the generated crystal structure, retrieval of the crystal structure in the crystal database and crystal parameter adjustment values during the crystal evolution process.
  • the crystal parameters of the present invention include: the molecular SMILES formula of each component of the crystal, the angle of each flexible angle of each molecule, the unit cell parameters, the position of the centroid of each molecule in the unit cell, the position of each molecule in the unit cell towards;
  • the crystal generation step of the present invention includes one or more of artificial crystal generation and automatic crystal generation.
  • IOL generation receive crystal parameter input commands or crystal parameter adjustment input commands, and generate crystals according to the input parameters.
  • Crystal parameters include: molecular SMILES formula of each component of the crystal, angle of each flexible angle of each molecule ( ⁇ 11 , ⁇ 12 , ..., ⁇ 1n ), ( ⁇ 21 , ⁇ 22 , ..., ⁇ 2n ), ... , ( ⁇ m1 , ⁇ m2 , . , (x 2 , y 2 , z 2 ), ..., (x m , y m , z m ), the orientation of each molecule in the unit cell
  • An interface can be provided to allow users to directly input the above parameters, and the module will directly generate virtual crystals based on these parameters.
  • represents the flexibility angle in the molecule, that is, the dihedral angle corresponding to the rotatable single bond in the molecule.
  • ⁇ , ⁇ , and ⁇ are the angles between the three sides at the origin of the unit cell, and a, b, and c are the lengths of the three sides.
  • the centroid position (x m , y m , z m ) represents the spatial coordinates of the centroid of the m-th molecule, the orientation in the unit cell Indicates the angle between the vector formed by the two farthest atoms within the molecule of the mth molecule and the three coordinate axes.
  • Modify the parameters of existing crystals in the crystal database to generate new crystal structures An interface can be provided for the user to read the structure in the crystal database. The user can directly modify one or more of the above crystal parameters through the interface, and the module will generate a virtual crystal according to the new parameters.
  • Automatic crystal generation Generate crystal parameters according to the specified target molecule or adjust parameters according to the crystal parameter adjustment value to generate new crystals, and make a rational judgment on the generation of new crystals. If the rationality judgment is passed, the crystal will be successfully generated. If the judgment is made, the crystal parameters are adjusted to regenerate the crystal.
  • the crystal structure is randomly generated.
  • the module can automatically generate the above crystal parameters, and then make a rational judgment on the newly generated crystal. If the rationality judgment is passed, the crystal is successfully generated. If the rationality judgment is not passed, the crystal parameters are adjusted to regenerate the crystal until a reasonable crystal structure is generated. The user can limit the number of reasonable crystal attempts through the interface provided by the system.
  • the given crystal structure is adjusted to obtain a new crystal structure.
  • the module receives the crystal structure and the parameters to be adjusted, and then generates a new crystal with the adjusted parameters. If the rationality judgment is passed, the crystal is successfully generated. If the rationality judgment is not passed, the crystal parameters are adjusted to regenerate the crystal until a reasonable crystal structure is generated. The user can limit the number of reasonable crystal attempts through the interface provided by the system.
  • the rationality judgment of this embodiment includes: judging whether the distance between two atoms in the crystal complies with chemical rules, and judging whether the density of the crystal is within a given density range.
  • Judging whether it complies with chemical rules includes: judging whether the distance and bond angle between any two atoms in the same molecule are equal to the initial input between the two atoms in the molecule or adjusting the input distance and bond angle, and judging the difference between different molecules.
  • the setting of the density interval includes: for each molecule of asymmetric unit, randomly select an atom as the origin, and calculate according to the bond length and bond angle between the atoms in the molecule The coordinates of each atom relative to the origin, use the mass of each atom and the position of each atom to calculate the density d of the molecule in space, and set the density interval of the crystal with [a*d,b*d], where a, b Make settings in advance.
  • the relative coordinate value of the atom in the unit cell For each molecule of asymmetric unit, randomly select an atom as the origin, and calculate the coordinate of each atom relative to the origin according to the bond length and bond angle between the atoms in the molecule, according to the input Determine the rotatable flexible angle by adjusting the crystal parameters or adjust the input crystal parameters, calculate the position of the center of mass of the molecule according to the coordinate position of each atom, determine the position of the center of mass by the weighted average of the atomic mass and the spatial position, and calculate the distance between two atoms , take the vector of the two atoms with the longest distance so far as the orientation of the molecule, and use the three-dimensional space transformation to transform the centroid and orientation of the molecule to the input crystal parameters or adjust the coordinates and orientation of the given centroid in the input crystal parameters to obtain each
  • the transformed coordinate value of the atom is used as the relative coordinate value of the atoms in the molecule in the unit cell to generate a crystal; or the unit cell parameters and the relative
  • Crystal databases include: file databases and graph databases. Crystal data includes: crystal file and adjustment parameters for each time.
  • the crystal files of this embodiment include: CIF files. Generating a crystal requires determining the unit cell parameters in the CIF file describing the crystal, the space group, and the relative most coordinate values in the unit cell of the atoms in the molecules of each asymmetric unit. After inputting the above parameters, the system will directly use the unit cell parameters in the parameters. There are 230 space groups in total, which are preset and the system works under the specified space group.
  • the crystal files of this embodiment are stored in the file database.
  • the evolution information is recorded as a tree structure, and the ID of the parent crystal is recorded for each crystal structure, and the parent crystal ID of the initial crystal is empty. Evolutionary relationships are stored in a graph database.
  • the crystal evolution step also includes: taking the crystal energy as the optimization goal or the crystal structure density as the optimization goal, using the particle swarm optimization algorithm or the Monte Carlo optimization algorithm to iteratively optimize the crystal structure, obtaining the crystal structure and the calculated crystal energy, according to the particle swarm optimization algorithm. Or the Monte Carlo optimization algorithm outputs the crystal parameter adjustment value, and transfers to the crystal generation step.
  • the initial minimum energy is 0, the number of falling steps to record the lowest energy is 0, and each parameter of the obtained crystal is randomly fluctuated for the initial crystal according to the optimization algorithm to obtain a new crystal, according to the preset
  • the crystal energy is used as the optimization goal, the energy of the current crystal structure is compared with the lowest recorded energy in each evolution iteration. If the current energy is lower, the lowest energy of the system is recorded as the current energy, and the lowest energy iteration steps are The record is 0. If the current energy is high, the number of iteration steps for the lowest energy is +1, and if the number of iteration steps exceeds the preset number of iterations, it will stop.
  • the crystal energy calculation in this embodiment includes: a force field precision crystal energy calculation method for calculating crystal energy using a force field according to the crystal structure and its corresponding crystal structure, or a semi-empirical precision crystal for calculating crystal energy using a semi-empirical method according to the crystal structure and its corresponding semi-empirical method.
  • the force field precision crystal energy calculation method supports the fast calculation of the energy of the crystal structure with the force field. Input a crystal structure, and the force field precision crystal energy calculation method will output the crystal structure and its corresponding crystal energy calculated by force field.
  • Commonly used calculation tools for force field precision crystal energy calculation methods include Amber, charmm, etc.
  • Semi-empirical precision crystal energy calculation method which supports the calculation of the energy of crystal structures with semi-empirical methods (such as DFTB). Input a crystal structure, and the module will output the crystal structure and its corresponding crystal energy calculated by the semi-empirical method.
  • the calculation tools of the semi-empirical precision crystal energy calculation method include DFTB and Dmacrys.
  • the high-precision quantitative crystal energy calculation method supports the use of high-precision quantitative methods (such as DFT) to calculate the energy of the crystal structure. Inputting a crystal structure, using the high-precision quantitative crystal energy calculation method will output the crystal structure and its corresponding crystal energy calculated by the high-precision quantitative method.
  • the calculation tools for high-precision quantitative crystal energy calculation methods include VASP, Crystal09, etc.
  • an organic molecular crystal construction system 100 includes:
  • Crystal generation module 20 generate crystals by receiving crystal parameters, generate crystal files according to the set format, form core crystal data, and store the core crystal data in the crystal database 80;
  • the crystal energy calculation module 40 according to the crystal structure and the preset energy precision, the corresponding crystal energy calculation algorithm is invoked to calculate the crystal energy;
  • Crystal evolution module 60 perform optimization according to the crystal structure and the calculated crystal energy, output the crystal parameter adjustment values according to the optimization algorithm rules, adjust the crystal parameters and transfer to the crystal generation step, generate a new crystal, the initial crystal is the same as the one or more optimized ones.
  • the series of crystals form an evolution relationship, and the mutual evolution information between the crystals is stored in the crystal database 80 .
  • the crystal generation module 20 in this embodiment includes: an artificial crystal generation module 22 and an automatic crystal generation module 24 .
  • the intraocular lens generation module 22 of this embodiment There are two ways to generate crystals. Enter crystal parameters to build crystals directly. Crystal parameters include: molecular SMILES formula of each component of the crystal, angle of each flexible angle of each molecule ( ⁇ 11 , ⁇ 12 , ..., ⁇ 1n ), ( ⁇ 21 , ⁇ 22 , ..., ⁇ 2n ), ... , ( ⁇ m1 , ⁇ m2 , .
  • the module provides an interface to allow users to directly input the above parameters, and the module will directly generate virtual crystals according to these parameters; modify the parameters of existing crystals in the crystal database to generate new crystal structures.
  • This module provides an interface for users to read the structure in the crystal database. Users can directly modify one or more of the above crystal parameters through the interface, and the module will generate virtual crystals according to the new parameters. After the module generates crystals, it will generate crystal files according to the CIF standard format for use by other modules in the system.
  • SMILES Simple molecular input line entry specification
  • simplified molecular linear input specification is a specification that explicitly describes the molecular structure with ASCII strings.
  • SMILES uses a string of characters to describe a three-dimensional chemical structure, and it must convert the chemical structure into a spanning tree. This system adopts the vertical priority traversal tree algorithm. During the transformation, the hydrogen must be removed first, and the ring must be opened. When denoting, the atoms at the ends of the bonds to be removed should be marked with numbers, and the branches should be written in parentheses.
  • SMILES strings can be imported and converted into 2D graphics or 3D models of molecules by most molecular editing software. Converting to two-dimensional graphics can use Helson's "Structure Diagram Generation algorithm" (Structure Diagram Generation algorithm).
  • the automatic crystal generation module 24 of this embodiment can automatically generate crystal structures. There are two ways to generate it.
  • the crystal structure is randomly generated.
  • the module can automatically generate the above crystal parameters, and then make a rational judgment for the newly generated crystal. If the rationality judgment is passed, the crystal is successfully generated. If the rationality judgment is not passed, the crystal parameters are adjusted to regenerate the crystal until a reasonable crystal structure is generated. The user can limit the number of reasonable crystal attempts through the interface provided by the system.
  • the given crystal structure is adjusted to obtain a new crystal structure.
  • This module receives the crystal structure and the parameters that need to be adjusted, and then generates a new crystal with the adjusted parameters. If the rationality judgment is passed, the crystal is successfully generated. If the rationality judgment is not passed, the crystal parameters are adjusted to regenerate the crystal until a reasonable crystal structure is generated. The user can limit the number of reasonable crystal attempts through the interface provided by the system.
  • the distance between two atoms in the crystal needs to comply with chemical rules
  • the density of the crystal needs to be within the given density interval.
  • the module After the module generates crystals, it will generate crystal files according to the CIF standard format for use by other modules in the system.
  • the density interval setting method of the crystal is as follows: 1. For each molecule of asymmetric unit, randomly select an atom as the origin, and calculate the coordinates of each atom relative to the origin according to the bond length and bond angle between the atoms in the molecule. The rotatable flexible angle is determined according to the value in the input parameter; 2. Calculate the density d of the molecule in space with the mass of each atom and the position of each atom; 3. Set with [a*d,b*d] The density interval of the crystal, where a, b can be preset according to the user's needs and experience.
  • the specific process of judging the rationality first calculate the distance between atoms in the same molecule, the standard value of bond angle, the minimum value between two atoms in the molecule, and the density interval; for each generated virtual crystal structure, calculate the same molecule The distance and bond angle between atoms within a molecule, the distance and density between two atoms in a molecule. ; Compare with the first calculated value one by one, if it matches, judge that the crystal is reasonable, if there is a piece of data that does not match, judge that the crystal is unreasonable.
  • the distance between the centroids of the molecules will be adjusted first.
  • the adjustment method is to expand the distance between the centroids according to a preset coefficient; if the rules are still not met after the adjustment, the distance will continue to expand until it meets the rules. If the density is not in the set density interval, when it exceeds the lower limit of the interval, the distance between the centroids will be expanded by the preset coefficient; if the density exceeds the upper limit, the side length of the unit cell will be reduced by the given coefficient, and then iterate until the adjustment is made. The latter density enters the given density interval.
  • the automatic crystal generation module 24 sets the number of attempts according to needs, and the limit of the number of attempts is related to the running time and the amount of calculation acceptable to the user.
  • the user can set any value between 0 and 1000000 as the number of attempts as needed.
  • the number of attempts is set to prevent the system from entering an infinite loop mode because it fails to produce a crystal structure that conforms to the chemical plan and density interval. If a reasonable crystal structure has not been obtained after the limited number of times, the system will pause, and the user will be prompted to enter a reasonable crystal structure through the artificial crystal generation module, and then continue.
  • the invention generates crystals, that is, to generate virtual crystals, to determine the unit cell parameters in the CIF file describing the virtual crystals, the space group and the relative coordinate values of atoms in the molecules of each asymmetric unit in the unit cells. After entering the above parameters, the system will directly use the unit cell parameters in the parameters. There are 230 space groups in total, which are preset. The entire system works under the specified space group.
  • the process of calculating the relative coordinate value of each atom in the unit cell from the input parameters is as follows: 1. For each molecule of asymmetric unit, randomly select an atom as the origin, and calculate according to the bond length and bond angle between the atoms in the molecule The coordinates of each atom relative to the origin.
  • the rotatable flexible angle is determined according to the value in the input parameter. 2. Calculate the position of the center of mass of the molecule according to the coordinate position of each atom. That is, the weighted average of atomic mass and spatial position is used to determine the position of the center of mass. 3. Calculate the distance between two atoms, and take the vector between the two atoms with the longest distance as the orientation of the molecule. If the longest distance is more than one pair of atoms, take any one of them, and keep taking this pair of atoms every time to determine the orientation of the molecule. 4. Use 3-dimensional space transformation to transform the centroid and orientation of the molecule to the centroid coordinates and orientation given in the input parameters, so as to obtain the transformed coordinate value of each atom. The system uses this value directly for the relative coordinates of the atoms in the molecule in the unit cell. The virtual crystal construction is complete.
  • the unit cell parameters and the relative coordinates of each atom in the unit cell can be obtained from the crystal structure.
  • the value of the intramolecular flexibility angle, the position of the center of mass of the molecule and the orientation of the vector between the two atoms with the longest intramolecular distance can be directly calculated. In this way, the aforementioned input parameters can be obtained.
  • the organic molecular crystal construction system 100 of the present invention further includes: a crystal evolution real-time monitoring module 90 : retrieves the generated crystal structure in real time, retrieves the crystal structure in the crystal database, and adjusts the crystal parameters during the crystal evolution process value.
  • the crystal evolution real-time monitoring module 90 provides an interface to support the user to retrieve the crystal structure generated by the automatic crystal generation module in real time, and also supports the user to retrieve the crystal structure in the crystal database and the parameter adjustment values given by the crystal evolution module in real time.
  • the interface returns crystal structure information in a CIF formatted file.
  • the artificial crystal generation module and the crystal evolution real-time monitoring module of the present invention provide a human-computer interaction interface for users to use.
  • the crystal energy calculation module 40 of this embodiment supports three kinds of precision crystal energy calculation methods, including:
  • the force field precision crystal energy calculation method module supports the fast calculation of the energy of the crystal structure by the force field, input a crystal structure, the module will output the crystal structure and its corresponding crystal energy calculated by the force field.
  • Commonly used force field calculation tools are Amber, charmm and so on.
  • Semi-empirical precision crystal energy calculation method module supports the calculation of the energy of crystal structures with semi-empirical methods (such as DFTB). Input a crystal structure, and the module will output the crystal structure and its corresponding crystal energy calculated by the semi-empirical method.
  • Semi-empirical calculation tools such as DFTB, Dmacrys
  • High-precision quantitative crystal energy calculation method module the module supports the calculation of the energy of the crystal structure with high-precision quantitative methods (such as DFT). Input a crystal structure, the module will output the crystal structure and its corresponding crystal energy calculated by high-precision quantitative method.
  • the calculation tools for high-precision quantization methods include VASP, Crystal09, etc.
  • the crystal evolution module 60 of this embodiment can optimize a given structure to obtain a crystal structure with better properties.
  • the target of module optimization supports the following two.
  • the crystal energy is lower, and the particle swarm optimization algorithm and Monte Carlo search algorithm with the crystal energy as the optimization goal are supported to optimize the crystal structure.
  • the crystal structure density is larger, and the particle swarm optimization algorithm and Monte Carlo search algorithm with the crystal structure density as the optimization goal are supported to optimize the crystal structure.
  • the module stores the input crystal structure and its energy and output adjustments into the crystal database.
  • the evolution cycle iteration of the crystal is an iterative process according to the particle swarm optimization algorithm or the Monte Carlo optimization algorithm.
  • the way that the crystal evolution module adjusts the structural parameters is according to the above optimization algorithm.
  • each value of the crystal input parameters will be randomly fluctuated, so that a new crystal is obtained.
  • the range of random fluctuations can be preset by the user in the system.
  • the purpose of the adjustment is to obtain a new crystal structure, so that a crystal structure with good properties can be found.
  • the use of particle swarm optimization algorithm and Monte Carlo optimization algorithm can better search in the optimization space, so that better crystal structures can be found more quickly.
  • the user can empirically set the number of iterations that will no longer produce lower-energy crystal structures.
  • the process is as follows: the user sets the number of iterations, such as 1000; the system sets the initial minimum energy to 0, and records the number of iteration steps with the lowest energy to 0; each evolution iteration compares the energy of the current crystal structure with the lowest energy recorded by the system, If the current energy is lower, the lowest energy of the system is recorded as the current energy, and the number of iteration steps of the lowest energy is recorded as 0. If the current energy is high, add +1 to the minimum energy iteration steps. 4. If the minimum energy iteration steps exceed 1000, the system stops running.
  • the user can also set the number of iterations to judge that the crystal structure with lower density will no longer be produced according to experience.
  • the process is as follows: 1. The user sets the number of iterations, such as 1000. 2. The system sets the initial minimum density as the upper limit of the density interval, and records the number of iteration steps for the minimum density as 0. 3. Each evolution iteration will compare the current crystal structure Density and the lowest density recorded by the system, if the current density is lower, record the lowest density of the system as the current density, and record the lowest density iteration steps as 0. If the current density is high, add +1 to the minimum density iteration steps. 4. If the minimum density iteration steps exceed 1000, the system stops running.
  • the crystal structure is stored and recalled by CIF file. After the system obtains the CIF file, it will obtain the input parameters according to the CIF file. Combining these input parameters into a one-dimensional vector in order satisfies the input of particle swarm optimization algorithm and Monte Carlo optimization algorithm.
  • the unit cell parameters and the relative coordinates of each atom in the unit cell can be obtained from the crystal structure.
  • the value of the intramolecular flexibility angle, the position of the center of mass of the molecule and the orientation of the vector between the two atoms with the longest intramolecular distance can be directly calculated. In this way, the input parameters about the crystal can be obtained.
  • the crystal database 80 of this embodiment adopts a hybrid architecture of graph + file database.
  • the core crystal data is stored directly in the file database in the CIF file format.
  • the mutual evolution relationship between crystals is stored in a graph database.
  • the crystal database supports the retrieval of crystal structure information according to the evolution relationship between crystals, and also supports fast retrieval of crystal structure information according to the creation time.
  • the core crystal data includes a CIF file for each crystal structure, as well as the tuning parameters for each.
  • An evolution relationship is a record of how each crystal evolved from that crystal.
  • the evolution information records a tree structure, and records the ID of its parent crystal for each crystal structure. If it is an initial crystal, the parent crystal ID is empty.
  • the retrieval method is to enter a crystal structure ID, the system will search the crystal according to the ID, and get its father crystal ID, and then the system will search for the crystal according to the father crystal ID, and get the father crystal ID of this crystal, until the father crystal ID is empty.
  • the system then returns a data set for these crystals.
  • the entire evolutionary tree structure is the historical data of evolution.
  • the present invention adopts a framework design in which the model layer and the control layer are separated.
  • the data storage of the model layer adopts the hybrid architecture of graph + file database, and the core crystal data is directly stored in the file database in CIF file format.
  • the relationship between crystals is stored in a graph database.
  • the control layer is developed in Python and includes a web service and a scheduling system for task distribution.
  • the user determines one or more initial crystal structure parameters based on their own experience or other tools. If the user does not have any experience and tools, the automatic crystal generation module can also be invoked to obtain one or more initial crystal structures.
  • the user invokes the interface of the artificial crystal generation module and inputs one or more crystal structure parameters obtained in the previous step.
  • the module will construct the crystal structure and convert it into a crystal file in CIF format, and automatically transmit it to the crystal energy calculation module.
  • the crystal energy calculation module will call the corresponding algorithm module to calculate the energy of the crystal according to the energy precision preset by the user.
  • the user can change the preset energy precision in advance through the interface. After the calculation is completed, the module will automatically transfer the crystal structure and calculated energy to the crystal evolution module.
  • the crystal evolution module obtains the crystal structure for the first time during this run, the module will randomly adjust the crystal structure parameters, and store the crystal structure and adjusted values in the crystal database. If the crystal structure has been input to the crystal evolution module in the current operation of the system, the module will adjust the crystal structure parameters according to the preset particle swarm or Monte Carlo search algorithm. The user can preset the algorithm to be used through the interface. This module will automatically pass the crystal structure and tuning parameters into the automatic crystal generation module.
  • the automatic crystal generation module will automatically generate a new crystal structure, and then pass it into the crystal energy calculation module, and then into the crystal evolution module for loop iteration.
  • the user can retrieve the latest evolution structure information and evolution history data through the crystal evolution real-time monitoring module.
  • the user can manually adjust the parameters of one or more of the crystal structures based on experience, and transfer the adjusted structure to the artificial crystal generation module. In this way, the cyclic process of crystal evolution continues from the artificially adjusted crystal.
  • the whole system supports multiple evolution loops working simultaneously. The number of supported loops depends on the computational parallelism of the hardware device.
  • the invention overcomes the defect that the existing crystal calculation and simulation method cannot effectively introduce artificial experience.
  • On the basis of supporting the automatic evolution of crystals it provides an interface for real-time evolution monitoring and manual modification, which allows users with rich professional experience to observe the process of crystal evolution and energy change in real time, and then adjust the evolution of the machine based on their own experience. route, which organically combines expert experience with the high efficiency of machine evolution. Thereby, a virtual crystal structure with better properties can be better obtained.
  • the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions
  • the apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

Abstract

An organic molecular crystal construction method and system, comprising: receiving a crystal parameter to generate a crystal, generating a crystal file according to a set format, forming core crystal data, and storing the core crystal data into a crystal database; invoking, according to a crystal structure and a preset energy accuracy, a corresponding crystal energy calculation algorithm to calculate crystal energy; and performing optimization according to the crystal structure and the calculated crystal energy, outputting a crystal parameter adjustment value according to an optimization algorithm rule, adjusting the crystal parameter and transferring same to the crystal generation step to generate a new crystal such that an initial crystal and a series of crystals obtained by one or more optimizations form an evolutionary relation, and storing mutual evolution information between the crystals into the crystal database. The organic molecular crystal construction method and system perform optimization by means of crystal evolution according to a crystal structure and crystal energy, adjust a crystal parameter according to an optimization algorithm and transfer same to a crystal generation step for iteration, and obtain a crystal structure having better properties by means of iterative optimizations.

Description

有机分子晶体构建方法及系统Organic molecular crystal construction method and system 技术领域technical field
本发明涉及分子晶体构建生成方法,特别涉及一种有机分子晶体构建方法及系统。The invention relates to a method for constructing and generating molecular crystals, in particular to a method and system for constructing organic molecular crystals.
背景技术Background technique
有机分子晶体被广泛应用于药物、日化用品、含能材料等众多领域。对于给定的有机分子,如何快速设计出性质更好的晶体结构,直接决定了产品的研发速度和成功率。传统的方法是依靠实验大规模的筛选,通过大量不同实验条件的组合,找到不同的晶体结构,然后选出其中相对性质更好的。近些年,随着计算能力的快速提升,通过计算模拟晶体结构及其性质的方法得到了快速的发展。当前计算模拟的方法主要依靠全局搜索和局域优化算法模块自动产生和优化晶体结构,通过算法模块筛选出性质更好的晶体结构。Organic molecular crystals are widely used in many fields such as medicine, daily chemical products, and energetic materials. For a given organic molecule, how to quickly design a crystal structure with better properties directly determines the speed and success rate of product development. The traditional method is to rely on large-scale screening of experiments to find different crystal structures through the combination of a large number of different experimental conditions, and then select the ones with better relative properties. In recent years, with the rapid improvement of computing power, the method of simulating crystal structure and properties by calculation has been developed rapidly. The current computational simulation methods mainly rely on global search and local optimization algorithm modules to automatically generate and optimize crystal structures, and use the algorithm modules to screen out crystal structures with better properties.
传统实验方法无法在微观的分子尺度精准的设计晶体,只能依靠宏观的实验经验组合大量的实验条件和实验方法来找到性质更好的晶体结构。这样的问题是整个过程相对盲目,因为可以尝试的实验条件非常多,不同的溶剂组合、温度、湿度、压力、及这些因素随时间的变化等组合都可能得到新的晶体结构,也可能得到重复的晶体结构或得不到晶体。所以整个方法的效率比较低,选出的晶体结构只是在实验发现的范围内的最优解,如果在所有可能的晶体结构中,很可能不是最优的。Traditional experimental methods cannot accurately design crystals at the microscopic molecular scale, and can only rely on macroscopic experimental experience to combine a large number of experimental conditions and experimental methods to find crystal structures with better properties. The problem with this is that the whole process is relatively blind, because there are many experimental conditions that can be tried, and different combinations of solvent combinations, temperature, humidity, pressure, and changes of these factors over time may result in new crystal structures, and may also be repeated. crystal structure or no crystal. Therefore, the efficiency of the whole method is relatively low, and the selected crystal structure is only the optimal solution within the range found by the experiment. If it is among all possible crystal structures, it is probably not the optimal solution.
当前的计算模拟方法比传统实验方法有了大幅提升。因为通过计算机虚拟筛选,可以直接堆积上亿规模的晶体结构,然后计算这些晶体结构的性质。这样就可以在很大规模的晶体空间中找到性质更好的晶体结构。但是,单纯利用算法在这么大的晶体空间中找到性质更好的晶体结构是很有难度的,这对于算法在给定分子的晶体空间搜索能力提出了非常高的要求。也对计算资源提出了非常高的要求。对于比较简单的有机分子,这样的计算模拟方法的表现已经很好了。但对于柔性角超过10个或晶胞中不同的分子数量超过3个的复杂问题,当前的计算模拟方法的表现就比较差了。Current computational simulation methods are a significant improvement over traditional experimental methods. Because through computer virtual screening, hundreds of millions of crystal structures can be directly stacked, and then the properties of these crystal structures can be calculated. In this way, better crystal structures can be found in a very large-scale crystal space. However, it is very difficult to find a better crystal structure in such a large crystal space simply by using the algorithm, which puts forward very high requirements for the algorithm's ability to search in the crystal space of a given molecule. It also places very high demands on computing resources. For relatively simple organic molecules, such computational simulation methods have performed well. However, for complex problems with more than 10 flexible angles or more than 3 different molecules in the unit cell, the performance of current computational simulation methods is relatively poor.
发明内容SUMMARY OF THE INVENTION
基于此,有必要提供一种可优化生成的晶体结构的有机分子晶体构建方法。Based on this, it is necessary to provide an organic molecular crystal construction method that can optimize the generated crystal structure.
同时,提供一种可优化生成的晶体结构的有机分子晶体构建系统。At the same time, an organic molecular crystal construction system that can optimize the generated crystal structure is provided.
一种有机分子晶体构建方法,包括:An organic molecular crystal construction method, comprising:
晶体生成:接收晶体参数生成晶体,并按照设定格式生成晶体文件,形成核心晶体数据,将核心晶体数据存储在晶体数据库中;Crystal generation: receive crystal parameters to generate crystals, generate crystal files according to the set format, form core crystal data, and store the core crystal data in the crystal database;
晶体能量计算:根据晶体结构及预设能量精度调用相应晶体能量计算算法计算晶体能量;Crystal energy calculation: call the corresponding crystal energy calculation algorithm to calculate the crystal energy according to the crystal structure and the preset energy accuracy;
晶体演化:根据晶体结构和计算的晶体能量进行优化,根据优化算法规则输出晶体参数调整值,调整晶体参数并转入晶体生成步骤,生成新的晶体,初始晶体与一次或多次优化的系列晶体形成演化关系,将晶体之间的相互演化信息存储在晶体数据库中。Crystal evolution: optimize based on crystal structure and calculated crystal energy, output crystal parameter adjustment values according to optimization algorithm rules, adjust crystal parameters and transfer to crystal generation step, generate new crystals, initial crystals and one or more optimized series of crystals The evolution relationship is formed, and the mutual evolution information between crystals is stored in the crystal database.
在优选的实施例中,还包括:晶体演化实时监控:实时调取生成的晶体结构、调取晶体数据库中的晶体结构和晶体演化过程中的晶体参数调整值;所述晶体参数包括:晶体每个组成部分的分子SMILES式、每个分子每个柔性角的角度、晶胞参数、每个分子在晶胞中的质心位置、每个分子在晶胞中的朝向;所述晶体生成包括:人工晶体生成:接收晶体参数输入指令或晶体参数调整输入指令,根据输入参数生成晶体。In a preferred embodiment, it also includes: real-time monitoring of crystal evolution: retrieving the generated crystal structure in real time, retrieving the crystal structure in the crystal database, and crystal parameter adjustment values during the crystal evolution process; the crystal parameters include: crystal every time The molecular SMILES formula of each component, the angle of each flexible angle of each molecule, the unit cell parameters, the position of the centroid of each molecule in the unit cell, the orientation of each molecule in the unit cell; the crystal generation includes: artificial Crystal generation: receive crystal parameter input commands or crystal parameter adjustment input commands, and generate crystals according to the input parameters.
在优选的实施例中,所述晶体生成还包括:自动晶体生成:根据指定的目标分子生成晶体参数或根据晶体的参数调整值调整参数生成新的晶体,对生成新晶体进行合理性判断,若通过合理性判断,则成功生成晶体,若未通过合理性判断则调整晶体参数重新生成晶体。In a preferred embodiment, the crystal generation further includes: automatic crystal generation: generating crystal parameters according to a specified target molecule or adjusting parameters according to parameter adjustment values of the crystal to generate a new crystal, and judging the rationality of generating a new crystal, if If the rationality judgment is passed, the crystal is successfully generated. If the rationality judgment is not passed, the crystal parameters are adjusted to regenerate the crystal.
在优选的实施例中,所述合理性判断包括:判断晶体中的两两原子之间的距离是否符合化学规则,判断晶体的密度是否在给定密度区间内。In a preferred embodiment, the rationality judgment includes: judging whether the distance between two atoms in the crystal conforms to chemical rules, and judging whether the density of the crystal is within a given density range.
在优选的实施例中,判断是否符合化学规则包括:判断同一分子内的任意两个原子之间的距离和键角是否等于该分子中该两个原子之间的初始输入或调整输入的距离和键角,判断不同分子的两个原子之间的距离是否不小于范德华半径;所述密度区间的设置包括:对每个非对称单元的分子,随机选一个原子 为原点,根据分子中各原子间的键长和键角计算每个原子相对原点的坐标,用每个原子的质量和每个原子的位置计算该分子在空间中的密度d,以[a*d,b*d]设置晶体的密度区间,其中a,b预先设置。In a preferred embodiment, judging whether the chemical rules are met includes: judging whether the distance and bond angle between any two atoms in the same molecule are equal to the initial input or the adjusted input distance and distance between the two atoms in the molecule. Bond angle, to determine whether the distance between two atoms of different molecules is not less than the van der Waals radius; the setting of the density interval includes: for each molecule of asymmetric unit, randomly select an atom as the origin, according to the distance between the atoms in the molecule Calculate the coordinates of each atom relative to the origin using the bond length and bond angle of Density interval, where a, b are preset.
在优选的实施例中,若不符合化学规则,则调整分子的质心距离,按预设系数扩大质心之间的距离,若调整后仍不符合规则,则继续扩大质心之间的距离,直至符合;若判断晶体的密度超出密度区间的下限时,按预设系数扩大质心之间的距离;若晶体的密度超出密度区间的上限时,则按设定系数缩小晶胞边长,迭代直至晶体的密度达到密度区间范围内。In a preferred embodiment, if the chemical rules are not met, the distance between the centroids of the molecules is adjusted, and the distance between the centroids is expanded according to a preset coefficient. ; If it is judged that the density of the crystal exceeds the lower limit of the density interval, expand the distance between the centroids according to the preset coefficient; if the density of the crystal exceeds the upper limit of the density interval, reduce the side length of the unit cell according to the set coefficient, and iterate until the crystal The density is within the density range.
在优选的实施例中,获取晶胞参数、空间群、每个非对称单元分子中的原子在晶胞中的相对坐标值,在指定空间群下工作,根据输入的晶体参数或调整输入的晶体参数计算每个原子在晶胞中的相对坐标值:对每个非对称单元的分子,随机选一个原子为原点,根据分子中各原子间的键长和键角计算每个原子相对于原点的坐标,根据输入的晶体参数或调整输入的晶体参数确定可转动柔性角,根据每一个原子的坐标位置计算分子的质心位置,以原子质量与空间位置进行加权平均确定质心的位置,计算两两原子之间的距离,取距离最长的两原子至今的向量作为分子的朝向,利用三维空间变换将分子的质心和朝向变换到输入的晶体参数或调整输入的晶体参数中给定的质心坐标和朝向,得到每个原子变换后的坐标值,作为该分子中的原子在晶胞中的相对坐标值,生成构建晶体;或根据晶体结构获取晶胞参数和每个原子在晶胞中的相对坐标,根据每个原子的坐标计算分子内柔性角、分子的质心文字和分子内距离最长的两个原子之间的向量朝向,根据晶体结构和调整输入参数,生成晶体。In a preferred embodiment, the unit cell parameters, the space group, the relative coordinate values of the atoms in each asymmetric unit molecule in the unit cell are obtained, and the work is performed under the specified space group, and the input crystal parameters are adjusted or adjusted according to the input crystal parameters. The parameter calculates the relative coordinate value of each atom in the unit cell: for each molecule of asymmetric unit, randomly select an atom as the origin, and calculate the relative coordinate value of each atom relative to the origin according to the bond length and bond angle between the atoms in the molecule. Coordinate, determine the rotatable flexible angle according to the input crystal parameters or adjust the input crystal parameters, calculate the position of the center of mass of the molecule according to the coordinate position of each atom, and determine the position of the center of mass by the weighted average of the atomic mass and the spatial position, and calculate the position of the two atoms The distance between, take the vector of the two atoms with the longest distance so far as the orientation of the molecule, use the three-dimensional space transformation to transform the centroid and orientation of the molecule to the input crystal parameters or adjust the coordinates and orientation of the given centroid in the input crystal parameters , to obtain the transformed coordinate value of each atom as the relative coordinate value of the atoms in the molecule in the unit cell to generate a crystal; or to obtain the unit cell parameters and the relative coordinates of each atom in the unit cell according to the crystal structure, According to the coordinates of each atom, the flexible angle in the molecule, the centroid text of the molecule and the vector orientation between the two atoms with the longest distance in the molecule are calculated, and the crystal is generated according to the crystal structure and adjusting the input parameters.
在优选的实施例中,所述晶体数据库包括:文件数据库和图数据库,所述晶体数据包括:晶体文件和每次的调整参数,所述晶体文件包括:CIF文件,所述晶体文件存储在文件数据库中,所述演化信息记录为树形结构、对每个晶体结构记录其父亲晶体的ID,初始晶体的父亲晶体ID为空,所述演化关系存储在图数据库中,所述晶体演化步骤包括:以晶体能量为优化目标或晶体结构密度为优化目标采用粒子群优化算法或蒙特卡洛优化算法进行迭代优化晶体结构,获取晶体结构和计算的晶体能量,根据粒子群优化算法或蒙特卡洛优化算法输 出晶体参数调整值,转入晶体生成步骤。In a preferred embodiment, the crystal database includes a file database and a graph database, the crystal data includes a crystal file and each adjustment parameter, the crystal file includes a CIF file, and the crystal file is stored in the file In the database, the evolution information is recorded as a tree structure, the ID of the parent crystal is recorded for each crystal structure, the parent crystal ID of the initial crystal is empty, the evolution relationship is stored in the graph database, and the crystal evolution step includes: : Take the crystal energy as the optimization goal or the crystal structure density as the optimization goal, use the particle swarm optimization algorithm or the Monte Carlo optimization algorithm to iteratively optimize the crystal structure, obtain the crystal structure and the calculated crystal energy, and use the particle swarm optimization algorithm or Monte Carlo optimization algorithm to optimize the crystal structure. The algorithm outputs the crystal parameter adjustment value, and transfers to the crystal generation step.
在优选的实施例中,所述晶体演化步骤中的迭代优化,初始最低能量为0,记录最低能量的跌倒步数为0,对初始晶体根据优化算法对获取的晶体每一参数进行随机波动,得到一个新的晶体,根据预设的迭代次数进行迭代,若以晶体能量为优化目标则每个演化迭代比较当前晶体结构的能量与记录的最低能量,若当前能量更低则将系统最低能量记录为当前能量,最低能量迭代步数记录为0,若当前能量高,则对最低能量迭代步数+1,若迭代步数超过预设的迭代次数则停止;In a preferred embodiment, in the iterative optimization in the crystal evolution step, the initial minimum energy is 0, the number of falling steps for recording the lowest energy is 0, and each parameter of the obtained crystal is randomly fluctuated for the initial crystal according to the optimization algorithm, A new crystal is obtained, and iterates according to the preset number of iterations. If the crystal energy is the optimization goal, each evolution iteration compares the energy of the current crystal structure with the lowest recorded energy. If the current energy is lower, the lowest energy of the system is recorded. is the current energy, and the minimum energy iteration number is recorded as 0. If the current energy is high, the minimum energy iteration number +1 is added, and if the iteration number exceeds the preset number of iterations, it will stop;
若以晶体密度为优化目标则设置初始最低密度为密度区间上限,并记录最低密度的迭代步数为0,每次演化迭代会比较当前晶体结构的密度和记录的最低密度,如果当前密度更低,则将系统最低密度记录为当前密度,最低密度迭代步数记录为0,如果当前密度高,则对最低密度迭代步数+1,若迭代步数超过预设的迭代次数则停止;If the crystal density is the optimization goal, set the initial minimum density as the upper limit of the density interval, and record the minimum density iteration steps as 0. Each evolution iteration will compare the density of the current crystal structure with the recorded minimum density. If the current density is lower , the lowest density of the system is recorded as the current density, and the number of iteration steps of the lowest density is recorded as 0. If the current density is high, the number of iteration steps of the lowest density is +1, and if the number of iteration steps exceeds the preset number of iterations, it will stop;
所述晶体能量计算包括:根据晶体结构与其对应的用力场计算晶体能量的力场精度晶体能量计算方法、或根据晶体结构与其对应的用半经验方法计算晶体能量的半经验精度晶体能量计算方法、或根据晶体结构与其对应的用高精度量化方法计算的晶体能量的高精度量化晶体能量计算方法。The crystal energy calculation includes: a force field-accurate crystal energy calculation method for calculating the crystal energy with a force field according to the crystal structure and its corresponding force field, or a semi-empirical precision crystal energy calculation method for calculating the crystal energy according to the crystal structure and its corresponding semi-empirical method, Or a high-precision quantitative crystal energy calculation method based on the crystal structure and its corresponding crystal energy calculated by a high-precision quantitative method.
一种有机分子晶体构建系统,包括:An organic molecular crystal construction system comprising:
晶体生成模块:接收晶体参数生成晶体,并按照设定格式生成晶体文件,形成核心晶体数据,将核心晶体数据存储在晶体数据库中;Crystal generation module: receive crystal parameters to generate crystals, generate crystal files according to the set format, form core crystal data, and store the core crystal data in the crystal database;
晶体能量计算模块:根据晶体结构及预设能量精度调用相应晶体能量计算算法计算晶体能量;Crystal energy calculation module: call the corresponding crystal energy calculation algorithm to calculate the crystal energy according to the crystal structure and the preset energy precision;
晶体演化模块:根据晶体结构和计算的晶体能量进行优化,根据优化算法规则输出晶体参数调整值,调整晶体参数并转入晶体生成步骤,生成新的晶体,初始晶体与一次或多次优化的系列晶体形成演化关系,将晶体之间的相互演化信息存储在晶体数据库中。Crystal evolution module: optimize according to crystal structure and calculated crystal energy, output crystal parameter adjustment values according to optimization algorithm rules, adjust crystal parameters and transfer to crystal generation step, generate new crystal, initial crystal and a series of one or more optimizations The crystals form an evolution relationship, and the mutual evolution information between crystals is stored in the crystal database.
上述有机分子晶体构建方法及系统通过晶体演化根据晶体结构和晶体能量进行优化,根据优化算法调整晶体参数并转入晶体生成步骤进行迭代,通过迭 代优化得到性质更好的晶体结构。并存储晶体的演化关系追踪晶体的演化过程,并在可根据演化过程修改晶体参数进行优化。The above-mentioned organic molecular crystal construction method and system are optimized according to the crystal structure and crystal energy through crystal evolution, and the crystal parameters are adjusted according to the optimization algorithm and transferred to the crystal generation step for iteration, and a crystal structure with better properties is obtained through iterative optimization. And store the evolution relationship of the crystal to track the evolution process of the crystal, and modify the crystal parameters according to the evolution process for optimization.
另晶体演化在运行时首次得到晶体结构,会随机的调整晶体结构参数,并将晶体结构和调整值存入晶体数据库中。如果系统运行中,已经有晶体结构输入到晶体演化过程,则会根据预设的粒子群或蒙特卡洛搜索算法调整晶体结构参数。用户可以通过接口预先设置需要使用的算法。该模块会将晶体结构和调整参数自动传入晶体生成步骤;晶体生成步骤会自动产生新的晶体结构,然后传入晶体能量计算过程,然后传入晶体演化过程进行循环迭代。在循环的过程中,用户可以通过晶体演化实时监控模块调取最新演化的结构信息,以及演化的历史数据。用户可以根据经验对其中一个或多个晶体结构的参数进行手动调整,并将调整后的结构传入人工晶体生成模块。这样晶体演化的循环过程就会从人工调整的晶体继续演化。整个系统支持多个演化循环同时工作。In addition, crystal evolution obtains the crystal structure for the first time during the operation, and adjusts the crystal structure parameters randomly, and stores the crystal structure and the adjusted value in the crystal database. If the crystal structure has been input into the crystal evolution process during the system operation, the crystal structure parameters will be adjusted according to the preset particle swarm or Monte Carlo search algorithm. The user can preset the algorithm to be used through the interface. This module will automatically transfer the crystal structure and adjustment parameters to the crystal generation step; the crystal generation step will automatically generate a new crystal structure, then transfer it to the crystal energy calculation process, and then transfer it to the crystal evolution process for cyclic iteration. During the cycle, the user can retrieve the latest evolution structure information and evolution history data through the crystal evolution real-time monitoring module. The user can manually adjust the parameters of one or more of the crystal structures based on experience, and transfer the adjusted structure to the artificial crystal generation module. In this way, the cyclic process of crystal evolution continues from the artificially adjusted crystal. The whole system supports multiple evolution loops working simultaneously.
附图说明Description of drawings
图1为本发明一实施例的有机分子晶体构建方法的流程图;Fig. 1 is the flow chart of the organic molecular crystal construction method of one embodiment of the present invention;
图2为本发明一实施例的有机分子晶体构建系统的框图;2 is a block diagram of an organic molecular crystal construction system according to an embodiment of the present invention;
图3为本发明一优选实施例的有机分子晶体构建系统的框图。FIG. 3 is a block diagram of an organic molecular crystal construction system according to a preferred embodiment of the present invention.
具体实施方式detailed description
如图1所示,本发明一实施例的有机分子晶体构建方法,包括:As shown in Figure 1, the method for constructing an organic molecular crystal according to an embodiment of the present invention includes:
步骤S101,晶体生成:接收晶体参数生成晶体,并按照设定格式生成晶体文件,形成核心晶体数据,将核心晶体数据存储在晶体数据库中;Step S101, crystal generation: receiving crystal parameters to generate crystals, and generating crystal files according to the set format, forming core crystal data, and storing the core crystal data in the crystal database;
步骤S103,晶体能量计算:根据晶体结构及预设能量精度调用相应晶体能量计算算法计算晶体能量;Step S103, crystal energy calculation: call the corresponding crystal energy calculation algorithm to calculate the crystal energy according to the crystal structure and the preset energy precision;
步骤S105,晶体演化:根据晶体结构和计算的晶体能量进行优化,根据优化算法规则输出晶体参数调整值,调整晶体参数并转入晶体生成步骤,生成新的晶体,初始晶体与一次或多次优化的系列晶体形成演化关系,将晶体之间的相互演化信息存储在晶体数据库中。Step S105, crystal evolution: optimize according to the crystal structure and the calculated crystal energy, output the crystal parameter adjustment value according to the optimization algorithm rule, adjust the crystal parameters and transfer to the crystal generation step, generate a new crystal, the initial crystal and one or more optimizations The series of crystals form an evolution relationship, and the mutual evolution information between crystals is stored in the crystal database.
本发明的有机分子晶体构建方法还包括:晶体演化实时监控:实时调取生成的晶体结构、调取晶体数据库中的晶体结构和晶体演化过程中的晶体参数调整值。The organic molecular crystal construction method of the present invention further comprises: real-time monitoring of crystal evolution: real-time retrieval of the generated crystal structure, retrieval of the crystal structure in the crystal database and crystal parameter adjustment values during the crystal evolution process.
本发明的晶体参数包括:晶体每个组成部分的分子SMILES式、每个分子 每个柔性角的角度、晶胞参数、每个分子在晶胞中的质心位置、每个分子在晶胞中的朝向;The crystal parameters of the present invention include: the molecular SMILES formula of each component of the crystal, the angle of each flexible angle of each molecule, the unit cell parameters, the position of the centroid of each molecule in the unit cell, the position of each molecule in the unit cell towards;
本发明的晶体生成步骤包括:人工晶体生成、自动晶体生成一种或多种。The crystal generation step of the present invention includes one or more of artificial crystal generation and automatic crystal generation.
人工晶体生成:接收晶体参数输入指令或晶体参数调整输入指令,根据输入参数生成晶体。IOL generation: receive crystal parameter input commands or crystal parameter adjustment input commands, and generate crystals according to the input parameters.
晶体参数包括:晶体每个组成部分的分子SMILES式,每个分子每个柔性角的角度(θ 11、θ 12、…、θ 1n),(θ 21、θ 22、…、θ 2n),…,(θ m1、θ m2、…、θ mn)晶胞参数(α、β、γ、a、b、c),每个分子在晶胞中的质心位置(x 1、y 1、z 1),(x 2、y 2、z 2),…,(x m、y m、z m),每个分子在晶胞中的朝向
Figure PCTCN2020109713-appb-000001
Figure PCTCN2020109713-appb-000002
可提供接口支持用户直接传入上述参数,模块会根据这些参数直接生成虚拟晶体。θ表示分子内的柔性角,即分子内可旋转的单键对应的二面角。α、β、γ是晶胞原点3条边之间的夹角,a、b、c是3条边的长度。质心位置(x m、y m、z m)表示第m个分子的质心的空间坐标,晶胞中的朝向
Figure PCTCN2020109713-appb-000003
表示第m个分子的分子内距离最远的两个原子形成的向量与3个坐标轴的夹角。
Crystal parameters include: molecular SMILES formula of each component of the crystal, angle of each flexible angle of each molecule (θ 11 , θ 12 , ..., θ 1n ), (θ 21 , θ 22 , ..., θ 2n ), ... , ( θ m1 , θ m2 , . , (x 2 , y 2 , z 2 ), …, (x m , y m , z m ), the orientation of each molecule in the unit cell
Figure PCTCN2020109713-appb-000001
Figure PCTCN2020109713-appb-000002
An interface can be provided to allow users to directly input the above parameters, and the module will directly generate virtual crystals based on these parameters. θ represents the flexibility angle in the molecule, that is, the dihedral angle corresponding to the rotatable single bond in the molecule. α, β, and γ are the angles between the three sides at the origin of the unit cell, and a, b, and c are the lengths of the three sides. The centroid position (x m , y m , z m ) represents the spatial coordinates of the centroid of the m-th molecule, the orientation in the unit cell
Figure PCTCN2020109713-appb-000003
Indicates the angle between the vector formed by the two farthest atoms within the molecule of the mth molecule and the three coordinate axes.
对晶体数据库中已有晶体的参数修改,生成新的晶体结构。可提供接口供用户读取晶体数据库中的结构,用户可以通过接口直接修改上述晶体参数中的一个或多个,模块会根据新的参数生成虚拟晶体。Modify the parameters of existing crystals in the crystal database to generate new crystal structures. An interface can be provided for the user to read the structure in the crystal database. The user can directly modify one or more of the above crystal parameters through the interface, and the module will generate a virtual crystal according to the new parameters.
自动晶体生成:根据指定的目标分子生成晶体参数或根据晶体的参数调整值调整参数生成新的晶体,对生成新晶体进行合理性判断,若通过合理性判断,则成功生成晶体,若未通过合理性判断则调整晶体参数重新生成晶体。Automatic crystal generation: Generate crystal parameters according to the specified target molecule or adjust parameters according to the crystal parameter adjustment value to generate new crystals, and make a rational judgment on the generation of new crystals. If the rationality judgment is passed, the crystal will be successfully generated. If the judgment is made, the crystal parameters are adjusted to regenerate the crystal.
具体的,随机产生晶体结构,对于指定的目标分子,该模块可以自动生成上述的晶体参数,然后对新生成的晶体做合理性判断。如果通过合理性判断,则成功生成晶体,如果未通过合理性判断,则调整晶体参数重新生成晶体,直到产生合理的晶体结构为止。用户可以通过系统提供的接口给合理晶体的尝试次数做限制。Specifically, the crystal structure is randomly generated. For the specified target molecule, the module can automatically generate the above crystal parameters, and then make a rational judgment on the newly generated crystal. If the rationality judgment is passed, the crystal is successfully generated. If the rationality judgment is not passed, the crystal parameters are adjusted to regenerate the crystal until a reasonable crystal structure is generated. The user can limit the number of reasonable crystal attempts through the interface provided by the system.
另对给定的晶体结构进行调整,得到新的晶体结构,该模块接收晶体结构和需要调整的参数,然后会用调整后的参数生成新的晶体。如果通过合理性判断,则成功生成晶体,如果未通过合理性判断,则调整晶体参数重新生成晶体,直到产生合理的晶体结构为止。用户可以通过系统提供的接口给合理晶体的尝试次数做限制。In addition, the given crystal structure is adjusted to obtain a new crystal structure. The module receives the crystal structure and the parameters to be adjusted, and then generates a new crystal with the adjusted parameters. If the rationality judgment is passed, the crystal is successfully generated. If the rationality judgment is not passed, the crystal parameters are adjusted to regenerate the crystal until a reasonable crystal structure is generated. The user can limit the number of reasonable crystal attempts through the interface provided by the system.
进一步,本实施例的合理性判断包括:判断晶体中的两两原子之间的距离 是否符合化学规则,判断晶体的密度是否在给定密度区间内。Further, the rationality judgment of this embodiment includes: judging whether the distance between two atoms in the crystal complies with chemical rules, and judging whether the density of the crystal is within a given density range.
判断是否符合化学规则包括:判断同一分子内的任意两个原子之间的距离和键角是否等于该分子中该两个原子之间的初始输入或调整输入的距离和键角,判断不同分子的两个原子之间的距离是否不小于范德华半径;所述密度区间的设置包括:对每个非对称单元的分子,随机选一个原子为原点,根据分子中各原子间的键长和键角计算每个原子相对原点的坐标,用每个原子的质量和每个原子的位置计算该分子在空间中的密度d,以[a*d,b*d]设置晶体的密度区间,其中a,b预先进行设置。Judging whether it complies with chemical rules includes: judging whether the distance and bond angle between any two atoms in the same molecule are equal to the initial input between the two atoms in the molecule or adjusting the input distance and bond angle, and judging the difference between different molecules. Whether the distance between two atoms is not less than the van der Waals radius; the setting of the density interval includes: for each molecule of asymmetric unit, randomly select an atom as the origin, and calculate according to the bond length and bond angle between the atoms in the molecule The coordinates of each atom relative to the origin, use the mass of each atom and the position of each atom to calculate the density d of the molecule in space, and set the density interval of the crystal with [a*d,b*d], where a, b Make settings in advance.
若不符合化学规则,则调整分子的质心距离,按预设系数扩大质心之间的距离,若调整后仍不符合规则,则继续扩大质心之间的距离,直至符合;若判断晶体的密度超出密度区间的下限时,按预设系数扩大质心之间的距离;若晶体的密度超出密度区间的上限时,则按设定系数缩小晶胞边长,迭代直至晶体的密度达到密度区间范围内。If it does not conform to the chemical rules, adjust the distance between the centroids of the molecules and expand the distance between the centroids according to the preset coefficient. If it still does not meet the rules after adjustment, continue to expand the distance between the centroids until it conforms; if it is judged that the density of the crystal exceeds the When the lower limit of the density interval is reached, the distance between the centroids is expanded by the preset coefficient; if the density of the crystal exceeds the upper limit of the density interval, the side length of the unit cell is reduced by the set coefficient, and it is iterated until the density of the crystal reaches the range of the density interval.
生成晶体需要获取晶胞参数、空间群、每个非对称单元分子中的原子在晶胞中的相对坐标值,在指定空间群下工作,根据输入的晶体参数或调整输入的晶体参数计算每个原子在晶胞中的相对坐标值:对每个非对称单元的分子,随机选一个原子为原点,根据分子中各原子间的键长和键角计算每个原子相对于原点的坐标,根据输入的晶体参数或调整输入的晶体参数确定可转动柔性角,根据每一个原子的坐标位置计算分子的质心位置,以原子质量与空间位置进行加权平均确定质心的位置,计算两两原子之间的距离,取距离最长的两原子至今的向量作为分子的朝向,利用三维空间变换将分子的质心和朝向变换到输入的晶体参数或调整输入的晶体参数中给定的质心坐标和朝向,得到每个原子变换后的坐标值,作为该分子中的原子在晶胞中的相对坐标值,生成构建晶体;或根据晶体结构获取晶胞参数和每个原子在晶胞中的相对坐标,根据每个原子的坐标计算分子内柔性角、分子的质心文字和分子内距离最长的两个原子之间的向量朝向,根据晶体结构和调整输入参数,生成晶体。To generate a crystal, it is necessary to obtain the unit cell parameters, space group, and the relative coordinate values of the atoms in each asymmetric unit molecule in the unit cell, work under the specified space group, and calculate each according to the input crystal parameters or adjust the input crystal parameters. The relative coordinate value of the atom in the unit cell: For each molecule of asymmetric unit, randomly select an atom as the origin, and calculate the coordinate of each atom relative to the origin according to the bond length and bond angle between the atoms in the molecule, according to the input Determine the rotatable flexible angle by adjusting the crystal parameters or adjust the input crystal parameters, calculate the position of the center of mass of the molecule according to the coordinate position of each atom, determine the position of the center of mass by the weighted average of the atomic mass and the spatial position, and calculate the distance between two atoms , take the vector of the two atoms with the longest distance so far as the orientation of the molecule, and use the three-dimensional space transformation to transform the centroid and orientation of the molecule to the input crystal parameters or adjust the coordinates and orientation of the given centroid in the input crystal parameters to obtain each The transformed coordinate value of the atom is used as the relative coordinate value of the atoms in the molecule in the unit cell to generate a crystal; or the unit cell parameters and the relative coordinates of each atom in the unit cell are obtained according to the crystal structure. The coordinates of the calculation calculate the flexible angle in the molecule, the centroid text of the molecule and the vector orientation between the two atoms with the longest distance in the molecule, and generate the crystal according to the crystal structure and adjusting the input parameters.
晶体数据库包括:文件数据库和图数据库。晶体数据包括:晶体文件和每次的调整参数。本实施例的晶体文件包括:CIF文件。生成晶体需要确定描述晶体的CIF文件中的晶胞参数、空间群、和每个非对称单元的分子中的原子在晶胞中的相对最坐标值。输入前述参数后,系统会将参数中的晶胞参数直接使用,空间群共230个,预先设定好,系统在指定空间群下工作。Crystal databases include: file databases and graph databases. Crystal data includes: crystal file and adjustment parameters for each time. The crystal files of this embodiment include: CIF files. Generating a crystal requires determining the unit cell parameters in the CIF file describing the crystal, the space group, and the relative most coordinate values in the unit cell of the atoms in the molecules of each asymmetric unit. After inputting the above parameters, the system will directly use the unit cell parameters in the parameters. There are 230 space groups in total, which are preset and the system works under the specified space group.
本实施例的晶体文件存储在文件数据库中。演化信息记录为树形结构、对每个晶体结构记录其父亲晶体的ID,初始晶体的父亲晶体ID为空。演化关系存 储在图数据库中。The crystal files of this embodiment are stored in the file database. The evolution information is recorded as a tree structure, and the ID of the parent crystal is recorded for each crystal structure, and the parent crystal ID of the initial crystal is empty. Evolutionary relationships are stored in a graph database.
晶体演化步骤还包括:以晶体能量为优化目标或晶体结构密度为优化目标采用粒子群优化算法或蒙特卡洛优化算法进行迭代优化晶体结构,获取晶体结构和计算的晶体能量,根据粒子群优化算法或蒙特卡洛优化算法输出晶体参数调整值,转入晶体生成步骤。The crystal evolution step also includes: taking the crystal energy as the optimization goal or the crystal structure density as the optimization goal, using the particle swarm optimization algorithm or the Monte Carlo optimization algorithm to iteratively optimize the crystal structure, obtaining the crystal structure and the calculated crystal energy, according to the particle swarm optimization algorithm. Or the Monte Carlo optimization algorithm outputs the crystal parameter adjustment value, and transfers to the crystal generation step.
晶体演化步骤中的迭代优化,初始最低能量为0,记录最低能量的跌倒步数为0,对初始晶体根据优化算法对获取的晶体每一参数进行随机波动,得到一个新的晶体,根据预设的迭代次数进行迭代,若以晶体能量为优化目标则每个演化迭代比较当前晶体结构的能量与记录的最低能量,若当前能量更低则将系统最低能量记录为当前能量,最低能量迭代步数记录为0,若当前能量高,则对最低能量迭代步数+1,若迭代步数超过预设的迭代次数则停止。In the iterative optimization in the crystal evolution step, the initial minimum energy is 0, the number of falling steps to record the lowest energy is 0, and each parameter of the obtained crystal is randomly fluctuated for the initial crystal according to the optimization algorithm to obtain a new crystal, according to the preset If the crystal energy is used as the optimization goal, the energy of the current crystal structure is compared with the lowest recorded energy in each evolution iteration. If the current energy is lower, the lowest energy of the system is recorded as the current energy, and the lowest energy iteration steps are The record is 0. If the current energy is high, the number of iteration steps for the lowest energy is +1, and if the number of iteration steps exceeds the preset number of iterations, it will stop.
进一步,本实施例的晶体能量计算包括:根据晶体结构与其对应的用力场计算晶体能量的力场精度晶体能量计算方法、或根据晶体结构与其对应的用半经验方法计算晶体能量的半经验精度晶体能量计算方法、或根据晶体结构与其对应的用高精度量化方法计算的晶体能量的高精度量化晶体能量计算方法。Further, the crystal energy calculation in this embodiment includes: a force field precision crystal energy calculation method for calculating crystal energy using a force field according to the crystal structure and its corresponding crystal structure, or a semi-empirical precision crystal for calculating crystal energy using a semi-empirical method according to the crystal structure and its corresponding semi-empirical method. An energy calculation method, or a high-precision quantized crystal energy calculation method based on the crystal structure and its corresponding crystal energy calculated by a high-precision quantitative method.
力场精度晶体能量计算方法,支持用力场快速计算晶体结构的能量。输入一个晶体结构,力场精度晶体能量计算方法会输出该晶体结构和其对应的用力场计算的晶体能量。常用的力场精度晶体能量计算方法的计算工具有Amber、charmm等,The force field precision crystal energy calculation method supports the fast calculation of the energy of the crystal structure with the force field. Input a crystal structure, and the force field precision crystal energy calculation method will output the crystal structure and its corresponding crystal energy calculated by force field. Commonly used calculation tools for force field precision crystal energy calculation methods include Amber, charmm, etc.
半经验精度晶体能量计算方法,支持用半经验方法计算(比如DFTB)晶体结构的能量。输入一个晶体结构,模块会输出该晶体结构和其对应的用半经验方法计算的晶体能量。半经验精度晶体能量计算方法的计算工具有DFTB、Dmacrys。Semi-empirical precision crystal energy calculation method, which supports the calculation of the energy of crystal structures with semi-empirical methods (such as DFTB). Input a crystal structure, and the module will output the crystal structure and its corresponding crystal energy calculated by the semi-empirical method. The calculation tools of the semi-empirical precision crystal energy calculation method include DFTB and Dmacrys.
高精度量化晶体能量计算方法支持用高精度量化方法计算(比如DFT)晶体结构的能量。输入一个晶体结构,使用高精度量化晶体能量计算方法会输出该晶体结构和其对应的用高精度量化方法计算的晶体能量。高精度量化晶体能量计算方法的计算工具有VASP,Crystal09等。The high-precision quantitative crystal energy calculation method supports the use of high-precision quantitative methods (such as DFT) to calculate the energy of the crystal structure. Inputting a crystal structure, using the high-precision quantitative crystal energy calculation method will output the crystal structure and its corresponding crystal energy calculated by the high-precision quantitative method. The calculation tools for high-precision quantitative crystal energy calculation methods include VASP, Crystal09, etc.
如图2所示,本发明一实施例的有机分子晶体构建系统100,包括:As shown in FIG. 2, an organic molecular crystal construction system 100 according to an embodiment of the present invention includes:
晶体生成模块20:接收晶体参数生成晶体,并按照设定格式生成晶体文件,形成核心晶体数据,将核心晶体数据存储在晶体数据库80中;Crystal generation module 20: generate crystals by receiving crystal parameters, generate crystal files according to the set format, form core crystal data, and store the core crystal data in the crystal database 80;
晶体能量计算模块40:根据晶体结构及预设能量精度调用相应晶体能量计算算法计算晶体能量;The crystal energy calculation module 40: according to the crystal structure and the preset energy precision, the corresponding crystal energy calculation algorithm is invoked to calculate the crystal energy;
晶体演化模块60:根据晶体结构和计算的晶体能量进行优化,根据优化算 法规则输出晶体参数调整值,调整晶体参数并转入晶体生成步骤,生成新的晶体,初始晶体与一次或多次优化的系列晶体形成演化关系,将晶体之间的相互演化信息存储在晶体数据库80中。Crystal evolution module 60: perform optimization according to the crystal structure and the calculated crystal energy, output the crystal parameter adjustment values according to the optimization algorithm rules, adjust the crystal parameters and transfer to the crystal generation step, generate a new crystal, the initial crystal is the same as the one or more optimized ones. The series of crystals form an evolution relationship, and the mutual evolution information between the crystals is stored in the crystal database 80 .
如图3所示,进一步,本实施例晶体生成模块20包括:人工晶体生成模块22、自动晶体生成模块24。As shown in FIG. 3 , further, the crystal generation module 20 in this embodiment includes: an artificial crystal generation module 22 and an automatic crystal generation module 24 .
本实施例的人工晶体生成模块22。提供两种方式生成晶体。输入晶体参数直接构建晶体。晶体参数包括:晶体每个组成部分的分子SMILES式,每个分子每个柔性角的角度(θ 11、θ 12、…、θ 1n),(θ 21、θ 22、…、θ 2n),…,(θ m1、θ m2、…、θ mn)晶胞参数(α、β、γ、a、b、c),每个分子在晶胞中的质心位置(x 1、y 1、z 1),(x 2、y 2、z 2),…,(x m、y m、z m),每个分子在晶胞中的朝向
Figure PCTCN2020109713-appb-000004
Figure PCTCN2020109713-appb-000005
该模块提供接口支持用户直接传入上述参数,模块会根据这些参数直接生成虚拟晶体;对晶体数据库中已有晶体的参数修改,生成新的晶体结构。该模块提供接口供用户读取晶体数据库中的结构,用户可以通过接口直接修改上述晶体参数中的一个或多个,模块会根据新的参数生成虚拟晶体。该模块生成晶体后会按CIF的标准格式生成晶体文件,供系统其他模块使用。
The intraocular lens generation module 22 of this embodiment. There are two ways to generate crystals. Enter crystal parameters to build crystals directly. Crystal parameters include: molecular SMILES formula of each component of the crystal, angle of each flexible angle of each molecule (θ 11 , θ 12 , ..., θ 1n ), (θ 21 , θ 22 , ..., θ 2n ), ... , ( θ m1 , θ m2 , . , (x 2 , y 2 , z 2 ), …, (x m , y m , z m ), the orientation of each molecule in the unit cell
Figure PCTCN2020109713-appb-000004
Figure PCTCN2020109713-appb-000005
The module provides an interface to allow users to directly input the above parameters, and the module will directly generate virtual crystals according to these parameters; modify the parameters of existing crystals in the crystal database to generate new crystal structures. This module provides an interface for users to read the structure in the crystal database. Users can directly modify one or more of the above crystal parameters through the interface, and the module will generate virtual crystals according to the new parameters. After the module generates crystals, it will generate crystal files according to the CIF standard format for use by other modules in the system.
SMILES(Simplified molecular input line entry specification),简化分子线性输入规范,是一种用ASCII字符串明确描述分子结构的规范。SMILES用一串字符来描述一个三维化学结构,它必然要将化学结构转化成一个生成树,此系统采用纵向优先遍历树算法。转化时,先要去掉氢,还要把环打开。表示时,被拆掉的键端的原子要用数字标记,支链写在小括号里。SMILES字符串可以被大多数分子编辑软件导入并转换成二维图形或分子的三维模型。转换成二维图形可以使用Helson的“结构图生成算法”(Structure Diagram Generation algorithms)。SMILES (Simplified molecular input line entry specification), simplified molecular linear input specification, is a specification that explicitly describes the molecular structure with ASCII strings. SMILES uses a string of characters to describe a three-dimensional chemical structure, and it must convert the chemical structure into a spanning tree. This system adopts the vertical priority traversal tree algorithm. During the transformation, the hydrogen must be removed first, and the ring must be opened. When denoting, the atoms at the ends of the bonds to be removed should be marked with numbers, and the branches should be written in parentheses. SMILES strings can be imported and converted into 2D graphics or 3D models of molecules by most molecular editing software. Converting to two-dimensional graphics can use Helson's "Structure Diagram Generation algorithm" (Structure Diagram Generation algorithm).
本实施例的自动晶体生成模块24可以自动产生晶体结构。产生的方式有以下两种。随机产生晶体结构,对于指定的目标分子,该模块可以自动生成上述的晶体参数,然后对新生成的晶体做合理性判断。如果通过合理性判断,则成功生成晶体,如果未通过合理性判断,则调整晶体参数重新生成晶体,直到产生合理的晶体结构为止。用户可以通过系统提供的接口给合理晶体的尝试次数做限制。对给定的晶体结构进行调整,得到新的晶体结构。该模块接收晶体结构和需要调整的参数,然后会用调整后的参数生成新的晶体。如果通过合理性判断,则成功生成晶体,如果未通过合理性判断,则调整晶体参数重新生成晶体,直到产生合理的晶体结构为止。用户可以通过系统提供的接口给合理晶体的尝试次数做限制。The automatic crystal generation module 24 of this embodiment can automatically generate crystal structures. There are two ways to generate it. The crystal structure is randomly generated. For the specified target molecule, the module can automatically generate the above crystal parameters, and then make a rational judgment for the newly generated crystal. If the rationality judgment is passed, the crystal is successfully generated. If the rationality judgment is not passed, the crystal parameters are adjusted to regenerate the crystal until a reasonable crystal structure is generated. The user can limit the number of reasonable crystal attempts through the interface provided by the system. The given crystal structure is adjusted to obtain a new crystal structure. This module receives the crystal structure and the parameters that need to be adjusted, and then generates a new crystal with the adjusted parameters. If the rationality judgment is passed, the crystal is successfully generated. If the rationality judgment is not passed, the crystal parameters are adjusted to regenerate the crystal until a reasonable crystal structure is generated. The user can limit the number of reasonable crystal attempts through the interface provided by the system.
合理性判断的标准如下:The criteria for reasonable judgment are as follows:
晶体中两两原子之间的距离需要符合化学规则;The distance between two atoms in the crystal needs to comply with chemical rules;
晶体的密度需要在给定的密度区间内。The density of the crystal needs to be within the given density interval.
该模块生成晶体后会按CIF的标准格式生成晶体文件,供系统其他模块使用。After the module generates crystals, it will generate crystal files according to the CIF standard format for use by other modules in the system.
合理判断的化学规则:1.同一分子内的两个原子之间的距离和键角等于该分子初始输入的距离和键角;2.不同分子的两个原子之间的距离不小于范德华半径。Chemical rules for reasonable judgment: 1. The distance and bond angle between two atoms in the same molecule are equal to the initial input distance and bond angle of the molecule; 2. The distance between two atoms of different molecules is not less than the van der Waals radius.
晶体的密度区间设置方法如下:1.对每个非对称单元的分子,随机选一个原子为原点,根据分子中各原子间的键长和键角计算每个原子相对与原点的坐标。其中可转动柔性角根据输入参数中的值确定;2.用每个原子的质量和每个原子的位置计算该分子在空间中的密度d;3.以[a*d,b*d]设置晶体的密度区间,其中a,b可根据用户的需要和经验预先设置。The density interval setting method of the crystal is as follows: 1. For each molecule of asymmetric unit, randomly select an atom as the origin, and calculate the coordinates of each atom relative to the origin according to the bond length and bond angle between the atoms in the molecule. The rotatable flexible angle is determined according to the value in the input parameter; 2. Calculate the density d of the molecule in space with the mass of each atom and the position of each atom; 3. Set with [a*d,b*d] The density interval of the crystal, where a, b can be preset according to the user's needs and experience.
判断合理性的具体过程:首先计算同一分子内原子之间的距离、键角的标准值,分子间两原子之间的最小值,和密度区间;对每一个生成的虚拟晶体结构,计算同一分子内原子之间的距离、键角,分子间两原子之间的距离和密度。;跟首先计算出的值逐一比较,如果符合则判断晶体是合理的,如果有一条数据不符合,则判断晶体是不合理的。The specific process of judging the rationality: first calculate the distance between atoms in the same molecule, the standard value of bond angle, the minimum value between two atoms in the molecule, and the density interval; for each generated virtual crystal structure, calculate the same molecule The distance and bond angle between atoms within a molecule, the distance and density between two atoms in a molecule. ; Compare with the first calculated value one by one, if it matches, judge that the crystal is reasonable, if there is a piece of data that does not match, judge that the crystal is unreasonable.
若化学规则不符合,则会先调整分子的质心距离,调整方式是按预先设定的系数扩大质心之间的距离;调整后如果仍然不符合规则,则会继续扩大距离,直到符合为止。若密度不在设定的密度区间中,超出区间下限时,按预先设定的系数扩大质心之间的距离;超出上限时,则会按给定的系数缩小晶胞边长,然后迭代,直至调整后的密度进入给定密度区间为止。If the chemical rules do not meet the rules, the distance between the centroids of the molecules will be adjusted first. The adjustment method is to expand the distance between the centroids according to a preset coefficient; if the rules are still not met after the adjustment, the distance will continue to expand until it meets the rules. If the density is not in the set density interval, when it exceeds the lower limit of the interval, the distance between the centroids will be expanded by the preset coefficient; if the density exceeds the upper limit, the side length of the unit cell will be reduced by the given coefficient, and then iterate until the adjustment is made. The latter density enters the given density interval.
自动晶体生成模块24根据需要设置尝试次数,尝试次数的限制是跟用户能接受的运行时间和计算量相关。用户可以根据需要设置如0~1000000之间任何数值作为尝试次数。设置尝试次数是防止系统无法产生符合化学规划和密度区间的晶体结构而进入死循环模式。若达到限定的次数还没有得到合理的晶体结构,则系统会暂停,并提升用户通过人工晶体生成模块输入一个合理的晶体结构,然后继续。The automatic crystal generation module 24 sets the number of attempts according to needs, and the limit of the number of attempts is related to the running time and the amount of calculation acceptable to the user. The user can set any value between 0 and 1000000 as the number of attempts as needed. The number of attempts is set to prevent the system from entering an infinite loop mode because it fails to produce a crystal structure that conforms to the chemical plan and density interval. If a reasonable crystal structure has not been obtained after the limited number of times, the system will pause, and the user will be prompted to enter a reasonable crystal structure through the artificial crystal generation module, and then continue.
本发明生成晶体即生成虚拟晶体要确定描述虚拟晶体的CIF文件中的晶胞参数,空间群和每个非对称单元的分子中的原子在晶胞中的相对坐标值。输入前述参数后,系统会将参数中的晶胞参数直接使用,空间群总共有230个,是预先设定好的,整个系统是在指定空间群下工作的。从输入参数计算每个原子 在晶胞中的相对坐标值的流程如下:1.对每个非对称单元的分子,随机选一个原子为原点,根据分子中各原子间的键长和键角计算每个原子相对与原点的坐标。其中可转动柔性角根据输入参数中的值确定。2.根据每一各原子的坐标位置计算分子的质心位置。即以原子质量和空间位置做加权平均,确定质心位置。3.计算两两原子之间的距离,取距离最长的两原子之间的向量做为分子的朝向。如果最长距离不只一对原子,则任取其中的一对,且保持以后每次都取这一对原子来确定分子的朝向。4.利用3维空间变换将分子的质心和朝向变换到输入参数中给定的质心坐标和朝向,从而得到每个原子变换后的坐标值。系统将这个值直接用于该分子中的原子在晶胞中的相对坐标值。虚拟晶体构建完成。The invention generates crystals, that is, to generate virtual crystals, to determine the unit cell parameters in the CIF file describing the virtual crystals, the space group and the relative coordinate values of atoms in the molecules of each asymmetric unit in the unit cells. After entering the above parameters, the system will directly use the unit cell parameters in the parameters. There are 230 space groups in total, which are preset. The entire system works under the specified space group. The process of calculating the relative coordinate value of each atom in the unit cell from the input parameters is as follows: 1. For each molecule of asymmetric unit, randomly select an atom as the origin, and calculate according to the bond length and bond angle between the atoms in the molecule The coordinates of each atom relative to the origin. The rotatable flexible angle is determined according to the value in the input parameter. 2. Calculate the position of the center of mass of the molecule according to the coordinate position of each atom. That is, the weighted average of atomic mass and spatial position is used to determine the position of the center of mass. 3. Calculate the distance between two atoms, and take the vector between the two atoms with the longest distance as the orientation of the molecule. If the longest distance is more than one pair of atoms, take any one of them, and keep taking this pair of atoms every time to determine the orientation of the molecule. 4. Use 3-dimensional space transformation to transform the centroid and orientation of the molecule to the centroid coordinates and orientation given in the input parameters, so as to obtain the transformed coordinate value of each atom. The system uses this value directly for the relative coordinates of the atoms in the molecule in the unit cell. The virtual crystal construction is complete.
接收到晶体结构和调整参数后,从晶体结构可以得到晶胞参数和每个原子在晶胞中的相对坐标。用每个原子的坐标可以直接计算出分子内柔性角的数值,分子的质心位置和分子内距离最长的两个原子之间向量的朝向。这样就可以得到前述的输入参数。After receiving the crystal structure and adjusting the parameters, the unit cell parameters and the relative coordinates of each atom in the unit cell can be obtained from the crystal structure. Using the coordinates of each atom, the value of the intramolecular flexibility angle, the position of the center of mass of the molecule and the orientation of the vector between the two atoms with the longest intramolecular distance can be directly calculated. In this way, the aforementioned input parameters can be obtained.
如图3所示,本发明的有机分子晶体构建系统100还包括:晶体演化实时监控模块90:实时调取生成的晶体结构、调取晶体数据库中的晶体结构和晶体演化过程中的晶体参数调整值。晶体演化实时监控模块90提供接口支持用户实时调取自动晶体生成模块产生的晶体结构,也支持用户实时调取晶体数据库中的晶体结构和晶体演化模块给出的参数调整数值。接口以CIF格式的文件返回晶体结构信息。As shown in FIG. 3 , the organic molecular crystal construction system 100 of the present invention further includes: a crystal evolution real-time monitoring module 90 : retrieves the generated crystal structure in real time, retrieves the crystal structure in the crystal database, and adjusts the crystal parameters during the crystal evolution process value. The crystal evolution real-time monitoring module 90 provides an interface to support the user to retrieve the crystal structure generated by the automatic crystal generation module in real time, and also supports the user to retrieve the crystal structure in the crystal database and the parameter adjustment values given by the crystal evolution module in real time. The interface returns crystal structure information in a CIF formatted file.
本发明的人工晶体生成模块和晶体演化实时监控模块提供人机交互接口为用户使用。The artificial crystal generation module and the crystal evolution real-time monitoring module of the present invention provide a human-computer interaction interface for users to use.
本实施例的晶体能量计算模块40支持三种精度的晶体能量计算方法,包括:The crystal energy calculation module 40 of this embodiment supports three kinds of precision crystal energy calculation methods, including:
力场精度晶体能量计算方法模块,该模块支持用力场快速计算晶体结构的能量,输入一个晶体结构,模块会输出该晶体结构和其对应的用力场计算的晶体能量。常用的力场计算工具有Amber、charmm等。The force field precision crystal energy calculation method module, this module supports the fast calculation of the energy of the crystal structure by the force field, input a crystal structure, the module will output the crystal structure and its corresponding crystal energy calculated by the force field. Commonly used force field calculation tools are Amber, charmm and so on.
半经验精度晶体能量计算方法模块,模块支持用半经验方法计算(比如DFTB)晶体结构的能量。输入一个晶体结构,模块会输出该晶体结构和其对应的用半经验方法计算的晶体能量。半经验等计算工具有DFTB、DmacrysSemi-empirical precision crystal energy calculation method module, the module supports the calculation of the energy of crystal structures with semi-empirical methods (such as DFTB). Input a crystal structure, and the module will output the crystal structure and its corresponding crystal energy calculated by the semi-empirical method. Semi-empirical calculation tools such as DFTB, Dmacrys
高精度量化晶体能量计算方法模块,模块支持用高精度量化方法计算(比如DFT)晶体结构的能量。输入一个晶体结构,模块会输出该晶体结构和其对应的用高精度量化方法计算的晶体能量。高精度量化方法的计算工具有VASP,Crystal09等。High-precision quantitative crystal energy calculation method module, the module supports the calculation of the energy of the crystal structure with high-precision quantitative methods (such as DFT). Input a crystal structure, the module will output the crystal structure and its corresponding crystal energy calculated by high-precision quantitative method. The calculation tools for high-precision quantization methods include VASP, Crystal09, etc.
本实施例的晶体演化模块60,可以对给定的结构进行优化,以得到性质更 好的晶体结构。模块优化的目标支持以下两种。The crystal evolution module 60 of this embodiment can optimize a given structure to obtain a crystal structure with better properties. The target of module optimization supports the following two.
晶体能量更低,支持以晶体能量为优化目标的粒子群算法和蒙特卡洛搜索算法优化晶体结构。输入一个晶体结构和能量计算模块计算的晶体能量,模块会根据算法规则输出晶体结构参数调整的数值。该输出会传入自动晶体生成模块,生成新的晶体。The crystal energy is lower, and the particle swarm optimization algorithm and Monte Carlo search algorithm with the crystal energy as the optimization goal are supported to optimize the crystal structure. Enter the crystal energy calculated by a crystal structure and energy calculation module, and the module will output the adjusted value of the crystal structure parameters according to the algorithm rules. This output is passed into the automatic crystal generation module to generate new crystals.
晶体结构密度更大,支持以晶体结构密度为优化目标的粒子群算法和蒙特卡洛搜索算法优化晶体结构。输入一个晶体结构和能量计算模块计算的晶体能量,模块会根据算法规则输出晶体结构参数调整的数值。该输出会传入自动晶体生成模块,生成新的晶体。The crystal structure density is larger, and the particle swarm optimization algorithm and Monte Carlo search algorithm with the crystal structure density as the optimization goal are supported to optimize the crystal structure. Enter the crystal energy calculated by a crystal structure and energy calculation module, and the module will output the adjusted value of the crystal structure parameters according to the algorithm rules. This output is passed into the automatic crystal generation module to generate new crystals.
该模块会将输入的晶体结构及其能量和输出的调整值存入晶体数据库中。The module stores the input crystal structure and its energy and output adjustments into the crystal database.
晶体的演化循环迭代是按粒子群优化算法或蒙特卡洛优化算法迭代的过程。晶体演化模块调整结构参数的方式是按上述优化算法运行的。对于初始晶体,由于没有历史信息,根据上述优化算法,会对晶体输入参数的每一个数值进行随机波动,这样就得到了一个新的晶体。随机波动的范围可以由用户在系统中进行预设。调整的目的是为了得到新的晶体结构,从而能发现性质能好的晶体结构。而利用粒子群优化算法和蒙特卡洛优化算法可以更好的在优化空间中进行搜索,从而能更快速的发现性质更好的晶体结构。The evolution cycle iteration of the crystal is an iterative process according to the particle swarm optimization algorithm or the Monte Carlo optimization algorithm. The way that the crystal evolution module adjusts the structural parameters is according to the above optimization algorithm. For the initial crystal, since there is no historical information, according to the above optimization algorithm, each value of the crystal input parameters will be randomly fluctuated, so that a new crystal is obtained. The range of random fluctuations can be preset by the user in the system. The purpose of the adjustment is to obtain a new crystal structure, so that a crystal structure with good properties can be found. The use of particle swarm optimization algorithm and Monte Carlo optimization algorithm can better search in the optimization space, so that better crystal structures can be found more quickly.
用户可以根据经验设置判断不再产生能量更低的晶体结构的迭代次数。流程如下:用户设置一个迭代的次数,比如1000;系统设置初始最低能量为0,并记录最低能量的迭代步数为0;每次演化迭代会比较当前晶体结构的能量和系统记录的最低能量,如果当前能量更低,则将系统最低能量记录为当前能量,最低能量迭代步数记录为0。如果当前能量高,则对最低能量迭代步数+1。4.如果最低能量迭代步数超过1000,则系统停止运行。The user can empirically set the number of iterations that will no longer produce lower-energy crystal structures. The process is as follows: the user sets the number of iterations, such as 1000; the system sets the initial minimum energy to 0, and records the number of iteration steps with the lowest energy to 0; each evolution iteration compares the energy of the current crystal structure with the lowest energy recorded by the system, If the current energy is lower, the lowest energy of the system is recorded as the current energy, and the number of iteration steps of the lowest energy is recorded as 0. If the current energy is high, add +1 to the minimum energy iteration steps. 4. If the minimum energy iteration steps exceed 1000, the system stops running.
另用户也可以根据经验设置判断不再产生密度更低的晶体结构的迭代次数。流程如下:1.用户设置一个迭代的次数,比如1000。2.系统设置初始最低密度为密度区间上限,并记录最低密度的迭代步数为0。3.每次演化迭代会比较当前晶体结构的密度和系统记录的最低密度,如果当前密度更低,则将系统最低密度记录为当前密度,最低密度迭代步数记录为0。如果当前密度高,则对最低密度迭代步数+1。4.如果最低密度迭代步数超过1000,则系统停止运行。In addition, the user can also set the number of iterations to judge that the crystal structure with lower density will no longer be produced according to experience. The process is as follows: 1. The user sets the number of iterations, such as 1000. 2. The system sets the initial minimum density as the upper limit of the density interval, and records the number of iteration steps for the minimum density as 0. 3. Each evolution iteration will compare the current crystal structure Density and the lowest density recorded by the system, if the current density is lower, record the lowest density of the system as the current density, and record the lowest density iteration steps as 0. If the current density is high, add +1 to the minimum density iteration steps. 4. If the minimum density iteration steps exceed 1000, the system stops running.
晶体结构是以CIF文件存储和调用的,系统获取CIF文件后会根据CIF文件得到输入参数。将这些输入参数按顺序合并成一个一维向量,就满足了粒子群优化算法和蒙特卡洛优化算法的输入。The crystal structure is stored and recalled by CIF file. After the system obtains the CIF file, it will obtain the input parameters according to the CIF file. Combining these input parameters into a one-dimensional vector in order satisfies the input of particle swarm optimization algorithm and Monte Carlo optimization algorithm.
接收到晶体结构和调整参数后,从晶体结构可以得到晶胞参数和每个原子 在晶胞中的相对坐标。用每个原子的坐标可以直接计算出分子内柔性角的数值,分子的质心位置和分子内距离最长的两个原子之间向量的朝向。这样就可以得到关于晶体的输入参数。After receiving the crystal structure and adjusting the parameters, the unit cell parameters and the relative coordinates of each atom in the unit cell can be obtained from the crystal structure. Using the coordinates of each atom, the value of the intramolecular flexibility angle, the position of the center of mass of the molecule and the orientation of the vector between the two atoms with the longest intramolecular distance can be directly calculated. In this way, the input parameters about the crystal can be obtained.
本实施例的晶体数据库80采用图+文件数据库的混合架构。核心的晶体数据以CIF文件格式直接存储在文件数据库中。而晶体之间相互演化关系用图数据库来存储。晶体数据库支持按晶体之间的演化关系来检索晶体结构信息,也支持按创建时间快速检索晶体结构信息。The crystal database 80 of this embodiment adopts a hybrid architecture of graph + file database. The core crystal data is stored directly in the file database in the CIF file format. The mutual evolution relationship between crystals is stored in a graph database. The crystal database supports the retrieval of crystal structure information according to the evolution relationship between crystals, and also supports fast retrieval of crystal structure information according to the creation time.
核心晶体数据包括每个晶体结构的CIF文件,以及每次的调整参数。演化关系是记录每个晶体从那个晶体演化而来的。演化信息记录一个树形结构,对每个晶体结构记录其父亲晶体的ID,如果是初始晶体则父亲晶体ID为空。检索方式是输入一个晶体结构ID,系统会根据ID检索晶体,并得到其父亲晶体ID,然后系统根据父亲晶体ID检索晶体,并得到这个晶体的父亲晶体ID,直到父亲晶体ID为空为止。然后系统返回这些晶体的数据集合。整个演化的树形结构就是演化的历史数据。The core crystal data includes a CIF file for each crystal structure, as well as the tuning parameters for each. An evolution relationship is a record of how each crystal evolved from that crystal. The evolution information records a tree structure, and records the ID of its parent crystal for each crystal structure. If it is an initial crystal, the parent crystal ID is empty. The retrieval method is to enter a crystal structure ID, the system will search the crystal according to the ID, and get its father crystal ID, and then the system will search for the crystal according to the father crystal ID, and get the father crystal ID of this crystal, until the father crystal ID is empty. The system then returns a data set for these crystals. The entire evolutionary tree structure is the historical data of evolution.
本发明采用模型层和控制层分离的架构设计。模型层的数据存储采用图+文件数据库的混合架构,核心的晶体数据以CIF文件格式直接存储在文件数据库中。而晶体之间相互关系用图数据库来存储。控制层用Python开发,包括一个web service,和一个任务分发的调度系统。The present invention adopts a framework design in which the model layer and the control layer are separated. The data storage of the model layer adopts the hybrid architecture of graph + file database, and the core crystal data is directly stored in the file database in CIF file format. The relationship between crystals is stored in a graph database. The control layer is developed in Python and includes a web service and a scheduling system for task distribution.
根据本发明的有机分子晶体构建系统100可以得到性质更好的晶体结构。According to the organic molecular crystal construction system 100 of the present invention, a crystal structure with better properties can be obtained.
用户根据自己的经验或其他工具确定一个或多个初始的晶体结构参数。如果用户没有任何经验和工具,也可以调用自动晶体生成模块得到一个或多个初始的晶体结构。The user determines one or more initial crystal structure parameters based on their own experience or other tools. If the user does not have any experience and tools, the automatic crystal generation module can also be invoked to obtain one or more initial crystal structures.
用户调用人工晶体生成模块的接口,传入上一步得到的一个或多个晶体结构参数。该模块会构建出晶体结构并转换成CIF格式的晶体文件,并自动传给晶体能量计算模块。The user invokes the interface of the artificial crystal generation module and inputs one or more crystal structure parameters obtained in the previous step. The module will construct the crystal structure and convert it into a crystal file in CIF format, and automatically transmit it to the crystal energy calculation module.
晶体能量计算模块会根据用户预设的能量精度调用相应的算法模块计算晶体的能量。用户可以通过接口预先更改预设能量精度。计算完成后,该模块会将晶体结构和计算的能量自动传给晶体演化模块。The crystal energy calculation module will call the corresponding algorithm module to calculate the energy of the crystal according to the energy precision preset by the user. The user can change the preset energy precision in advance through the interface. After the calculation is completed, the module will automatically transfer the crystal structure and calculated energy to the crystal evolution module.
如果是晶体演化模块在本次运行时首次得到晶体结构,该模块会随机的调整晶体结构参数,并将晶体结构和调整值存入晶体数据库中。如果在系统本次运行中,已经有晶体结构输入到晶体演化模块,则该模块会根据预设的粒子群或蒙特卡洛搜索算法调整晶体结构参数。用户可以通过接口预先设置需要使用的算法。该模块会将晶体结构和调整参数自动传入自动晶体生成模块。If the crystal evolution module obtains the crystal structure for the first time during this run, the module will randomly adjust the crystal structure parameters, and store the crystal structure and adjusted values in the crystal database. If the crystal structure has been input to the crystal evolution module in the current operation of the system, the module will adjust the crystal structure parameters according to the preset particle swarm or Monte Carlo search algorithm. The user can preset the algorithm to be used through the interface. This module will automatically pass the crystal structure and tuning parameters into the automatic crystal generation module.
自动晶体生成模块会自动产生新的晶体结构,然后传入晶体能量计算模块,然后传入晶体演化模块进行循环迭代。The automatic crystal generation module will automatically generate a new crystal structure, and then pass it into the crystal energy calculation module, and then into the crystal evolution module for loop iteration.
在循环的过程中,用户可以通过晶体演化实时监控模块调取最新演化的结构信息,以及演化的历史数据。用户可以根据经验对其中一个或多个晶体结构的参数进行手动调整,并将调整后的结构传入人工晶体生成模块。这样晶体演化的循环过程就会从人工调整的晶体继续演化。整个系统支持多个演化循环同时工作。支持循环的数目取决于硬件设备的计算并行能力。During the cycle, the user can retrieve the latest evolution structure information and evolution history data through the crystal evolution real-time monitoring module. The user can manually adjust the parameters of one or more of the crystal structures based on experience, and transfer the adjusted structure to the artificial crystal generation module. In this way, the cyclic process of crystal evolution continues from the artificially adjusted crystal. The whole system supports multiple evolution loops working simultaneously. The number of supported loops depends on the computational parallelism of the hardware device.
当系统持续超过预设的迭代次数不再产生新的能量更低的晶体结构时,系统会自动停止运行。When the system continues to exceed the preset number of iterations and no new crystal structures with lower energy are produced, the system will automatically stop running.
本发明克服了已有晶体计算模拟方法不能有效引入人工经验的缺陷。在支持晶体自动演化的基础上,提供了演化实时监控和人工修改的接口,这样可以让有丰富专业经验的用户实时观察晶体演化的过程和能量变化的过程,然后结合自身的经验调整机器的演化路线,这样可以将专家经验和机器演化的高效率有机的结合在一起。从而更好的获得性质更好的虚拟晶体结构。The invention overcomes the defect that the existing crystal calculation and simulation method cannot effectively introduce artificial experience. On the basis of supporting the automatic evolution of crystals, it provides an interface for real-time evolution monitoring and manual modification, which allows users with rich professional experience to observe the process of crystal evolution and energy change in real time, and then adjust the evolution of the machine based on their own experience. route, which organically combines expert experience with the high efficiency of machine evolution. Thereby, a virtual crystal structure with better properties can be better obtained.
以上述依据本申请的理想实施例为启示,通过上述的说明内容,相关工作人员完全可以在不偏离本项申请技术思想的范围内,进行多样的变更以及修改。本项申请的技术性范围并不局限于说明书上的内容,必须要根据权利要求范围来确定其技术性范围。Taking the above ideal embodiments according to the present application as inspiration, and through the above descriptions, relevant personnel can make various changes and modifications without departing from the technical idea of the present application. The technical scope of the present application is not limited to the content in the description, and the technical scope must be determined according to the scope of the claims.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流 程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

Claims (10)

  1. 一种有机分子晶体构建方法,其特征在于,包括:A method for constructing organic molecular crystals, comprising:
    晶体生成:接收晶体参数生成晶体,并按照设定格式生成晶体文件,形成核心晶体数据,将核心晶体数据存储在晶体数据库中;Crystal generation: receive crystal parameters to generate crystals, generate crystal files according to the set format, form core crystal data, and store the core crystal data in the crystal database;
    晶体能量计算:根据晶体结构及预设能量精度调用相应晶体能量计算算法计算晶体能量;Crystal energy calculation: call the corresponding crystal energy calculation algorithm to calculate the crystal energy according to the crystal structure and the preset energy accuracy;
    晶体演化:根据晶体结构和计算的晶体能量进行优化,根据优化算法规则输出晶体参数调整值,调整晶体参数并转入晶体生成步骤,生成新的晶体,初始晶体与一次或多次优化的系列晶体形成演化关系,将晶体之间的相互演化信息存储在晶体数据库中。Crystal evolution: optimize based on crystal structure and calculated crystal energy, output crystal parameter adjustment values according to optimization algorithm rules, adjust crystal parameters and transfer to crystal generation step, generate new crystals, initial crystals and one or more optimized series of crystals The evolution relationship is formed, and the mutual evolution information between crystals is stored in the crystal database.
  2. 根据权利要求1所述的有机分子晶体构建方法,其特征在于,还包括:晶体演化实时监控:实时调取生成的晶体结构、调取晶体数据库中的晶体结构和晶体演化过程中的晶体参数调整值;所述晶体参数包括:晶体每个组成部分的分子SMILES式、每个分子每个柔性角的角度、晶胞参数、每个分子在晶胞中的质心位置、每个分子在晶胞中的朝向;所述晶体生成包括:人工晶体生成:接收晶体参数输入指令或晶体参数调整输入指令,根据输入参数生成晶体。The method for constructing an organic molecular crystal according to claim 1, further comprising: real-time monitoring of crystal evolution: real-time retrieving the generated crystal structure, retrieving the crystal structure in the crystal database and adjusting the crystal parameters during the crystal evolution process The crystal parameters include: the molecular SMILES formula of each component of the crystal, the angle of each flexible angle of each molecule, the unit cell parameters, the position of the centroid of each molecule in the unit cell, the position of each molecule in the unit cell The crystal generation includes: artificial crystal generation: receiving crystal parameter input instructions or crystal parameter adjustment input instructions, and generating crystals according to the input parameters.
  3. 根据权利要求1所述的有机分子晶体构建方法,其特征在于,所述晶体生成还包括:自动晶体生成:根据指定的目标分子生成晶体参数或根据晶体的参数调整值调整参数生成新的晶体,对生成新晶体进行合理性判断,若通过合理性判断,则成功生成晶体,若未通过合理性判断则调整晶体参数重新生成晶体。The method for constructing organic molecular crystals according to claim 1, wherein the crystal generation further comprises: automatic crystal generation: generating crystal parameters according to a specified target molecule or adjusting parameters according to parameter adjustment values of the crystal to generate a new crystal, Make a rationality judgment on the generation of new crystals. If the rationality judgment is passed, the crystal will be successfully generated. If the rationality judgment is not passed, the crystal parameters will be adjusted to regenerate the crystal.
  4. 根据权利要求3所述的有机分子晶体构建方法,其特征在于,所述合理性判断包括:判断晶体中的两两原子之间的距离是否符合化学规则,判断晶体的密度是否在给定密度区间内。The method for constructing an organic molecular crystal according to claim 3, wherein the rationality judgment comprises: judging whether the distance between two atoms in the crystal conforms to chemical rules, and judging whether the density of the crystal is within a given density range Inside.
  5. 根据权利要求4所述的有机分子晶体构建方法,其特征在于,判断是否符合化学规则包括:判断同一分子内的任意两个原子之间的距离和键角是否等于该分子中该两个原子之间的初始输入或调整输入的距离和键角,判断不同分子的两个原子之间的距离是否不小于范德华半径;所述密度区间的设置包括:对每个非对称单元的分子,随机选一个原子为原点,根据分子中各原子间的键长和键角计算每个原子相对原点的坐标,用每个原子的质量和每个原子的 位置计算该分子在空间中的密度d,以[a*d,b*d]设置晶体的密度区间,其中a,b预先设置。The method for constructing organic molecular crystals according to claim 4, wherein the judging whether the chemical rules are met comprises: judging whether the distance and bond angle between any two atoms in the same molecule are equal to the difference between the two atoms in the molecule Determine whether the distance between two atoms of different molecules is not less than the van der Waals radius; the setting of the density interval includes: for each molecule of asymmetric unit, randomly select one The atom is the origin, the coordinates of each atom relative to the origin are calculated according to the bond length and bond angle between the atoms in the molecule, and the density d of the molecule in space is calculated by the mass of each atom and the position of each atom, with [a *d,b*d] Set the density interval of the crystal, where a, b are preset.
  6. 根据权利要求4所述的有机分子晶体构建方法,其特征在于,若不符合化学规则,则调整分子的质心距离,按预设系数扩大质心之间的距离,若调整后仍不符合规则,则继续扩大质心之间的距离,直至符合;若判断晶体的密度超出密度区间的下限时,按预设系数扩大质心之间的距离;若晶体的密度超出密度区间的上限时,则按设定系数缩小晶胞边长,迭代直至晶体的密度达到密度区间范围内。The method for constructing organic molecular crystals according to claim 4, wherein if the chemical rules are not met, the distance between the centroids of the molecules is adjusted, and the distance between the centroids is expanded by a preset coefficient. Continue to expand the distance between the centroids until they meet; if it is judged that the density of the crystal exceeds the lower limit of the density interval, expand the distance between the centroids according to the preset coefficient; if the density of the crystal exceeds the upper limit of the density interval, according to the set coefficient Reduce the side length of the unit cell, and iterate until the density of the crystal reaches the density range.
  7. 根据权利要求1至6任意一项所述的有机分子晶体构建方法,其特征在于,获取晶胞参数、空间群、每个非对称单元分子中的原子在晶胞中的相对坐标值,在指定空间群下工作,根据输入的晶体参数或调整输入的晶体参数计算每个原子在晶胞中的相对坐标值:对每个非对称单元的分子,随机选一个原子为原点,根据分子中各原子间的键长和键角计算每个原子相对于原点的坐标,根据输入的晶体参数或调整输入的晶体参数确定可转动柔性角,根据每一个原子的坐标位置计算分子的质心位置,以原子质量与空间位置进行加权平均确定质心的位置,计算两两原子之间的距离,取距离最长的两原子至今的向量作为分子的朝向,利用三维空间变换将分子的质心和朝向变换到输入的晶体参数或调整输入的晶体参数中给定的质心坐标和朝向,得到每个原子变换后的坐标值,作为该分子中的原子在晶胞中的相对坐标值,生成构建晶体;或根据晶体结构获取晶胞参数和每个原子在晶胞中的相对坐标,根据每个原子的坐标计算分子内柔性角、分子的质心文字和分子内距离最长的两个原子之间的向量朝向,根据晶体结构和调整输入参数,生成晶体。The method for constructing an organic molecule crystal according to any one of claims 1 to 6, wherein the unit cell parameters, the space group, and the relative coordinate values of the atoms in each asymmetric unit molecule in the unit cell are obtained, and the Work under the space group, calculate the relative coordinate value of each atom in the unit cell according to the input crystal parameters or adjust the input crystal parameters: for each molecule of asymmetric unit, randomly select an atom as the origin, Calculate the coordinates of each atom relative to the origin based on the bond length and bond angle between the Perform a weighted average with the spatial position to determine the position of the centroid, calculate the distance between two atoms, take the vector of the two atoms with the longest distance so far as the orientation of the molecule, and use the three-dimensional space transformation to transform the centroid and orientation of the molecule to the input crystal Parameters or adjust the coordinates and orientation of the center of mass given in the input crystal parameters, and obtain the transformed coordinate value of each atom as the relative coordinate value of the atoms in the molecule in the unit cell to generate a constructed crystal; or obtain it according to the crystal structure Unit cell parameters and the relative coordinates of each atom in the unit cell, according to the coordinates of each atom to calculate the intramolecular flexibility angle, the centroid text of the molecule and the vector orientation between the two atoms with the longest intramolecular distance, according to the crystal structure And adjust the input parameters to generate crystals.
  8. 根据权利要求1至6任意一项所述的有机分子晶体构建方法,其特征在于,所述晶体数据库包括:文件数据库和图数据库,所述晶体数据包括:晶体文件和每次的调整参数,所述晶体文件包括:CIF文件,所述晶体文件存储在文件数据库中,所述演化信息记录为树形结构、对每个晶体结构记录其父亲晶体的ID,初始晶体的父亲晶体ID为空,所述演化关系存储在图数据库中,所述晶体演化步骤包括:以晶体能量为优化目标或晶体结构密度为优化目标采用粒子群优化算法或蒙特卡洛优化算法进行迭代优化晶体结构,获取晶体结构和计算的晶体能量,根据粒子群优化算法或蒙特卡洛优化算法输出晶体参数调整值,转入晶体生成步骤。The method for constructing an organic molecular crystal according to any one of claims 1 to 6, wherein the crystal database includes: a file database and a graph database, and the crystal data includes: a crystal file and each adjustment parameter, and the The crystal file includes: a CIF file, the crystal file is stored in a file database, the evolution information is recorded as a tree structure, the ID of its parent crystal is recorded for each crystal structure, and the parent crystal ID of the initial crystal is empty, so The evolution relationship is stored in the graph database, and the crystal evolution step includes: taking the crystal energy as the optimization target or the crystal structure density as the optimization target, using the particle swarm optimization algorithm or the Monte Carlo optimization algorithm to iteratively optimize the crystal structure, and obtain the crystal structure and Calculated crystal energy, according to particle swarm optimization algorithm or Monte Carlo optimization algorithm, output crystal parameter adjustment value, and transfer to the crystal generation step.
  9. 根据权利要求8所述的有机分子晶体构建方法,其特征在于,所述晶体演化步骤中的迭代优化,初始最低能量为0,记录最低能量的跌倒步数为0,对初始晶体根据优化算法对获取的晶体每一参数进行随机波动,得到一个新的晶体,根据预设的迭代次数进行迭代,若以晶体能量为优化目标则每个演化迭代比较当前晶体结构的能量与记录的最低能量,若当前能量更低则将系统最低能量记录为当前能量,最低能量迭代步数记录为0,若当前能量高,则对最低能量迭代步数+1,若迭代步数超过预设的迭代次数则停止;若以晶体密度为优化目标则设置初始最低密度为密度区间上限,并记录最低密度的迭代步数为0,每次演化迭代会比较当前晶体结构的密度和记录的最低密度,如果当前密度更低,则将系统最低密度记录为当前密度,最低密度迭代步数记录为0,如果当前密度高,则对最低密度迭代步数+1,若迭代步数超过预设的迭代次数则停止;所述晶体能量计算包括:根据晶体结构与其对应的用力场计算晶体能量的力场精度晶体能量计算方法、或根据晶体结构与其对应的用半经验方法计算晶体能量的半经验精度晶体能量计算方法、或根据晶体结构与其对应的用高精度量化方法计算的晶体能量的高精度量化晶体能量计算方法。The method for constructing an organic molecular crystal according to claim 8, wherein, in the iterative optimization in the crystal evolution step, the initial minimum energy is 0, the number of falling steps for recording the minimum energy is 0, and the initial crystal is adjusted according to an optimization algorithm. Each parameter of the obtained crystal fluctuates randomly to obtain a new crystal, and iterates according to the preset number of iterations. If the crystal energy is the optimization goal, each evolution iteration compares the energy of the current crystal structure with the lowest recorded energy. If the current energy is lower, the lowest energy of the system is recorded as the current energy, and the number of iteration steps of the lowest energy is recorded as 0. If the current energy is high, the number of iteration steps of the lowest energy is +1, and if the number of iteration steps exceeds the preset number of iterations, it will stop. ;If the crystal density is the optimization goal, set the initial minimum density as the upper limit of the density interval, and record the minimum density iteration steps as 0. Each evolution iteration will compare the density of the current crystal structure with the recorded minimum density. If the current density is low, the lowest density of the system is recorded as the current density, and the number of iteration steps of the lowest density is recorded as 0. If the current density is high, the number of iteration steps of the lowest density is +1, and if the number of iteration steps exceeds the preset number of iterations, it will stop; The crystal energy calculation includes: a force field-accurate crystal energy calculation method based on the crystal structure and its corresponding force field to calculate the crystal energy, or a semi-empirical precision crystal energy calculation method based on the crystal structure and its corresponding semi-empirical method to calculate the crystal energy, or A high-precision quantitative crystal energy calculation method based on the crystal structure and its corresponding crystal energy calculated by a high-precision quantitative method.
  10. 一种有机分子晶体构建系统,其特征在于,包括:A system for constructing organic molecular crystals, comprising:
    晶体生成模块:接收晶体参数生成晶体,并按照设定格式生成晶体文件,形成核心晶体数据,将核心晶体数据存储在晶体数据库中;Crystal generation module: receive crystal parameters to generate crystals, generate crystal files according to the set format, form core crystal data, and store the core crystal data in the crystal database;
    晶体能量计算模块:根据晶体结构及预设能量精度调用相应晶体能量计算算法计算晶体能量;Crystal energy calculation module: call the corresponding crystal energy calculation algorithm to calculate the crystal energy according to the crystal structure and the preset energy precision;
    晶体演化模块:根据晶体结构和计算的晶体能量进行优化,根据优化算法规则输出晶体参数调整值,调整晶体参数并转入晶体生成步骤,生成新的晶体,初始晶体与一次或多次优化的系列晶体形成演化关系,将晶体之间的相互演化信息存储在晶体数据库中。Crystal evolution module: optimize according to crystal structure and calculated crystal energy, output crystal parameter adjustment values according to optimization algorithm rules, adjust crystal parameters and transfer to crystal generation step, generate new crystal, initial crystal and a series of one or more optimizations The crystals form an evolution relationship, and the mutual evolution information between crystals is stored in the crystal database.
PCT/CN2020/109713 2020-08-18 2020-08-18 Organic molecular crystal construction method and system WO2022036538A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/109713 WO2022036538A1 (en) 2020-08-18 2020-08-18 Organic molecular crystal construction method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/109713 WO2022036538A1 (en) 2020-08-18 2020-08-18 Organic molecular crystal construction method and system

Publications (1)

Publication Number Publication Date
WO2022036538A1 true WO2022036538A1 (en) 2022-02-24

Family

ID=80323321

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/109713 WO2022036538A1 (en) 2020-08-18 2020-08-18 Organic molecular crystal construction method and system

Country Status (1)

Country Link
WO (1) WO2022036538A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114678087A (en) * 2022-03-09 2022-06-28 南京邮电大学 Automatic acquisition and processing method and system for high-throughput material calculation data
CN116200813A (en) * 2023-03-03 2023-06-02 扬州合晶科技有限公司 Crystal growth equipment control method and system
CN116343931A (en) * 2023-05-22 2023-06-27 北京理工大学 Method for calculating bonding energy between crystal faces of NTO (non-thermal-mechanical) crystal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060029759A1 (en) * 2004-08-09 2006-02-09 Warwick Mills, Inc. Bi-directional substrate design for aircraft escape slide airbeams
CN104200025A (en) * 2014-09-01 2014-12-10 中国石油大学(华东) Method for quantitatively analyzing zeolite imidazate framework material Lewis acidity
CN108088863A (en) * 2017-12-15 2018-05-29 中国矿业大学 A kind of construction method of the lossless lignite organic macromolecule structural model of structure
CN110929426A (en) * 2019-12-20 2020-03-27 自然资源部天津海水淡化与综合利用研究所 Membrane pollution simulation analysis method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060029759A1 (en) * 2004-08-09 2006-02-09 Warwick Mills, Inc. Bi-directional substrate design for aircraft escape slide airbeams
CN104200025A (en) * 2014-09-01 2014-12-10 中国石油大学(华东) Method for quantitatively analyzing zeolite imidazate framework material Lewis acidity
CN108088863A (en) * 2017-12-15 2018-05-29 中国矿业大学 A kind of construction method of the lossless lignite organic macromolecule structural model of structure
CN110929426A (en) * 2019-12-20 2020-03-27 自然资源部天津海水淡化与综合利用研究所 Membrane pollution simulation analysis method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114678087A (en) * 2022-03-09 2022-06-28 南京邮电大学 Automatic acquisition and processing method and system for high-throughput material calculation data
CN114678087B (en) * 2022-03-09 2022-11-25 南京邮电大学 Automatic acquisition and processing method and system for high-throughput material calculation data
CN116200813A (en) * 2023-03-03 2023-06-02 扬州合晶科技有限公司 Crystal growth equipment control method and system
CN116200813B (en) * 2023-03-03 2023-10-31 扬州合晶科技有限公司 Crystal growth equipment control method and system
CN116343931A (en) * 2023-05-22 2023-06-27 北京理工大学 Method for calculating bonding energy between crystal faces of NTO (non-thermal-mechanical) crystal
CN116343931B (en) * 2023-05-22 2023-08-04 北京理工大学 Method for calculating bonding energy between crystal faces of NTO (non-thermal-mechanical) crystal

Similar Documents

Publication Publication Date Title
WO2022036538A1 (en) Organic molecular crystal construction method and system
You et al. Large batch training of convolutional networks
CN104346629B (en) A kind of model parameter training method, apparatus and system
CN112086132A (en) Organic molecular crystal construction method and system
Guo et al. The enhanced genetic algorithms for the optimization design
WO2018227800A1 (en) Neural network training method and device
US20140257767A1 (en) PSO-Guided Trust-Tech Methods for Global Unconstrained Optimization
WO2023134063A1 (en) Comparative learning-based method, apparatus, and device for predicting properties of drug molecule
Kuramashi et al. Tensor renormalization group study of two-dimensional U (1) lattice gauge theory with a θ term
US20100004769A1 (en) Method of designing a structure
WO2019017983A1 (en) Method and system for automated model building, validation and selection of best performing models
WO2023124414A1 (en) Nuclear reactor design scheme optimization method and apparatus, computer device, and medium
Beykal et al. A data‐driven optimization algorithm for differential algebraic equations with numerical infeasibilities
CN108182469A (en) A kind of neural network model training method, system, device and storage medium
Sun et al. An artificial bee colony algorithm with random location updating
Xue et al. Advanced fireworks algorithm and its application research in PID parameters tuning
CN116644804A (en) Distributed training system, neural network model training method, device and medium
JP2021149988A (en) Information processor and information processing method
CN109840551B (en) Method for optimizing random forest parameters for machine learning model training
CN105956605B (en) Three-dimensional structure Similarity-Based Clustering Method based on parallel k-means cluster
Nie et al. Multi-graph convolutional network for unsupervised 3D shape retrieval
Ding et al. 3D CAD Model Representation and Retrieval based on Hierarchical Graph.
Toupas et al. Harflow3d: A latency-oriented 3d-cnn accelerator toolflow for har on fpga devices
CN112600208B (en) Multi-energy flow power flow calculation method and system for regional distributed energy system
US20220138554A1 (en) Systems and methods utilizing machine learning techniques for training neural networks to generate distributions

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20949750

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 28/06/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20949750

Country of ref document: EP

Kind code of ref document: A1