GithubHelp home page GithubHelp logo

datamol-io / molfeat-padel Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 1.0 69 KB

A molfeat plugin that adds support for PaDEL descriptors

License: Apache License 2.0

Python 49.84% Xonsh 2.90% Jupyter Notebook 47.26%

molfeat-padel's Introduction

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

molfeat-padel's People

Contributors

maclandrol avatar therence1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jake-aft

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.