This release is a pre-release and may not be stable for production use.
Segmentation with Ais
Fast and user-friendly annotation and segmentation of cryo-electron tomography data using convolutional neural networks
This repository comprises a standalone pre-release of the scNodes Segmentation Editor. For the joint project, see the superclem repository
A timelapse video of the full workflow, from reconstructed tomograms to segmented volumes showing membranes, ribosomes, mitochondrial granules, and microtubuli, is available on our YouTube channel.
Contact: m.g.f.last@lumc.nl
Installation
Ais works on Windows and Linux machines but not on MacOS. Install as follows:
conda create --name ais
conda activate ais
conda install python==3.9
conda install pip
pip install ais-cryoet
Then run using either of the following commands:
ais
ais-cryoet
Tensorflow & CUDA compatibility
Compatibility between Python, tensorflow, and CUDA versions can be an issue. The following combination was used during development and is know to work:
Python 3.9
Tensorflow 2.8.0
CUDA 11.8
cuDNN 8.6
protobuf 3.20.0
The software will work without CUDA, but only on the CPU. This is much slower but still reasonably interactive if the tomograms aren't too big (in XY). We do recommend installing CUDA and cuDNN in order for tensorflow to be able to use the GPU. See: https://docs.nvidia.com/deeplearning/cudnn/install-guide/index.html for help installing CUDA and cuDNN.
Gallery
Annotation
In this example, four features (membranes, microtubuli, mitochondrial granules, and ribosomes) are concurrently annotated.
Generating training sets
After preparing some annotations, the user in this example selects positive and negative features before compiling a training dataset for a network that will learn to recognize lipid membranes.
Training models
Here, four previously prepared training datasets are used to train four segmentation models. The menu on the left shows the set-up for the four models; the first three models have already been trained, while the fourth (microtubuli, orange) is being set up for a second training run.
Model interactions
Model interactions add an extra layer of nonlinear filtering to the model outputs, and can aid significantly in reducing false positive predictions. Here, competition between the single and double membrane models enhances the differentiation between these two (similar) features, and a colocalization dependency of the viral pore model conditioned on the double membrane model suppresses spurious false positives by the pore model near biologically non-relevant other features.
Exporting segmented volumes
An example of the batch processing interface, in the 'Export' tab. Only one tomogram is imported, but any number can be linked into the software and processed in one go (typically, in an overnight process). Six features are being segmented: ribosome, coronaviral replication organelle pores, double membranes, intermediate filaments, microtubuli, and actin filaments.
Built-in rendering to inspect results
After processing a volume, the resulting segmented volume datasets are automatically available in the 'Render' tab, where the segmentation results can be interactively viewed. Opening the results in more familiar suites such as Blender or ChimeraX is facilitated in the bottommost 'Export 3D scene' tab.
Fluorescence-guided segmentation
In scNodes + Ais, data can be forwarded from the correlation editor into Ais's segmentation editor. In the above image, a tomogram overlayed with a single molecule fluorescence localization map of rsEGFP2-labelled vimentin is being segmented; the fluorescence localizations reveal the location of vimentin filaments surrounded by a bundle of actin filaments an microtubules.
3D ray-traced fluorescence overlays
Rendering in scNodes + Ais combines the default isosurface viewer with 3D ray-traced fluorescence overlays. Here, a 2D single molecule localization map is projected into the 3D volume of the tomogram. Membranes, ribosomes, and the two vimentin filaments revealed by the fluorescence overlay are segmented and rendered.
Metadata
Release files for Ais-cryoET 1.0.36.dev8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Ais-cryoET-1.0.36.dev8.tar.gz | 4.8 MB | Without provenance | Details for Ais-cryoET-1.0.36.dev8.tar.gz |
Release files / Ais-cryoET-1.0.36.dev8.tar.gz
| Download URL | Ais-cryoET-1.0.36.dev8.tar.gz |
|---|---|
| Size | 4.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a18bcf33d9240ac726b2e55042dc46034c62743cee43510b671f8acfabbe24d2
|
|
BLAKE2b-256 checksum How to use checksums |
2a0a6328c8b4b9f2c5773a4c8fa408caf8f7dc77cf9fc6cc3bb103b939bf15a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.5
|
Security for Ais-cryoET 1.0.36.dev8
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.