Code Monkey home page Code Monkey logo

molecule_descriptors_and_fingerprint's Introduction

Application for SMILE to descriptors and fingerprint generators

To run this application you need to provide a csv file as input and it'll return you a csv file with molecule descriptors as output.

python fingerprint_and_descriptor.py --input_file data/smiles_input.csv --output_file data/smile.csv --remove_salt --method descriptors

You can run this application in three way:

  1. Only Descriptor

  2. Only Fingerprint

  3. Descriptor and Fingerprint combined

  4. When you are need only the descriptor file you need run as :

python fingerprint_and_descriptor.py --input_file data/smiles_input.csv --output_file data/smile.csv --remove_salt --method descriptor

It'll produce your _descriptor.csv with the necessary header and value.

  1. When you are needed for fingerprint you need to run :

python fingerprint_and_descriptor.py --input_file data/smiles_input.csv --output_file data/smile.csv --remove_salt --method fingerprint --fp_type Morgan --n_bits 1024

In fingerprint types there are 5 different types of fingerprint added:

Morgan

RDKit

Atom

MACCS

Topological

Default fingerprint type is Morgan and default n_bits is 2048

As an output it'll produce _fingerprint.csv

  1. When you need both descriptor and fingerprint together, you need to run :

python fingerprint_and_descriptor.py --input_file data/smiles_input.csv --output_file data/smile.csv

It'll give you output as _descriptor_and_fingerprint.csv

There is also another parameter added to removing salts from the smiles. If you want to remove salts from molecule you need to add --remove_salt as a parameter in your cli. By default the remove_salt parameter is off.

molecule_descriptors_and_fingerprint's People

Contributors

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