GlobalChem has the concept of a protein into a 1-Dimensional format that can be used later on for protein-smiles to protein-ligand interaction of lexical strings. This way we can perhaps make casual inference between sets of ligands and sets of proteins.
Import the Package
from global_chem_extensions import GlobalChemExtensions
bioinformatics = GlobalChemExtensions().bioinformatics()
Initialize a GlobalChem Protein
You can initialize a GlobalChem Protein with a variety of ways, fetching a pdb or passing in a pdb file as as available in the Biopandas package or just passing in a peptide sequence.
A useful criteria for medicinal chemists is to separate ligands out of pdb files and determine if the ligand is suitable for the drug binding. The criteria and the code can be found below:
1.) 80 < molecular weight (Da) < 750
2.) 10 < number of nonhydrogen atoms < 70
3.) Must not contain atoms of types other than
H, C, O, N, F, P, S, Cl, Br, or I
4.) must contain at least one
non-carbon/non-hydrogen atom
5.) must not contain two or more phosphorus atoms
6.) must not have more than 10 rotatable bonds
7.) must not be a nucleic acid
8.) must not be composed only from
non-lead-like PDB-HET-groupsb
9.) must not be covalently bound
10.) must not have protein contacts from the crystal
packing environment in less than 3 Å distance
11.) must have contacts with protein in less than
7Å distance
Passed Check 1 Molecular Weight: 433.08784608800005
Passed Check 2 Non Hydrogen Atoms: 29
Passed Check 3 All Atoms Are Within Element Boundaries
Passed Check 4 Non-Hydrogen & Non-Carbon Atoms Present: 11
Passed Check 5 Less than Two Phosphorous atoms Present
Passed Check 6 Less than Ten Rotatable Bonds Present
Passed Check 7 No Nucleic Acid Template Found
Passed Check 9 Not a Covalent Inhibitor
Check 11 Has Contacts within 7 Angstroms
Ligand: CS(=O)(=O)N1CCOC(C1)c2csc(n2)c3ccccc3NC(=O)c4[nH]ccn4, Criteria Met: True
Passed Check 1 Molecular Weight: 358.0688674079999
Passed Check 2 Non Hydrogen Atoms: 26
Passed Check 3 All Atoms Are Within Element Boundaries
Passed Check 4 Non-Hydrogen & Non-Carbon Atoms Present: 8
Passed Check 5 Less than Two Phosphorous atoms Present
Passed Check 6 Less than Ten Rotatable Bonds Present
Passed Check 7 No Nucleic Acid Template Found
Failed Check 9
Passed Check 1 Molecular Weight: 358.0688674079999
Passed Check 2 Non Hydrogen Atoms: 26
Passed Check 3 All Atoms Are Within Element Boundaries
Passed Check 4 Non-Hydrogen & Non-Carbon Atoms Present: 8
Passed Check 5 Less than Two Phosphorous atoms Present
Passed Check 6 Less than Ten Rotatable Bonds Present
Passed Check 7 No Nucleic Acid Template Found
Failed Check 9
Ligand: Cc1cc(c(c2c1C(=O)Oc3c(c(cc(c3O2)C(=O)O)OC)C)C=O)O, Criteria Met: False
Reference
1.) Boström, Jonas, et al. “Do Structurally Similar Ligands Bind in a Similar Fashion?” Journal of Medicinal Chemistry, vol. 49, no. 23, Nov. 2006, pp. 6716–25.