Skip to main content

emalign

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

Current version: 1.0.5

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

Date: 08/2023

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.

Metadata

Release files for EMalign 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for EMalign 1.0.5
File Size Uploaded Provenance Actions
EMalign-1.0.5.tar.gz 49.3 kB Without provenance Details for EMalign-1.0.5.tar.gz

Release files / EMalign-1.0.5.tar.gz

Download URL EMalign-1.0.5.tar.gz
Size 49.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1e9c7a17e65c1b7e1aecb3bca983cf3adbbf7406b3be513a7a3f53fc2da40321
BLAKE2b-256 checksum
How to use checksums
20c3fa7bce679d34cb50dff52da4310fc58b441ba79f1d85485245bed3bf3808
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Security for EMalign 1.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page