GithubHelp home page GithubHelp logo

kelly1210 / klifs_utils Goto Github PK

View Code? Open in Web Editor NEW

This project forked from volkamerlab/klifs_utils

0.0 1.0 0.0 2.33 MB

Utility functions to work with KLIFS data

License: MIT License

Python 99.04% Shell 0.96%

klifs_utils's Introduction

klifs_utils

This package has been moved to and extended in the opencadd package.

Please checkout the documention for the new package here.

Travis Build Status AppVeyor Build status codecov

Utility functions to work with KLIFS data

KLIFS

The klifs_utils package offers functions to interact with data from KLIFS (remotely and locally).

What is KLIFS and who created it?

Kinase-Ligand Interaction Fingerprints and Structures database (KLIFS), developed at the Division of Medicinal Chemistry - VU University Amsterdam, is a database that revolves around the protein structure of catalytic kinase domains and the way kinase inhibitors can interact with them

Installation

  1. Download GitHub repo:

    git clone https://github.com/volkamerlab/klifs_utils.git

    The library lives now in this example path /path/to/klifs_utils.

  2. Install and activate conda environment klifs_utils:

    cd /path/to/klifs_utils/devtools/conda_envs/
    conda env create -f env.yaml
    conda activate klifs_utils
  3. Install library in conda environment while being in path /path/to:

    pip install klifs_utils

Alternative if you already have the klifs_utils environment installed:

pip install https://github.com/volkamerlab/klifs_utils/archive/master.tar.gz

Usage

Check out the klifs_utils tutorial (Jupyter notebook):

/klifs_utils/docs/tutorial.ipynb

Work with KLIFS data from KLIFS server (remotely)

The klifs_utils.remote module offers you to access KLIFS data from the KLIFS server.

This module uses the official KLIFS API: https://klifs.vu-compmedchem.nl/swagger.

Work with KLIFS data from disc (locally)

The klifs_utils.local module offers you to access KLIFS data from the KLIFS server. In order to make use of the module's functionality, you need a KLIFS download folder KLIFS_download with the following structure:

└── KLIFS_download
    ├── KLIFS_export.csv           # Metadata file
    ├── overview.csv               # Metadata file
    └── HUMAN     	               # Species name
        ├── AAK1                   # Kinase name
        │   ├── 4wsq_altA_chainA   # PDB ID, alternate model ID, chain ID
        │   │   ├── complex.mol2
        │   │   ├── ligand.mol2
        │   │   ├── protein.mol2
        │   │   ├── pocket.mol2
        │   │   └── water.mol2
        │   └── ...
        └── ...

Download KLIFS data from: https://klifs.vu-compmedchem.nl

Library structure

The libraries structure looks like this, trying have the same API for both modules local and remote (whenever possible):


├── local/
│   ├── coordinates/
│   │   ├── complex.py
│   │   ├── ligand.py
│   │   ├── protein.py
│   │   ├── pocket.py
│   │   └── water.py
│   ├── initialize.py
│   ├── interactions.py
│   ├── kinases.py
│   ├── ligands.py
│   └── structures.py
├── remote/
│   ├── coordinates/
│   │   ├── complex.py
│   │   ├── ligand.py
│   │   ├── protein.py
│   │   └── pocket.py
│   ├── interactions.py
│   ├── kinases.py
│   ├── ligands.py
│   └── structures.py
└── util.py

This structure mirrors the KLIFS Swagger API structure in the following way to access different kinds of information both remotely and locally:

  • kinases (in KLIFS called information): Get information about kinases (groups, families, names)
  • interactions: Get interaction fingerprint via structure_ID
  • ligands: Get ligand information
  • structures: Get structure information
  • coordinates (in KLIFS part of structures): Get structural data (structure coordinates)

Note: In order to use the local module, it is necessary to initialize a metadata file (local.initialize module).

Copyright

Copyright (c) 2020, Volkamer Lab

Acknowledgements

Project based on the Computational Molecular Science Python Cookiecutter version 1.1.

klifs_utils's People

Contributors

dominiquesydow avatar

Watchers

James Cloos 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.