GithubHelp home page GithubHelp logo

zhenyutan / cryoem-scripts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maxewilkinson/cryoem-scripts

0.0 1.0 0.0 33 KB

Badly written scripts for making cryoEM easier

Python 78.78% Shell 21.22%

cryoem-scripts's Introduction

CryoEM-scripts

Some Python and bash scripts to make cryoEM easier.

Scripts to help scaling and merging data sets

These four scripts are featured in our Acta D paper "Methods for Merging Data Sets in Electron Cryo-Microscopy" and aim to make merging data sets a bit more tolerable.

A couple of scripts are written by me, apologies for the poor python/bash styling:

boxscaler.py will find combinations of even box sizes that give a desired scaling factor.

scale_ctf.sh will do a pretty good* approximate job of rescaling your defocus values to a different pixel size. This bypasses having to re-run CTFFIND or Gctf, which is useful e.g. if micrographs are no longer on disk.

star_apply_matrix.py will apply a Chimera transformation matrix to the Euler angles and offsets of particles belonging to a specified class in a STAR file. This can be used to align particles based on the orientation of domains in their 3D classes.

And a couple of much more nicely written scripts by Thomas Martin, Ana Casanal, and Takanori Nakane:

determine_relative_pixel_size.py will find the pixel size that maximises the correlation (measured with FSC) of one map to a reference map - useful for finding relative pixel sizes when merging data sets.

rescale_particles.py will rescale particle coordinates, for if you've decided to scale your datasets by rescaling your micrographs. Also does some STAR file wizardry to fix up various paths.

*"pretty good" means +/- 40A compared to actually re-runnning GCTF. Considering this is probably very close or better than the precision of GCTF itself, especially at normal resolution regimes, I'd say "pretty good" really means "entirely good enough, especially if you plan on running per-particle CTF refinement anyway." At least in my experience, YMMV.

cryoem-scripts's People

Contributors

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