https://github.com/compomics/molcraft
Deep Learning on Molecules.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.0%) to scientific vocabulary
Keywords
Repository
Deep Learning on Molecules.
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md

Deep Learning on Molecules: A Minimalistic GNN package for Molecular ML.
[!NOTE]
In progress.
Installation
For CPU users:
bash
pip install --pre molcraft
For GPU users:
bash
pip install --pre molcraft[gpu]
Examples
```python from molcraft import features from molcraft import descriptors from molcraft import featurizers from molcraft import layers from molcraft import models import keras
featurizer = featurizers.MolGraphFeaturizer( atomfeatures=[ features.AtomType(), features.NumHydrogens(), features.Degree(), ], bondfeatures=[ features.BondType(), features.IsRotatable(), ], superatom=True, selfloops=True, )
graph = featurizer([('NC@@HC(=O)O', 2.0), ('NC@@HC(=O)O', 1.0)]) print(graph)
model = models.GraphModel.from_layers( [ layers.Input(graph.spec), layers.NodeEmbedding(dim=128), layers.EdgeEmbedding(dim=128), layers.GraphTransformer(units=128), layers.GraphTransformer(units=128), layers.GraphTransformer(units=128), layers.GraphTransformer(units=128), layers.Readout(mode='mean'), keras.layers.Dense(units=1024, activation='relu'), keras.layers.Dense(units=1024, activation='relu'), keras.layers.Dense(1) ] )
pred = model(graph) print(pred)
featurizers.save_featurizer(featurizer, '/tmp/featurizer.json')
models.save_model(model, '/tmp/model.keras')
loadedfeaturizer = featurizers.loadfeaturizer('/tmp/featurizer.json')
loadedmodel = models.loadmodel('/tmp/model.keras')
```
Owner
- Name: Computational Omics and Systems Biology Group
- Login: CompOmics
- Kind: organization
- Email: compomics.list@gmail.com
- Website: https://www.compomics.com/
- Twitter: CompOmics
- Repositories: 93
- Profile: https://github.com/CompOmics
The CompOmics group, headed by Prof. Dr. Lennart Martens, specializes in the management, analysis and integration of high-throughput Omics data.
GitHub Events
Total
- Push event: 1
Last Year
- Push event: 1
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Alexander Kensert | a****t@g****m | 86 |
Packages
- Total packages: 1
-
Total downloads:
- pypi 146 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 10
- Total maintainers: 1
pypi.org: molcraft
Graph Neural Networks for Molecular Machine Learning
- Homepage: https://github.com/compomics/molcraft
- Documentation: https://molcraft.readthedocs.io/
- License: MIT License Copyright (c) 2025 Alexander Kensert Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
Latest release: 0.1.0a11
published 6 months ago
Rankings
Maintainers (1)
Dependencies
- ipython *
- pandas *
- rdkit *
- sphinx ==8.2.3
- sphinx_rtd_theme >=1.0
- tensorflow *