Here are the slides to our presentation. And here is the link to our YouTube presentation.
Team Name: TaoFuFa
- Quek Yao Jing - https://github.com/Skyquek
- Liew Kok Foo - https://github.com/Janson-L
- Tang Li Ho - https://github.com/4036tlh
- Kwong Tung Nan - https://github.com/kwongtn
This is a submission to the Forkwell Coronavirus Hack Competition under the Drug Discovery category.
The goal of this category is to create a novel small molecule or find existing drugs on the market that are able to stop or interfere with the coronavirus lifecyle. Therefore, one of the approaches to this is to find out the drugs/ligands that are able to bind with the coronavirus main protease 6LU7.
Several researches and experiments have been conducted and recorded in the DrugBank paper. We then use the data to determine our evaluation target.
Below are samples of existing drugs that have been experimented with the coronavirus binding:
Drugs/Ligands | Binding Score |
---|---|
Remdesivir | -7.4 |
Umifenovir | -6.1 |
Favipiravir | -5.6 |
Lopinavir | -6.6 |
Ritonavir | -6.2 |
Galidesivir | -5.6 |
Favipiravir | -5.6 |
Triazavirin | -5.9 |
Chloroquine | -5.6 |
Darunavir | -7.2 |
TMC-310911 | -8.9 |
Table 1.1 shows the existing drugs with their respective binding score.
Our team would like to thank all parties, including but not limited to the forkwell coronavirus hack organizing team and mentors for giving us the chances to work on this project while contributing to the COVID-19 outbreak.
No project is done without the support of various parties. As such, we would like to specially shoutout to the following amazing individuals:
-
Matt O'Connor
This project is continuous progress from the repository Deep_Learning_Coronavirus_Cure by Matt O Connor who also happened to be our mentor in this hackathon. We would like to thank him for his extensive mentoring and open source coding. -
jhjensen2
The Graph-Based Genetic Algorithm [GB-GA] is one of our main components in this project. We would like to thank him and his team for the repository which enabled us to reduce our time taken to complete the project.
The details of his work can be found in his paper - "A graph-based genetic algorithm and generative model/Monte Carlo tree search for the exploration of chemical space". -
Dr. Low Tek Yew
We would like to thank Dr. Low Tek Yew for the extensive introduction to the hackathon and the COVID-19 virus characteristics. His explanation of protease and ligand binding is pivotal to our project.
The requirements are identical to the original repository mattroconnor/Deep_Learning_Coronavirus_Cure
- Microsoft PowerShell 5.0 or above
- AutoDock Vina Binaries, also included in the "binding" folder.
* You may want to finish reading the repo before starting.
- Run 'Initial Network.ipynb' to get generation 0 SMILES.
- Run 'Evaluation and Refinement-localGA.ipynb'
- In PyRx, load the sdf files and minimize the molecules, then export it to pdbqt file format.
- Copy out the
.pdbqt
files to a seperate folder and run the sharding script (/scripts/folderSplitter/shard.ps1
). - Copy everything from the
/scripts/binding
folder to each generated folder. - The folder is ready for distribution.
- For each folder, run
PowerShell
in it and run the/scripts/binding/binding.ps1
file. - The validation results should be in the
output
folder.
- When processing is done, consolidate all the files in each output folder, then copy files in
/scripts/conversion
to it. - Run
PowerShell
in it and run the/scripts/conversion/conversion.ps1
file. - The compute results would be consolidated in the
results.csv
file of the same folder.
A generation is complete, you may go to 2
to obtain the next gen.
- Run
Final Results.ipynb
to visualize the data and filter up the best molecule. - A file will be created in
generations/master_results_table_final.csv
. This file can be validated by bioinformatics.
In this project, we introduced a new concept - local Genetic Algorithm (local-GA), an evolutionary computing optimization method. We plan to keep things easy and simple as the original repository is well-maintained and is already ready for usage.
Our method utilizes cross-over and mutation to search for the most suitable molecule in the chemical space based on its fitness function.
We implement the local-GA in 2 areas (details in next section):
- Before Transfer Learning
- Before exporting the molecule to the sdf file format
- The initial population depends on the molecules we compute before passing it on to the local-GA.
- The first local-GA will select of 70 molecules based on
score
,similarity
andlog(P)
, together with some random selections. - In the second local-GA, the validated molecules from the 5000 generated molecule after transfer learning is used.
We select the molecules we need from the population to the mating pool based on the fitness function.
The system will first randomly select 2 molecules for crossover at ring or non-ring with equal probability. If the two molecules does not have a valid structure for crossover, it will not be used:
- If a ring structure is selected for crossover, we randomly pick one of the edges of the ring
- If a non-ring structure is selected for crossover, one of the single bonds (not in ring) will be selected randomly.
We then rejoin these broken molecules and combine them to form 2 new molecules. 2 new molecules will be returned from this function.
The molecule will undergo 7 processes separately and a random position on the molecule will be selected to do mutation by the function based on their requirements:
insert_atom()
A random bond is selected and classified into 3 categories based on their charge: -1, -2, -3, these information are taken into consideration so that the product will have a valid chemical structure.change_bond_order()
It gives the new molecule a different shape, while having the same atoms as the original.delete_cyclic_bond()
One of the ring inside the molecule will be removed.add_ring()
A ring will be added in a single bond between 2 molecules.delete_atom()
A random ion will be removed.change_atom(mol)
A random ion is selected and replaced by another molecule with the same charge as it.append_atom()
An atom will be selected and the number of hydrogen atoms around it will be used to decide the type of inserted ion (if 1 then an ion with charge -1 will be used; if 2 then an ion with charge -2 will be used; etc.). The new atom will replace the hydrogen(s) and form a new molecule.
After these 7 processes, one of them will be selected and returned if it is valid.
The fitness function is the evaluation criteria in every generation based on the log(P)
value. According to "logP — Making Sense of the Value" by Sanjivanjit K. Bhal, the oral administration of drug should be lower than 5
and best between 1.35
and 1.80
.
log(P)
is used in the pharmaceutical/biotech industries to help understand the behavior of drug molecules in the body. Drug candidates are often screened according to log(P)
among other criteria, to help guide drug selection and analog optimization. This is because lipophilicity is a major determining factor in a compound’s absorption, distribution in the body, penetration across vital membranes and biological barriers, metabolism and excretion (ADME properties). According to ‘Lipinski’s Rule of 5’ (developed at Pfizer) the log(P)
of a compound intended for oral administration should be <5
. A more lipophilic compound:
- Will have low aqueous solubility, compromising bioavailability. If an adequate concentration of a drug cannot be reached or maintained, even the most potent in-vitro substance cannot be an effective drug.
- May be sequestered by fatty tissue and therefore difficult to excrete; in turn leading to accumulation that will impact the systemic toxicity of the substance.
- May not be ideal for penetration through certain barriers. A drug targeting the central nervous system (CNS) should ideally have a
log(P)
value around2
, for oral and intestinal absorption1.35–1.8
, while a drug intended for sub-lingual absorption should have alog(P)
value of>5
.
Not only does log(P)
help predict the likely transport of a compound around the body. It also affects formulation, dosing, drug clearance, and toxicity. Though it is not the only determining factor in these issues, it plays a critical role in helping scientists limit the liabilities of new drug candidates.
Reference Approach - mattroconnor/Deep_Learning_Coronavirus_Cure
Global-Generation 0:
- LSTM-CHEM to train ChEMBL Database
- From LSTM CHEM, 10k molecules were generated.
- Validility of molecules were checked.
- Compute Tanimoto similarity and select 1000 molecules.
- IDs were given to the 1000 SMILE files, while the HIV and other drugs' SMILE files were added manually.
- All molecules were saved in the master table and manually checked from PyRX to get the binding affinity.
While each Global-Generation < n,
-
From the master table (loaded from Global-Generation), we select:
- 35 molecules based on score
- 5 molecules based on the similarity
- 5 molecules based on the weight
- 5 molecules based on the random mutation
-
From the 55 generated molecules, transfer learning is done. 5000 molecules are then generated, and undergo similarity and validation test. 5000 molecules were then generated, validated, checked for similarity and finally added to the master table.
Global-Generation 0:
- LSTM-CHEM to train ChEMBL Database
- From LSTM CHEM, we generate 10k molecules. 1 Validility of molecules were checked.
- Compute Tanimoto similarity and select 1000 molecules.
- IDs were given to the 1000 SMILE files, while other drugs' SMILE files were added manually.
- All molecules were saved in the master table and manually checked from PyRX to get the binding affinity.
While each Global-Generation < n,
-
From the master table (loaded from Global-Generation), we select the molecules based on the following attributes with respect to the proportions:
Attribute No of Selections Score 55 Similarity 10 log(P) 65 Weights 10 Random 5 -
We then pass the obtained molecules the to local-GA to further obtain 10 molecules that have
log(P)
of 1.35-1.80. -
By using 90 molecules, we perform
transfer learning
to generate 5,000 molecules. -
We then do validation on the 5000 generated molecules to discard the invalid molecules.
-
50 extra molecules are then generated using local-GA which has a
log(P)
value of1.35-1.8
. -
The 50 molecules are validated and combined with molecule from
Step 10
. -
The molecules were then exported to the sdf file format.
-
PyRX
was used to minimize the energy of the molecules and export the.sdf
file into.pdbqt
files. -
The files were then organized into folders (depending on how many parallel sessions we want to run) using a PowerShell script.
-
Binding calculation relevant files and configurations were copied into each folder and the folders were distributed among our group members.
-
The output files are collected from our group members once its finished processing and compiled into a
.csv
file using a PowerShell script and a NodeJS script. -
The results are interpreted and the process starts from
7
until a satisfactory result is achived or when the tester decides to stop.
As of Generation 10, we had obtained 50 molecules. Our chemical table files can be obtained and download at here.
Table below shows the top 30 molecules obtained in generation 10:
id | gen | smile | source | weight | logp | score | score_best | score_avg | similarity_to_hiv_inhibitors | similarity_to_remdesivir |
---|---|---|---|---|---|---|---|---|---|---|
ACMN | 10 | Cc1ccc(-c2nnnn2C2=CC=C(C(=O)NC(=O)c3nnnn3-c3ccccc3C3=CC=C(c4ccccc4-c4ccccc4)C3=O)C2=O)[nH]c1=O | LSTM | 700.675 | 3.33582 | -12.3 | -12.3 | -11.3 | 0.501429196 | 0.714786967 |
ABIX | 10 | Cc1ccc(-c2nnnn2-c2ccccc2C2=CC=C(c3nnnn3-c3ccccc3C3=CC=CC(c4ccccc4)C3=O)C2=O)c(=O)[nH]1 | LSTM | 643.667 | 4.65752 | -12.3 | -12.3 | -11.56666667 | 0.4757434 | 0.655453619 |
AAHE | 10 | Cc1ccc(-c2nnnn2-c2ccccc2-c2ccc(-c3nnnn3-c3ccccc3-c3ccnnc3-c3ccccc3)c3ccc(c(=O)[nH]2)C(=O)Nc2nnnn-3c2=O)c(=O)[nH]1 | LSTM | 833.793 | 3.47402 | -12.2 | -12.2 | -11.66666667 | 0.491048345 | 0.693393848 |
ACAF | 6 | Cc1ccc2ccc3ccc(C(=O)Nc4ccccc4)ccc([nH]c2=O)c2nnnnc(c4ccc(c(=O)[nH]c(=O)c5cc5cc(cc1)c1nnnn31)CC4C)c2=O | LSTM | 769.782 | 4.56982 | -12.2 | -12.2 | -11.08888889 | 0.425540956 | 0.547390841 |
ABYC | 9 | Cc1ccc(-c2nnnn2C2=CC=C(c3ccccc3C3=CC=C(c4nnnn4-c4ccccc4-c4ccc(C(=O)NO)[nH]c4=O)C(=O)Nc4nnnn4C3=O)C2=O)c(=O)[nH]1 | LSTM | 816.715 | 1.04002 | -12.2 | -12.2 | -11.76666667 | 0.509748337 | 0.745409429 |
AAQO | 10 | CC1=CC=C(n2nnnc2-c2ccc(-c3nnnn3-c3ccccc3)cc2C2=CC=C(c3nnnn3-c3ccnnc3-c3ccccc3)C2=O)NC(=O)N1 | LSTM | 712.698 | 3.4802 | -12.1 | -12.1 | -11.43333333 | 0.494153398 | 0.704020101 |
AAFC | 7 | Cc1ccc(C(=O)Nc2nnnn2-c2ccc(-c3nnnn3-c3ccc4ccc5cccccc4nnnn35)cc2)cc1-n1nc(C)c(=O)[nH]1 | LSTM | 664.654 | 2.76344 | -12 | -12 | -11.38888889 | 0.443980833 | 0.590932509 |
ABCU | 10 | Cc1ccc(-c2nnnn2-c2ccccc2C2=CC=C(c3nnnn3-c3cccnc3-c3ccccc3)C2=O)[nH]c1=O | LSTM | 552.558 | 3.41342 | -11.9 | -11.9 | -11.21111111 | 0.475822466 | 0.665149216 |
AADD | 9 | CC1=CC=C(c2nnnn2-c2ccnnc2C2=CC=C(c3ccc4c(=O)[nH]c5c(n3N=NN=5)=CC=CC=CC=C4)CCC2=O)NC(=O)C1 | LSTM | 638.652 | 2.3867 | -11.9 | -11.9 | -10.86666667 | 0.501728566 | 0.730055193 |
AAKA | 9 | CC1=CC=C(c2nnnn2C2=CC=C(C(=O)Nc3nnnn3-c3ccnnc3-c3ccc[nH]c3=O)C2=O)c2ccc(C3=CC=C(C(=O)NO)CC3)cc2C1 | LSTM | 721.698 | 2.3259 | -11.9 | -11.9 | -10.51111111 | 0.50581391 | 0.738453815 |
AARG | 6 | CC(C)(C)C(=O)Nc1ccc(C(=O)Nc2nnnn2C2=CC=C(C(=O)NC(=O)c3ccc4ccc5cccccc4nnnn35)C2=O)[nH]c1=O | LSTM | 674.638 | 1.6202 | -11.9 | -11.9 | -10.43333333 | 0.466926085 | 0.656952965 |
AANA | 8 | Cc1ccc(-c2nnnn2-c2ccnnc2C2=CC=C3C(=O)Nc4nnnn4C(=CC=C4C=CC=C4)C3=NN=NN=C3CC=CC=C2C3=O)c(=O)[nH]1 | LSTM | 690.648 | 2.59112 | -11.9 | -11.9 | -11.26666667 | 0.50736518 | 0.74366617 |
ABDF | 6 | Cc1ccc(C(=O)Nc2nnnn2-c2cnnn2-c2ccc(-c3ccnnc3-c3nnnn3C3=CC=C(c4ccccc4)CC3)c(=O)[nH]2)cc1 | LSTM | 663.666 | 3.32082 | -11.8 | -11.8 | -10.56666667 | 0.498047365 | 0.716297787 |
ACPA | 10 | COc1ccc(-c2nnnn2-c2ccc(-c3nnnn3C3=CC=C(C(=O)Nc4nnn[nH]4)C3=O)cc2-c2ccc(C(=O)Nc3nnnn3-c3ccccc3)cc2)cc1 | LSTM | 772.71 | 2.3882 | -11.8 | -11.8 | -10.58888889 | 0.470065829 | 0.664278403 |
AAUV | 6 | CC1=CC=C(c2nnnn2C2=C(C)C(=O)N2c2ccccc2C2=CC=C(C(=O)O)C(C)=CC=C2C2=CC=C(C(=O)NC(=O)C3=CC=C(c4ccccc4)C3=O)C2=O)NC(=O)N1 | LSTM | 812.799 | 4.4176 | -11.8 | -11.8 | -10.4 | 0.505803854 | 0.728184554 |
ABDE | 8 | CC1=CC=C(CCc2nnnn2C2=CC=C(c3nnnn3C3=CC=c4c(=O)[nH]c5cnnccc(c4=O)n3nnn5)C2=O)c2ccc(-c3nnn[nH]3)c3ccccc3cccc2C=C1 | LSTM | 847.824 | 1.95559 | -11.8 | -11.8 | -11.08888889 | 0.504548299 | 0.735235235 |
AASM | 8 | CC1=CC=c2[nH]c(c3nnnn23)=CC=C(n2nnnc2N2N=NN=NN2c2ccccc2C2CCCCC2n2nnnc2-c2ccc(C)[nH]c2=O)NC1=O | LSTM | 727.718 | 1.01472 | -11.8 | -11.8 | -11.22222222 | 0.505744545 | 0.73760641 |
AASB | 10 | CC1=CC=C(N2N=NN=NN2C2=CC=C(c3nnnn3-c3ccccc3C3=CC=C(c4nnnn4-c4ccccc4)C3=O)C2=O)NC(=O)C1 | LSTM | 651.611 | 3.0273 | -11.8 | -11.8 | -10.94444444 | 0.474405171 | 0.661623802 |
AAWP | 9 | Cc1ccc(-c2nnnn2-c2cnnn2-c2ccc(-c3nnnn3-c3nnnn3-c3ccccc3)cc2C2=CC=C(c3ccnnc3-c3ccccc3-c3ccccc3)C2=O)[nH]c1=O | LSTM | 840.832 | 4.69882 | -11.8 | -11.8 | -11.46666667 | 0.501483091 | 0.718050721 |
AACV | 7 | Cc1ccc(C(=O)Nc2nnnn2N2N=NN=NN2c2ccc(-c3ccccc3-c3ccccc3)cc2)c(=O)[nH]1 | LSTM | 532.528 | 4.27872 | -11.7 | -11.7 | -10.02222222 | 0.42466856 | 0.553609342 |
ABGH | 8 | CC1=CC=C(c2nnnn2-c2ccc(-c3nnnn3-c3ccccc3)cc2C2=CC=C(c3nnnn3-c3ccccc3-c3ccccc3)C2=O)NC(=O)C1 | LSTM | 709.734 | 4.8045 | -11.6 | -11.6 | -11.17777778 | 0.480681151 | 0.668854114 |
ABXW | 8 | Cc1ccc(C(=O)Nc2nnnn2-c2ccc(C(=O)NC(=O)Nc3nnnn3-c3ccccc3)cc2-c2ccc(C(=O)Nc3nnnn3-c3ccccc3)cc2)cc1 | LSTM | 772.75 | 4.05562 | -11.6 | -11.6 | -10.63333333 | 0.373367294 | 0.47649919 |
ABQN | 8 | CC1=CC=C(c2nnnn2-c2ccc(-c3nnnn3-c3ccccc3C3=CC=C(C(=O)NO)CC3)cc2C2=CC=C(C(=O)Nc3nnnn3-c3ccccc3)C2=O)NC(=O)N1 | LSTM | 814.787 | 2.9784 | -11.6 | -11.6 | -10.77777778 | 0.486858372 | 0.676915323 |
ABBO | 7 | Cc1ccc(C(=O)Nc2nnnn2C2=CC=NN=NN2c2ccc(-c3ccccc3-c3ccccc3)cc2)c(=O)[nH]1 | LSTM | 542.563 | 4.92772 | -11.6 | -11.6 | -10.18888889 | 0.430649692 | 0.577145866 |
AANO | 8 | Cc1ccc(C(=O)Nc2nnnn2C2=CC=C(C(=O)Nc3nnnn3-c3ccc(-c4ccccc4)cc3-c3ccccc3)C2=O)c(=O)[nH]1 | LSTM | 637.62 | 3.22052 | -11.6 | -11.6 | -10.61111111 | 0.46412333 | 0.655084313 |
ABVG | 10 | Cc1ccc(-c2nnnn2-c2ccccc2-c2ccccc2C2=CC=C(c3nnnn3-c3ccccc3-c3ccc(C(=O)NO)[nH]c3=O)C2=O)c(=O)[nH]1 | LSTM | 703.679 | 3.49272 | -11.6 | -11.6 | -10.8 | 0.478298856 | 0.676798379 |
AAWL | 9 | CC1=CC=C(c2nnnn2C2CCCCC2C2=CC=C(c3nnnn3-c3ccccc3-c3ccccc3)C2=O)NC(=O)N1 | LSTM | 572.633 | 4.1973 | -11.6 | -11.6 | -10.78888889 | 0.463912111 | 0.655578301 |
ACOT | 10 | Cc1ccc(-c2nnnn2C2=CC=C(c3nnnn3-c3ccc(-c4ccccc4)cc3-c3ccnnc3-c3ccccc3)C2=O)[nH]c1=O | LSTM | 629.644 | 4.61072 | -11.5 | -11.5 | -10.66666667 | 0.487963184 | 0.691729323 |
ABPI | 10 | CC1=CC=C(c2nnnn2-c2ccc(-c3cccnc3C3=CC=C(C(=O)NO)CC3)cc2-c2ccc(C(=O)NO)[nH]c2=O)NC(=O)C1 | LSTM | 633.625 | 2.6147 | -11.5 | -11.5 | -10.2 | 0.471159149 | 0.672139559 |
AAZG | 10 | COc1ccc(-c2nnnn2-c2ccc(-c3nnnn3-c3cccnc3-c3ccccc3)cc2C2=CC=C(c3nnnn3-c3ccc(C(=O)NO)[nH]c3=O)C2=O)[nH]c1=O | LSTM | 788.705 | 1.5636 | -11.5 | -11.5 | -10.65555556 | 0.498848205 | 0.722777223 |
Table 2.1 shows the first 30 molecules obtained in generation 10.
Figure 1 shows the score converge from -8.5 in generation 0 to -10 and below which is a good sign.
Figure 2 shows the score is starting to converge for both the edible is true (logP < 5) and edible is false (logP > 5). Here, we will be focus on the edible is true.
Figure 3 shows the violin plot from generation 1 to generation 10.
Figure 4 shows the Box plot of the score from generation 1 to generation 10.
Figure 5 shows the KDE plot from generation 1 to generation 10.
-
Our group initially intended to use the
Generative Adversarial Network (GAN)
as our neural network instead of the currently usedLong Short Term Memory (LSTM)
network. However after discussion we found out that it may be not necessary to useGAN
, asLSTM
is quite good enough whileGAN
is more expensive as it uses more computing power and thus require longer training times. -
Our group initially wanted to use neural networks to predict protein-ligand binding affinity as stated in the DLSCORE repository. However after extensive discussions we decided not to do so, as DLSCORE only predicts the binding affinity, which may be dangerous as it may contain errors.
In our project, we used a combination of software available in the market, including python
, NodeJS
, PyRX
, AutoDock Vina
, Open Babel
and Microsoft PowerShell
to accelerate our processes.
The total speedup is about 5-6 times, accelerating a 10 hour workload to about less than 2 hours.
Initially during our project, our group had to run all conversion and docking on the same computer. As PyRx is quite unstable, we often encounter multiple crashes that forced us to re-run that generation.
After some discussions, we seperated the doking process into 3 parts:
-
Converting
Where the sdf files are being minimized and converted into.pdbqt
files using PyRx. This process is quite quick and stable, and as such we did not find an alternative. -
Sharding
Where the converted pdbqt files were seperated into multiple folders via a PowerShell script.
The folders were then compressed,, relevant files included and distributed to the cloud or our group members. -
Converting
After the computing is complete, the outputs (custom extension -.pdbqt_out
) are consolidated. A PowerShell script calls a NodeJS Script to obtain thebinding affinity
from the files and writes it into a csv file.
As the workload has been sharded, multiple instances of the docking program can be run at once. According to our observations, the exhaustiveness
number in the AutoDock Vina process corresponds to the number of CPU cores used.
We therefore used this knowledge to provision a cloud server containing 16 cores. In total with our group members, this meant that we had 66 CPU cores at our disposal.
- Increase the number of generations
- Change local-GA parameters
- Change the base network to Generative Adversarial Network (GAN)
- To compute binding affinity for all drugs in market(~450,000) and using the results to generate gen0
- GPU based docking for faster evaluation
- Implement ranked based or tournament selection to the Local Genetic Algorithm.
- https://drugbank.s3-us-west-2.amazonaws.com/assets/blog/COVID-19_Web.pdf
- https://www.acdlabs.com/download/app/physchem/making_sense.pdf
- https://github.com/mattroconnor/deep_learning_coronavirus_cure
- https://github.com/isayev/ReLeaSE
- https://github.com/sirimullalab/dlscore
- https://gitlab.com/cheminfIBB/pafnucy
- https://github.com/jensengroup/GB-GA
- https://github.com/jensengroup/GB-GM
- https://chemrxiv.org/articles/Graph-based_Genetic_Algorithm_and_Generative_Model_Monte_Carlo_Tree_Search_for_the_Exploration_of_Chemical_Space/7240751
- https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6198856/
- https://arxiv.org/abs/1703.10603
This project is licensed under the MIT License: http://opensource.org/licenses/MIT
Copyright © 2020 Quek Yao Jing, Liew Kok Foo, Tang Li Ho, Kwong Tung Nan
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.