Comments (5)
Hi Larry, I'll look into it the coming week. Thanks for the report :)
from moleculekit.
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.
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.
Hi @stefdoerr @cuzzo87 thanks for looking into into this issue. I agree this should not be a problem for ML.
from moleculekit.
I will close this as we are not planning to modify rdkit. Thanks for the input!
from moleculekit.
Related Issues (20)
- Add support for preparing non-canonical residues with backbone modifications HOT 1
- Small molecule CIFs can have ? coordinates HOT 1
- Wrapping bug puts water atoms way outside the box in a small set of frames HOT 1
- Finding difference between voxels of two different protein HOT 1
- PIP incompatibility: filename has '1.2.0', but metadata has '0' HOT 5
- Protein atoms regarded as nonprotein atoms by atomselect() HOT 2
- Add sasa option to the atom selection language HOT 2
- Update getFingerprint in moleculekit HOT 2
- SmallMolLib unexpected behaviour HOT 4
- atomselect fails on resnames that start with number HOT 3
- Syntax error with atomselect HOT 6
- ImportError HOT 3
- Conda package contains `.h` and `.cpp` HOT 7
- `atomselect` doesn't recognize `numbonds` HOT 1
- Failed to parse selection resid<200 HOT 3
- ValueError: Unable to debump biomolecule. Biomolecular structure is incomplete: Found gap in biomolecule structure for atom ATOM HOT 6
- Editing velocity files HOT 2
- numpy version, infinite loop when calling Molecule HOT 2
- `atomselect` improvements
- Fix issue with terminal histidine protonation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moleculekit.