Code Monkey home page Code Monkey logo

free_descriptors's Introduction

free_descriptors.py

A python script for generating descriptors from a directory of .mol files

Prerequisites

This script requires the RDKit and Mordred packages to be installed. This is best done with conda: conda install -c rdkit -c mordred_descriptors mordred rdkit

Usage

Invoke on a folder with .mol files to get rdkit descriptors in a CSV minimum example:

python ./free_descriptors.py -i /path/to/molfiles -o output_name

will read all .mol files in /path/to/molfiles and create output_name.csv inside the same folder.

Options

Several options exist to compute additional descriptors:

  • fragments: -f or --fragments flag
  • MACCS keys: -M or --MACCS flag
  • ECFP6 fingerprints: -E or --ECFP6 flag
  • Mordred descriptors: -m or --mordred flag
  • Macrocycle descriptors: -c or --macrocycle flag Optional descriptors have a tendency to take a long time to compute and to fail on some molecules. Be sure to check output files.

Thanks and Acknowledgements

  • This script is a modification of the rdkit_descriptors.py script by Petr Škoda
  • This script also includes code from Phyo Phyo Kyaw Zin article

free_descriptors's People

Contributors

stephenszwiec avatar

Watchers

 avatar

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.