I'm wanting to use the scoring functions (nnscore etc.) and have that working using the virtualscreening module, but this does not seem to provide the flexibility I need.
I already have a supplier of ligands (molecules) and are performing operations on them.
For each one I wan to generate the score. In some cases all ligands are scored against the same protein, in other cases each ligand has its own protein.
It seems like I should be able to do this with the oddt.scoring.functions.nnscore class but my simple attempt doesn't work.
def calc_nnscore(protein, ligand):
nns = functions.nnscore(protein=protein)
nns.predict_ligand(ligand)
Is there an example of doing this somewhere?
Thanks
Tim