Coder Social home page Coder Social logo

cryoem-cvpr2015's Introduction

README
------

This codebase implements Stochastic Average Gradient Descent for minimizing the negative log probability of a protein density given a set of picked particles from electron micrographs.

This code is provided "as-is" with no warranty or explicit support.  It is made available for personal and academic use ONLY.  Any commercial use of this code without explicit written consent of the authors is strictly prohibited.  Use of this in academic publications should cite:

"Building Proteins in a Day: Efficient 3D Molecular Reconstruction" by Marcus A. Brubaker, Ali Punjani and David J. Fleet.  In proceedings of IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2015.

This code is copyright Marcus A. Brubaker and Ali Punjani, 2015.

Questions or comments regarding this code should be directed to Marcus Brubaker ([email protected]).


Getting Started
---------------

To generate data, use the genphantomdata.py script.  Running the command:

$ ./genphantomdata.py 40000 1AON.mrc examplectfs.par Data/1AON

will generate a stack of 40,000 randomly distributed views of the density in 1AON.mrc using the CTF parameters specified in the (supplied) par file.

Once data has been generated, you can run the reconstruction with the command:

$ ./runexp.py exp/1AON_sagd_is

and follow it's progress with:

$ tail -f exp/1AON_sagd_is/stdout

Plots showing the current state of the reconstruction can be seen by using IPython:

$ ipython --pylab=qt
Python 2.7.8 (default, Apr 15 2015, 09:26:43) 
Type "copyright", "credits" or "license" for more information.

IPython 2.4.1 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: import visualizer

In [2]: vis = visualizer.Visualizer('exp/1AON_sagd_is',extra_plots=True)

To update the displays, call vis.dowork():

In [3]: vis.dowork()




Running other data
------------------

Currently the code can only handle specific forms of input.  Images must be in MRC stack files, CTF parameters must be estimated and provided in the form of a defocus.txt or .par file.  The bfactor and other microscope parameters must be set by hand in the exp/*/*.params files.

cryoem-cvpr2015's People

Watchers

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