Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query about pharmacophore generation #11

Open
dww100 opened this issue Aug 16, 2022 · 2 comments
Open

Query about pharmacophore generation #11

dww100 opened this issue Aug 16, 2022 · 2 comments

Comments

@dww100
Copy link

dww100 commented Aug 16, 2022

Hello,

This is a really nice tool, thanks for the hard work.

I am looking to use the tool with molecules output from generative models which do not come with pharmacophore information in the "PubChem" format. Do you know how this could be calculated? I see the OEChem label in the header but do not have access to the OpenEye toolkit - so information on the format would be great.

Looking at the example data it looks like it it something like:

> <PUBCHEM_PHARMACOPHORE_FEATURES>
A
X Y acceptor

Where
A = number of pharmacophore features
X = number of atoms in feature
Y = atom index(es) in feature
with acceptor being the feature type. Is that right?

Is there a list of features somewhere?

Cheers
Dave

@tmcgrath325
Copy link
Owner

tmcgrath325 commented Aug 16, 2022

Looking at the example data it looks like it it something like:

<PUBCHEM_PHARMACOPHORE_FEATURES>
A
X Y acceptor

Where
A = number of pharmacophore features
X = number of atoms in feature
Y = atom index(es) in feature
with acceptor being the feature type. Is that right?

That's correct. As of yet, I've only implemented a way to read pharmacophore features from an SDF file in the PubChem format, which uses the features used in PUG REST (i.e. acceptors, donors, rings, cations, anions, and hydrophobes).

I don't have an implementation for this yet, but I think it should be relatively straightforward to use SMARTS strings with MolecularGraph.jl to identify features of interest. These wouldn't necessarily have to be the same kind of features as the PubChem ones.

With the way things are set up currently, you would have to create a vector of strings in the above format and store it in a molecule's attributes with the key PUBCHEM_PHARMACOPHORE_FEATURES. Then, the features could be accessed by the pharmfeatures method and used to build a PharmacphoreGMM. This sounds somewhat painful to do, though, and I'll need to make some changes to allow for more flexibility.

I've been working on some improvements to the alignment optimization, and I hope to revisit this package and clean up the API once I've finished up with that.

-Tom

@dww100
Copy link
Author

dww100 commented Aug 19, 2022

Thanks for the update - look forwards to the developments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants