Giter Site home page Giter Site logo

riff's Introduction

RiFF (working repo)

here's the riff working repo

fragments

i have fragments categorized per functional group in the folder fragments

fragcombine

the main script, heres an example usage

python3 fragcombine.py --i example_data/c_abl1_dock.sdf example_data/a_abl1_dock.sdf --angle_cutoff 0.85 --coord_cutoff 0.5 --output example_data/abl1_dock_merged.sdf

here's the result, 76/1000000 are hits, in the gif below the combined fragments are sshown in cyan:

pic of the combined fragments inside the abl1 pocket

dock frags

this is just a handy script for running dockstring jobs. the example data in example_data was generated using

python3 dock_frags.py --input fragments/c_1000.csv --target ABL1 --output example_data/c_abl1_dock.sdf
python3 dock_frags.py --input fragments/a_1000.csv --target ABL1 --output example_data/a_abl1_dock.sdf

pharmacophore embed

provide a pharmacophore as an csv file of the form feature,x,y,z,radius, one line one feature. for example:

Acceptor,2.275,0.0,0.0,1
Donor,-2.275,0.0,0.0,1
Aromatic,0.0,2.275,2,3.85,0.8
Acceptor,0.0,-2.275,3.85,1

embed fragment using

python3 pharmacophore_embed.py --input fragments/a_1000.csv --pharmacophore example_data/ph2.csv --retained_features 1 2 --output example_data/ph4_a_1000.sdf
python3 pharmacophore_embed.py --input fragments/a_1000.csv --pharmacophore example_data/ph2.csv --retained_features 3 4 --output example_data/ph4_a_1000.sdf

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.