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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tomogram_shift_alignment-0.0.1.tar.gz
.
File metadata
- Download URL: tomogram_shift_alignment-0.0.1.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4780a6a8c1d3cf9d5f575923cdd0294bc397e397775854c499fedabcce4af6ce |
|
MD5 | e6a4645b3dd33fcb4017f6d919cbf54a |
|
BLAKE2b-256 | ec5437ea251f88f73f647da1d038d5961054739247725ae5a520b04e59668596 |
File details
Details for the file tomogram_shift_alignment-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: tomogram_shift_alignment-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 266d161749ff6f7a456410ea70b445123b70882ace9320273688d98ac7ce1d55 |
|
MD5 | c51e9663dac51553dceab78c76dcd4a1 |
|
BLAKE2b-256 | dabbbe53d70b2bfd556e407deeb05fbb6d06db741b057bf9cf9e1c72cbc75b99 |