Skip to main content

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

Docs | Homepage


PyPI PyPI - Downloads PyPI - Python Version license test code-check release

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).

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:

  1. initializing the calculator from the plugin package
from molfeat.trans import MoleculeTransformer

from molfeat_padel.calc import PadelDescriptors
mol_transf = MoleculeTransformer(featurizer=PadelDescriptors())
  1. 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
  1. enable autodiscovery and addition of the PadelDescriptors as importable attribute to the entry point group molfeat.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

molfeat-padel-0.0.2.tar.gz (30.5 kB view hashes)

Uploaded Source

Built Distribution

molfeat_padel-0.0.2-py3-none-any.whl (9.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page