Git Product home page Git Product logo

cryo-mappr's Introduction

Cryo-MAPPR

Cryo-EM micrograph assessment and particle picking routine

Goal

The goal of this project is to fullly automate micrograph assessment and particle picking through empirical determination of 'good' parameters for particle picking. This will entail shape based picking (DoG picking) and then later reference-based picking.

Installation

Software dependencies:

  • mrcfile - python package to read MRC Files ($ pip install mrcfile --user)
  • CTFFIND4 - CTF estimation program (http://grigoriefflab.janelia.org/ctffind4)
  • scipy & numpy ($ pip install numpy scipy --user)
  • Python image library ($ pip install pillow --user)
  • mahota ($ pip install mahota --user)

Cryo-MAPPR requires that the Github repo be added into the user PYTHONPATH. For bash shells, include this in your .bashrc:

export PYTHONPATH=/path/to/Cryo-MAPPR/lib:$PYTHONPATH

Usage

To available options, run run_mapper.py without any inputs:

$ Cryo-MAPPR/run_mappr.py 
Usage: This program will assess micrograph quality and return a list of good micrographs in .star format

Options:
  -h, --help           show this help message and exit
  --dir=Directory      Provide directory containing micrographs
  --diam=Diam          Particle diameter in Angstroms (Default=115A)
  --angpix=Angpix      Pixel size of micrographs in .mrc format (Default=0.9)
  --cs=Cs              Spherical aberration of microscope in mm (Default=2.7)
  --kev=Kev            Accelerating voltage of microscope (Default=300)
  --wildcard=wildcard  Optional: Provide wildcard suffix for input
                       micrographs. Default is none
  -v                   Print version and exit.
  -d                   debug

Note: Program only reads MRC image files and users can specify wildcard flags to select subsets of micrographs within a given directory.

Outputs

Currently, the program will output two files into the micrograph directory:

good_micrographs.txt
bad_micrographs.txt

Development notes

The majority of the code must be written in the Cryo-MAPPR/lib python library and then imported, in order to run.

For example, to run the defition 'testing' from lib/input_check.py:

>>> import input_check
>>> input_check.testing()

For all debugging, print outputs using the following:

if params['debug'] is True:
	print 'text here'

cryo-mappr's People

Contributors

mcianfrocco avatar

Stargazers

Feiyang(Vance) Chen  avatar Xhark 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.