molfeat plugin to support featurization using Padel descriptors
Project description
🧩 molfeat-PaDEL
A molfeat plugin that adds support for PaDEL-Descriptors
🧩 molfeat-PaDEL - A molfeat plugin that adds support for PaDEL-Descriptors
Overview
molfeat-padel
is an extension to molfeat
that adds support for PaDEL descriptors. The PaDEL descriptors are a mix of molecular descriptors (663 1D, 2D descriptors, 134 3D descriptors) and structural fingerprints based on the Chemistry Development Kit (CDK).
-
To learn more about PaDEL descriptors, please refer to the following paper: Yap, 2010
-
To learn more about
molfeat
, please visit https://molfeat.datamol.io/. -
To learn more about the plugin system of molfeat, please see extending molfeat
Installation
You can install molfeat-padel
with:
mamba install -c conda-forge molfeat
or
pip install molfeat-padel
molfeat-padel
depends on molfeat and padelpy
Usage
The following example shows how to use the molfeat-padel
plugin package automatically when installed. All scenarios highlighted in this example are valid:
- initializing the calculator from the plugin package
from molfeat.trans import MoleculeTransformer
from molfeat_padel.calc import PadelDescriptors
mol_transf = MoleculeTransformer(featurizer=PadelDescriptors())
- auto registration of PadelDescriptors to the list of calculators
from molfeat.trans import MoleculeTransformer
import molfeat_padel
mol_transf = MoleculeTransformer(featurizer="PadelDescriptors")
# works because PadelDescriptors is imported in the root init of molfeat_padel
- enable autodiscovery and addition of the
PadelDescriptors
as importable attribute to the entry point groupmolfeat.calc
# put this somewhere in you code
from molfeat.trans import MoleculeTransformer
from molfeat.plugins import load_registered_plugins
load_registered_plugins(add_submodules=True)
# this is now possible
from molfeat.calc import PadelDescriptors
mol_transf = MoleculeTransformer(featurizer=PadelDescriptors())
# this is also possible
mol_transf = MoleculeTransformer(featurizer="PadelDescriptors")
Dependencies
The only dependencies of molfeat-padel
are padelpy
and molfeat
Changelog
See the latest changelogs at CHANGELOG.rst.
Maintainers
- @maclandrol
License
Under the Apache-2.0 license. See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file molfeat-padel-0.0.2.tar.gz
.
File metadata
- Download URL: molfeat-padel-0.0.2.tar.gz
- Upload date:
- Size: 30.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e37a3371f4f1124914c3d468896f1f59ee3de2b5f2c0b7ce0820687ac7afb9e |
|
MD5 | 707ac5c30b690e86aebed93459d3667f |
|
BLAKE2b-256 | 4529eb1e34eec3a63894c4aa1a3ef2515fe9575f5923e53f3caf888c7ac86328 |
File details
Details for the file molfeat_padel-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: molfeat_padel-0.0.2-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fd7c9917a1f1e22cac6ef011f9692eb826984b82bb295b65bace9e9333ef9ee |
|
MD5 | dec1b84e27d0a5fb0d2e1aacd90f1bdc |
|
BLAKE2b-256 | b638fb5fd571325e8f0a4c7a68c69e3d6ea00f5fd77d8fc8c41f2c8610ef43e4 |