Skip to main content

Program to compare the shifts between two of the same tomogram which were constructed by different TSA methods, and to adjust the particle coordinates of a star file to fit the new tomogram.

Project description

tomogram_shift_alignment

Outline

Different tomogram generation and/or reconstruction techniques often generate tomograms with slightly different coordinates. This makes comparing the attainable resolution of the structure from these tomograms difficult. This program compares the shifts between two of the same tomogram which were constructed by different methods, and adjusts the particle coordinates of a star file to fit the new tomogram.

This is designed for RELION v4.0 star files. The generated star file should be imported into RELION 4.0 using Import Coordinates.

Installation and Usage

Requirements

  • Python (3.0 or later)

Installation is carried out via:

pip install tomogram_shift_alignment

Invoke from the command line via typing:

tomogram_shift_alignment [original_tomograms] [new_tomograms] [particles_star] [tomogram_binning] [Optional: tomogram_trimming]

e.g.

tomogram_shift_alignment './tomograms' './new_tomograms' './run_data.star' 8 60

Where original_tomograms is the path to directory containing original tomograms where particles were picked. New tomograms is the path to directory containing new tomograms where the coordinates don't match. particles_star is a star file containing refinemed particle positions and angles. Tomogram binning is the binning level of the tomograms. An optional input is tomogram_trimming which is the number (in percent) to trim the tomograms by from the outer edges. This is to avoid comparison of the tomograms in empty space. Default is 40%. Use a higher value if your sample is perfectly centred in the tomogram and vice versa.

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

tomogram_shift_alignment-0.0.1.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

tomogram_shift_alignment-0.0.1-py2.py3-none-any.whl (7.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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