Skip to main content

EM align

Project description

emalign

A algorithm for aligning rotation, reflection, and translation between volumes.

Current version: 1.0.4

Project's homepage: https://github.com/ShkolniskyLab/emalign

Date: 12/2022

Please cite the following paper when using this package: Harpaz, Y., & Shkolnisky, Y. (2023). Three-dimensional alignment of density maps in cryo-electron microscopy. Biological Imaging, 3, E8. doi:10.1017/S2633903X23000089

Recommended Environments:

The package has been tested on Ubuntu 18.04 and Windows 10. It should probably work on other versions of Windows and Linux, but has not been tested on them yet. Similarly for macOS.

Install emalign

Install emalign via pip:

We recommend installing emalign via pip:
$ pip install emalign

Install emalign from source

The tarball of the source tree is available via pip download emalign. You can install emalign from the tarball:
$ pip install emalign-x.x.x.tar.gz

You can also install the development version of emalign from a cloned Git repository:

$ git clone https://github.com/ShkolniskyLab/emalign.git

$ cd emalign

$ pip install .

Uninstall emalign

Use pip to uninstall emalign:
$ pip uninstall emalign

Upgrade emalign

Just use pip with -U option:
$ pip install -U emalign

Getting started:

Please read the user manual for usage instructions, available at the homepage of the project on Github: https://github.com/ShkolniskyLab/emalign

Basic usage:

Generate test data via
$ emalign --make-test-data -v

This will download EMD-2660 from EMDB (https://www.ebi.ac.uk/emdb/), downsample it to size 129 pixels (with pixel size 3.74A), and save the downsampled map into map_ref_2660.mrc. The function then rotates and shifts the map (see log messages for the exact transformation parameters) and saves the transformed map to map_transformed_2660.mrc. These two maps can be used to test the alignment algorithm.

Run the alignment algorithm via

$  emalign -v1 ./map_ref_2660.mrc -v2 ./map_transformed_2660.mrc -o ./map_aligned_2660.mrc -v

The algorithm will align v2 to v1, saving the aligned map.

Type

$  emalign -h 

for help.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

EMalign-1.0.4.tar.gz (49.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

EMalign-1.0.4-py3-none-any.whl (55.5 kB view details)

Uploaded Python 3

File details

Details for the file EMalign-1.0.4.tar.gz.

File metadata

  • Download URL: EMalign-1.0.4.tar.gz
  • Upload date:
  • Size: 49.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for EMalign-1.0.4.tar.gz
Algorithm Hash digest
SHA256 72bbaff7ceb664392b3bbc1d61baa94fafe4cba579f3176c2628fa52b85ac03b
MD5 3b619d88698660be99ee4bfa33b48c5f
BLAKE2b-256 dc7c838a79c217ebf6a3bd109b034d1632ab017c7632c95d04d749a0a4a60037

See more details on using hashes here.

File details

Details for the file EMalign-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: EMalign-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 55.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for EMalign-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6d85a41c49e7bd9b841e827aa24c5969a66128410a2c648f578b728af8def278
MD5 ae0df287c23e0145faaccbc7354ad8b7
BLAKE2b-256 4a616ea16b4361b304e1551d2b2dba86cd830554380f7bc50759cef8aa3251cc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page