Cross-cloud and cross-region large-scale virtual screening method, system and storage medium
By classifying small molecule libraries in a unified database and using cloud computing servers of multiple cloud platforms for screening, the problem of cross-cloud and cross-regional screening in the existing technology is solved, efficient virtual screening and resource management are achieved, and costs are reduced.
Patent Information
- Application Number
- CN202210106154.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-28
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-01-28
AI Technical Summary
Existing technology cannot achieve large-scale virtual screening across clouds and regions, resulting in screening in a single region on a single cloud. An expensive parallel file system needs to be built to support efficient storage resources, and the external network transmission speed and latency cannot meet the demand.
Classify large-scale small molecule libraries in a unified database, each category does not exceed 10,000, search uncalculated categories from the database through cloud computing servers in multiple regions and cloud platforms, download and filter, and write the results to local files , avoid repeated calculations and a large number of write-back operations, and use the management server to release resources and obtain optimal records.
It realizes large-scale virtual screening across clouds and regions, avoids expensive parallel file systems and high-cost resource requirements, improves transmission efficiency and computing efficiency, and solves the problem of single-region screening.
Smart Images

Figure CN114496113B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of drug research and development industry, and in particular to a large-scale virtual screening method, system and storage medium across clouds and regions. Background Art
[0002] At present, in the drug development industry, large-scale virtual screening (the screening of small molecule libraries is usually greater than 10 million, reaching the 100 million or 1 billion level) is usually carried out by preparing the small molecule library in a single region of a single cloud (Alibaba Cloud / Tencent Cloud / Amazon Cloud), and then installing the docking software (MOE / Autodock, etc.) on all servers for virtual screening. These servers access the single molecule library through the intranet for docking screening. There are two main problems with this screening mechanism. One problem is that when screening on a large scale, there is no large-scale server resources (hundreds of thousands of cores) in a single region of a single cloud for rapid docking screening. Another problem is that thousands of computing servers simultaneously read and write storage resources, which places very high requirements on storage media, and usually requires the construction of very expensive professional parallel file systems to support it. If resources in different regions or even different clouds are to be called, the server needs to frequently access the small molecule library through the external network. The current external network cannot meet the transmission speed (50-200Gb) and latency requirements, and there is no solution to avoid the problem of building expensive parallel file systems.
[0003] In summary, the current large-scale virtual screening solutions on the cloud cannot perform screening across clouds and regions, and can only be performed in a single region on a single cloud. This is difficult to implement and not easy to promote. Summary of the invention
[0004] The main purpose of the present invention is to provide a large-scale virtual screening method, system and storage medium across clouds and regions, so as to solve the technical problem that the current large-scale virtual screening solutions on the cloud cannot perform screening across clouds and regions, and can only perform screening in a single region of a single cloud, which is difficult to implement and not easy to promote.
[0005] To achieve the above object, the present invention proposes a large-scale virtual screening method across clouds and regions, the method comprising the following steps:
[0006] In the unified database, the preset large-scale small molecule library is classified according to the preset rules, and all the classified small molecule libraries are marked with the label of unfinished calculation in the unified database;
[0007] Starting a plurality of cloud computing servers, where the plurality of cloud computing servers are from a plurality of regions and a plurality of cloud platforms;
[0008] Searching for uncalculated small molecule library categories from the unified database through the plurality of cloud computing servers, marking the categories as completed calculation in the unified database, downloading the small molecule library of the category and calling the docking program to perform docking scoring, and writing the scoring records into a local file. After the cloud computing server completes the docking of the small molecule library of the category, repeating this step until no categories marked as uncompleted calculation are found in the unified database;
[0009] After all the categories have been calculated, a preset number of records with top docking scoring results are written into a unified database through the cloud computing server, and a local script file is called to shut down the cloud computing server to release resources.
[0010] Wherein, the method further comprises:
[0011] After the management server inquires that all cloud computing server nodes have completed the calculation, it reads the first several records with the highest docking scores from the unified database to proceed to the next step.
[0012] The step of starting a plurality of cloud computing servers includes:
[0013] The classification number of the small molecule library in the unified database is read by the management server, and API instructions are sent to the corresponding number of cloud platforms according to the classification number, and several cloud computing servers are started respectively through different cloud platforms.
[0014] The preset number of records is 1000 records.
[0015] Wherein, the step of classifying the preset large-scale small molecule library according to preset rules in the unified database includes:
[0016] In the unified database, the preset large-scale small molecule libraries are classified according to preset rules so that each classification does not exceed 10,000 small molecule libraries.
[0017] The present invention also proposes a large-scale virtual screening system across clouds and regions, the system comprising: a management server, a unified database, and a plurality of cloud computing servers, the plurality of cloud computing servers are from multiple regions and multiple cloud platforms, wherein:
[0018] The unified database is used to store the preset large-scale small molecule library to be screened, and to store the small molecule library after docking screening and scoring;
[0019] The cloud computing server is used to search for uncalculated small molecule library categories from the unified database, mark the category as completed in the unified database, download the small molecule library of the category and call the docking program to perform docking scoring, and write the scoring record into a local file. After the cloud computing server completes the docking of the small molecule library of this category, repeat this step until no category marked as uncompleted in the unified database is found; after all categories are calculated, write a preset number of records with top docking scoring results into the unified database through the cloud computing server, call the local script file to shut down the cloud computing server, and release resources;
[0020] The management server is used to manage the unified database. In the unified database, the preset large-scale small molecule libraries are classified according to preset rules, and all classified small molecule libraries are marked with unfinished calculation labels in the unified database. Different cloud platforms are called to start the corresponding cloud computing servers to dock and score the small molecule libraries of different classifications. After querying that all cloud computing server nodes have completed the calculation, the first several records with the highest docking scores are read from the unified database to carry out the next step.
[0021] The present invention also proposes a large-scale virtual screening system across clouds and regions, the system comprising a memory and a processor, the memory storing a computer program, and the computer program, when called by the processor, executes the steps of the large-scale virtual screening method across clouds and regions as described above.
[0022] The present invention also proposes a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the cross-cloud and cross-regional large-scale virtual screening method as described above are implemented.
[0023] The large-scale virtual screening method, system and storage medium proposed by the present invention, which is cross-cloud and cross-regional, classifies the large-scale small molecule library according to certain rules in advance in a unified database, with no more than 10,000 small molecules in each category. All cloud computing servers (multiple clouds, multiple regions) search for uncalculated categories from the unified database before starting the calculation, and download the category and mark it as a calculation state at the same time, so as to avoid being downloaded and calculated by other servers repeatedly. In the process of screening and docking, the cloud computing server does not need to write the results of the screening and docking back to the database, but writes them to the local computing node. After a category is calculated, the computing server node repeats the above operation until all categories in the database have been marked as a calculation state. After completing the screening of the small molecules of the category he downloaded, each computing server writes the highest-scoring (obtained in advance by querying the database) small molecule numbers back to the unified database, avoiding a large number of write-back operations. The solution of the present invention solves the technical problem that the current large-scale virtual screening solution on the cloud cannot be screened across clouds and regions, and can only be screened in a single region of a single cloud, which is difficult to implement and not easy to promote. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 Schematic diagram of the process of the large-scale virtual screening method across clouds and regions of the present invention;
[0025] Figure 2 The figure is a schematic diagram of the overall detailed process of the scheme of the present invention. DETAILED DESCRIPTION
[0026] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0027] Reference Figure 1 , Figure 1 Schematic diagram of the process of the large-scale virtual screening method across clouds and regions of the present invention.
[0028] The present invention proposes a large-scale virtual screening method across clouds and regions, the method comprising the following steps:
[0029] S1, in a unified database, classify the preset large-scale small molecule library according to the preset rules, and mark all the classified small molecule libraries with the label of unfinished calculation in the unified database;
[0030] As an implementation method, in a unified database, preset large-scale small molecule libraries are classified according to preset rules so that each classification does not exceed 10,000 small molecule libraries.
[0031] S2, starting a number of cloud computing servers, where the number of cloud computing servers are from multiple regions and multiple cloud platforms;
[0032] As an implementation method, the classification number of the small molecule library in the unified database can be read by the management server, and API instructions can be sent to a corresponding number of cloud platforms according to the classification number, and several cloud computing servers can be started through different cloud platforms.
[0033] S3, searching the unified database for uncalculated small molecule library categories through the plurality of cloud computing servers, marking the categories as completed calculation in the unified database, downloading the small molecule library of the category and calling the docking program for docking scoring, and writing the scoring records into a local file. After the cloud computing server completes the docking of the small molecule library of the category, repeating this step until no categories marked as uncompleted calculation are found in the unified database;
[0034] S4, after all the categories have been calculated, a preset number of records with the highest docking score rankings are written into a unified database through the cloud computing server, and a local script file is called to shut down the cloud computing server to release resources.
[0035] As an implementation method, the preset number of records may be 1,000 records.
[0036] Furthermore, the method further comprises:
[0037] After the management server inquires that all cloud computing server nodes have completed the calculation, it reads the first several records with the highest docking scores from the unified database to proceed to the next step.
[0038] Compared with the prior art, the scheme of the present invention is to classify the large-scale small molecule library according to certain rules in advance in a unified database, and each category does not exceed 10,000 small molecules. All computing servers (multiple clouds, multiple regions) search for uncalculated categories from a unified database before starting the calculation, and download the category and mark it as a calculation state at the same time to avoid being downloaded and calculated by other servers repeatedly. In the process of screening and docking, the computing server does not need to write the results of the screening and docking back to the database, but writes it to the local computing node. When a category is calculated, the computing server node repeats the above operation until all categories in the database have been marked as a calculation state. After completing the screening of small molecules in the category he downloaded, each computing server writes the highest-scoring (obtained in advance by querying the database) small molecule numbers back to the unified database, avoiding a large number of write-back operations. It solves the current large-scale virtual screening scheme on the cloud that cannot be screened across clouds and regions, and can only be screened in a single region of a single cloud, which is difficult to implement and not easy to promote.
[0039] The following combination Figure 2 The process of realizing large-scale virtual screening across clouds and regions in the present invention is described in detail, and the process includes:
[0040] 1. First, in a unified database, classify the large-scale small molecule library according to specific rules to ensure that each category does not exceed 10,000 small molecules. All classified small molecule libraries are marked as unfinished calculations in the database.
[0041] 2. The management server reads the number of categories in the unified database and decides how many cloud computing server nodes to start based on the number of categories.
[0042] For example, the size of the molecular library is 300 million, and there are 10,000 small molecules in each category, that is, a total of 30,000 categories. Assuming that each cloud computing server needs to process 10 categories, a total of 3,000 servers need to be started. The management server sends API instructions to three clouds (XX / YY / ZZ), and each cloud starts 1,000 servers. Specifically, the management server calls XX cloud to start 1,000 cloud computing servers, the management server calls YY cloud to start 1,000 cloud computing servers, and the management server calls ZZ cloud to start 1,000 cloud computing servers.
[0043] 3. After the cloud computing server is started, the unified database classification is queried. If the classification label is found to be unfinished calculation, the classification is marked as completed calculation in the database. At the same time, the small molecules of the classification are downloaded and the docking program (MOE / Autodock, etc.) is called for docking scoring, and the scoring records are written to local files.
[0044] 4. After each cloud computing server completes the docking of the small molecule library of this category, it repeats step 3 until no category marked as unfinished calculation is found in the database. After all categories have completed the calculation, the cloud computing server writes the top 1,000 records of the docking results into the unified database, and then calls the local script file to shut down the server and release resources.
[0045] 5. After the management server finds out that all computing server nodes have completed the calculation, it goes to the unified database to read the first several records with the highest docking scores and proceeds to the next step (checking activity, structure, etc.).
[0046] Specifically, the management server reads the first 1000 records sent from the XX / YY / ZZ cloud from the unified database, re-sorts them, and selects the top several records for the next step (checking activity, structure, etc.).
[0047] In addition, the present invention also proposes a large-scale virtual screening system across clouds and regions, the system comprising: a management server, a unified database, and a plurality of cloud computing servers, the plurality of cloud computing servers are from multiple regions and multiple cloud platforms, wherein:
[0048] The unified database is used to store the preset large-scale small molecule library to be screened, and to store the small molecule library after docking screening and scoring;
[0049] The cloud computing server is used to search for uncalculated small molecule library categories from the unified database, mark the category as completed in the unified database, download the small molecule library of the category and call the docking program to perform docking scoring, and write the scoring record into a local file. After the cloud computing server completes the docking of the small molecule library of this category, repeat this step until no category marked as uncompleted in the unified database is found; after all categories are calculated, write a preset number of records with top docking scoring results into the unified database through the cloud computing server, call the local script file to shut down the cloud computing server, and release resources;
[0050] The management server is used to manage the unified database. In the unified database, the preset large-scale small molecule libraries are classified according to preset rules, and all classified small molecule libraries are marked with unfinished calculation labels in the unified database. Different cloud platforms are called to start the corresponding cloud computing servers to dock and score the small molecule libraries of different classifications. After querying that all cloud computing server nodes have completed the calculation, the first several records with the highest docking scores are read from the unified database to carry out the next step.
[0051] The principle of implementing large-scale virtual screening across clouds and regions in this embodiment can be found in the above embodiments, which will not be repeated here.
[0052] In addition, the present invention also proposes a large-scale virtual screening system across clouds and regions, the system comprising a memory and a processor, the memory storing a computer program, and the computer program, when called by the processor, executes the steps of the large-scale virtual screening method across clouds and regions as described in the above embodiment.
[0053] The principle of implementing large-scale virtual screening across clouds and regions in this embodiment can be found in the above embodiments, which will not be repeated here.
[0054] In addition, the present invention also proposes a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the cross-cloud and cross-regional large-scale virtual screening method described in the above embodiment are implemented.
[0055] The principle of implementing large-scale virtual screening across clouds and regions in this embodiment can be found in the above embodiments, which will not be repeated here.
[0056] The large-scale virtual screening method, system and storage medium proposed by the present invention, which is cross-cloud and cross-regional, classifies the large-scale small molecule library according to certain rules in advance in a unified database, with no more than 10,000 small molecules in each category. All cloud computing servers (multiple clouds, multiple regions) search for uncalculated categories from the unified database before starting the calculation, and download the category and mark it as a calculation state at the same time, so as to avoid being downloaded and calculated by other servers repeatedly. In the process of screening and docking, the cloud computing server does not need to write the results of the screening and docking back to the database, but writes them to the local computing node. After a category is calculated, the computing server node repeats the above operation until all categories in the database have been marked as a calculation state. After completing the screening of the small molecules of the category he downloaded, each computing server writes the highest-scoring (obtained in advance by querying the database) small molecule numbers back to the unified database, avoiding a large number of write-back operations. The solution of the present invention solves the technical problem that the current large-scale virtual screening solution on the cloud cannot be screened across clouds and regions, and can only be screened in a single region of a single cloud, which is difficult to implement and not easy to promote.
[0057] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A large-scale virtual screening method across clouds and regions, It is characterized in that The method comprises the following steps: In the unified database, the preset large-scale small molecule library is classified according to the preset rules, and all the classified small molecule libraries are marked with the label of unfinished calculation in the unified database; Starting a plurality of cloud computing servers, where the plurality of cloud computing servers are from a plurality of regions and a plurality of cloud platforms; Searching for uncalculated small molecule library categories from the unified database through the plurality of cloud computing servers, marking the categories as completed calculation in the unified database, downloading the small molecule library of the category and calling the docking program to perform docking scoring, and writing the scoring records into a local file. After the cloud computing server completes the docking of the small molecule library of the category, repeating this step until no categories marked as uncompleted calculation are found in the unified database; After all the categories have been calculated, a preset number of records with top docking scoring results are written into a unified database through the cloud computing server, and a local script file is called to shut down the cloud computing server to release resources.
2. The method according to claim 1, It is characterized in that The method further comprises: After the management server inquires that all cloud computing server nodes have completed the calculation, it reads the first several records with the highest docking scores from the unified database to proceed to the next step.
3. The method according to claim 1, It is characterized in that The step of starting a plurality of cloud computing servers comprises: The classification number of the small molecule library in the unified database is read by the management server, and API instructions are sent to the corresponding number of cloud platforms according to the classification number, and several cloud computing servers are started respectively through different cloud platforms.
4. The method according to claim 1, It is characterized in that The preset number of records is 1000 records.
5. The method according to claim 1, It is characterized in that The step of classifying the preset large-scale small molecule library according to preset rules in the unified database includes: In the unified database, the preset large-scale small molecule libraries are classified according to preset rules so that each classification does not exceed 10,000 small molecule libraries.
6. A large-scale virtual screening system across clouds and regions, It is characterized in that The system includes: a management server, a unified database, and several cloud computing servers, wherein the several cloud computing servers are from multiple regions and multiple cloud platforms, wherein: The unified database is used to store the preset large-scale small molecule library to be screened, and to store the small molecule library after docking screening and scoring; The cloud computing server is used to search for uncalculated small molecule library categories from the unified database, mark the category as completed in the unified database, download the small molecule library of the category and call the docking program to perform docking scoring, and write the scoring record into a local file. After the cloud computing server completes the docking of the small molecule library of this category, repeat this step until no category marked as uncompleted in the unified database is found; after all categories are calculated, write a preset number of records with top docking scoring results into the unified database through the cloud computing server, call the local script file to shut down the cloud computing server, and release resources; The management server is used to manage the unified database. In the unified database, the preset large-scale small molecule libraries are classified according to preset rules, and all classified small molecule libraries are marked with unfinished calculation labels in the unified database. Different cloud platforms are called to start the corresponding cloud computing servers to dock and score the small molecule libraries of different classifications. After querying that all cloud computing server nodes have completed the calculation, the first several records with the highest docking scores are read from the unified database to carry out the next step.
7. A large-scale virtual screening system across clouds and regions, It is characterized in that The system includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is called by the processor, the steps of the large-scale cross-cloud and cross-region virtual screening method according to any one of claims 1 to 5 are executed.
8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the cross-cloud and cross-region large-scale virtual screening method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Wind power plant SCADA system based on big data cloud computing platform and running method of wind power plant SCADA system
CN107330056A
Drug virtual screening method
CN108256284A
