Giter Site home page Giter Site logo

gitter-badger / dimple Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ccp4/dimple

0.0 1.0 0.0 1.33 MB

:large_blue_diamond: MX pipeline. Refinement and ligand screening.

License: Apache License 2.0

CMake 0.53% Python 84.31% C++ 13.92% Shell 1.01% Batchfile 0.23%

dimple's Introduction

dimple

Macromolecular crystallography pipeline for refinement and ligand screening.

Requires several programs from the CCP4 suite.

How it works

You provide data (merged mtz) and model (pdb) and tell the pipeline where it should dump the results:

$ dimple my.mtz apo.pdb output-dir

If you wish you can give more than one model or pdb code (only one of them will be used - the one with most similar unit cell):

$ dimple my.mtz apo.pdb my-other.pdb 4uqi output-dir

DIMPLE will do what it can to quickly return refined model, pointing to unmodelled electron density blobs - potential ligand sites.

Simplifying a bit: the pipeline runs macromolecular refinement after a few usual preparatory steps (I to F, choosing Rfree set, reindexing if needed). Sometimes it needs to run Molecular Replacement before refinement. And at the end it checks for unmodelled blobs - suspected ligands.

It's quick. Running time depends of course on data, model and computer, but about 3 minutes is typical. With MR it is usually 5-10 minutes, but from time to time much, much longer.

Options

DIMPLE has a lot of options (dimple -h lists all of them), but since the goal of the pipeline is to make things simple, we'll focus on one:

--slow (or -s for short) -- recommended if you are not in hurry. DIMPLE will take twice more time, spending it mostly on extra cycles of refinement. If this is still too fast, give this option twice

  • to get 100 cycles of jelly-body refinement.

-M is also quite popular. It decides when MR should kick in: -M0 - always, -M1 - never, -M 0.4 - (default) if Rfactor after rigid-body refinement is above 0.4. Rfactor for this purpose is calculated only in data up to 3.5A.

Installation

Build Status

DIMPLE is part of the CCP4 suite. All the work is done by other programs from the suite, which are run underneath. Most importantly refmac and phaser. So you need to have CCP4 installed.

To test the latest development version, clone this repository and run ./dimple/dimple.

Dimple comes with a little find-blobs utility. If you don't compile it, the version from the CCP4 suite will be used. Compilation requires clipper library which in turn requires mmdb2 and libccp4. You may either build everything from source or use conda to download binaries (with g++4 ABI). The latter can be done by installing miniconda and doing:

conda install -c mw clipper

Than build find-blobs pointing where the required libraries are:

cmake -D CMAKE_PREFIX_PATH=$HOME/miniconda2 .
make

No need for make install - the binary landed in the same directory as the python scripts and dimple will use programs from here in preference to the ones from $CCP4/bin.

If it doesn't work - see the contact methods below.

Selected Details

reindexing (Pointless) - if the data and model are in compatible but different spacegroups, we change the spacegroup in the MTZ file. We also check all possible settings - Pointless calculates structure factors from the model and compares the CC on E^2 to find the best matching settings, reindexing data if necessary. In some cases this steps saves as a couple minutes by avoiding MR.

free reflections - Rfree statistic depend to some degree on how lucky is the pseudo-random set of free flags. To eliminate this luck factor when comparing different data collection one may want to use the same set of free flags. It is possible by passing external set of reference flags (option --free-r-flags), but we wanted to do even without the reference file. This was implemented by generating the same free set for the same pdb file and should work if the space group is the same and the resolution is below 1A (we had to pick arbitrary limit).

scoring blobs - it is rather simplistic now, we need to work on it

generating pictures - we have an option (-f) to generate static images (PNG or JPEG) of the blobs. They are used by SynchWeb in DLS. Pictures are generated with Coot+Raster3d - this combines the familiar look and feel of Coot with nicer graphics and headless rendering.

Comments?

Any thoughts, comments or feedback is welcome. If it doesn't work as expected or doesn't work at all - let us know asap. Feel free to use the issue tracker here or email CCP4 helpdesk or email [email protected].


Made in Diamond Light Source and in CCP4-Harwell.

dimple's People

Contributors

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