Giter Club home page Giter Club logo

Comments (5)

stefdoerr avatar stefdoerr commented on July 24, 2024

Hi Larry, I'll look into it the coming week. Thanks for the report :)

from moleculekit.

stefdoerr avatar stefdoerr commented on July 24, 2024

From the code side it looks fine. If you have VMD use this code to visualize the features in VMD, and also use SmallMolLib if you want.

from moleculekit.smallmol.smallmol import SmallMol
from moleculekit.smallmol.smallmollib import SmallMolLib
from moleculekit.tools.voxeldescriptors import getVoxelDescriptors, viewVoxelFeatures
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import axes3d

# read molecule
suppl = SmallMolLib("GDP_ideal.sdf")
mol = suppl[0]

# generate voxels
features, centers, N = getVoxelDescriptors(mol,
                                     boxsize=(18, 16, 16),
                                     voxelsize=0.5,
                                     center=mol.getCenter())
viewVoxelFeatures(features, centers, N, voxelsize=0.5)
mol.view(style='Licorice')

As for the hydrophobicity and negative ionizable, @cuzzo87 will have to chime in as I'm no chemist. I assume it's an issue of rdkit though as you said

from moleculekit.

stefdoerr avatar stefdoerr commented on July 24, 2024

According to @cuzzo87 it's an rdkit issue since it can only return one descriptor/feature per atom. This means that an atom can be either hydrophobic or aromatic but not both. This is not something we can correct easily. But from an ML point of view it might not matter in the end as long as it's consistently putting atoms into one category.

from moleculekit.

larry0x avatar larry0x commented on July 24, 2024

Hi @stefdoerr @cuzzo87 thanks for looking into into this issue. I agree this should not be a problem for ML.

from moleculekit.

stefdoerr avatar stefdoerr commented on July 24, 2024

I will close this as we are not planning to modify rdkit. Thanks for the input!

from moleculekit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.