Skip to main content

JANAS logo

JANAS

Joint ANAlysis of Stacks for CryoEM

PyPI Python

Installation • Documentation •


JANAS is a command-line toolkit for particle ranking, subset selection and class reassignment in single-particle cryo-EM workflows.

It uses the per-particle Structural Cross-correlation Index (SCI) to rank particles by their contribution to local map quality.

Quick access

The demo package contains small example inputs, scripts, expected outputs and run-time information for testing the two core workflows. These examples are intended for installation checks and end-to-end command validation. The simulated examples are provided to test installation and command execution; the scientific analyses are based on experimental cryo-EM datasets. The Zenodo record contains datasets associated with the application of JANAS, including particle selections, class reassignments, refined maps, models, metadata, local-resolution analyses and SCI characterisation files. Raw particle stacks from public EMPIAR entries are not duplicated there and should be obtained from the corresponding EMPIAR records.

Core workflows

Workflow Purpose
Iterative particle selection Score, rank and select particle subsets that maximise local resolution.
Custom selected stacks Extract an ad-hoc top-N best-ranked subset from a converged selection, e.g. as input for JANAS-based repicking.
3D class reassignment Assign particles to pre-computed classes using per-map SCI scores.

Monitoring a running session

JANAS records the outcome of every selection iteration in overview.txt and the timing of every individual processing step in runtime/step_timings.csv. While the session runs it also keeps an HTML dashboard, progress.html, in sync with the latest state. See Monitoring a running session for how to view it locally or over SSH from a remote browser.

Interoperability workflows

Workflow Purpose
CryoSPARC particle STAR recovery Convert CryoSPARC .cs particle metadata to RELION/JANAS STAR format, adjust stack references, and restore original source particle image names after stack-based processing.

Accessory utils

Utility Purpose
sigma_estimate Estimate a Gaussian sigma for SCI scoring from a pair of half-maps.
compare_maps Compare two 3D maps using cross-correlation and related similarity measures.
csparc2star-stack Convert a CryoSPARC .cs file to a RELION STAR and assemble a consolidated .mrcs stack.
clip blur Gaussian-blur a 3D volume (sigma in Ångström).
clip bfac B-factor weighting (sharpening) of a 3D volume, automatic or user-driven.
fsc Compute Fourier Shell Correlation (FSC) between half-map pairs.
locres Compute a local-resolution map from a pair of half-maps.
project_map Project a 3D reference map at each particle pose, writing 2D reprojections.
janas_reconstructor Internal 3D reconstruction from scored particles (GPU or CPU).

Installation

Requires Python 3.8+, a C++ compiler, and CMake 3.10+.

pip install janas

We recommend installing in an isolated environment:

python3 -m venv ~/.janas_env
source ~/.janas_env/bin/activate
pip install janas

Verify:

janas --version

See the Installation Guide for conda, pipx, troubleshooting, and building from source.

Documentation

Contact

For questions or issues: mauro.maiorca@cssb-hamburg.de

Release files for janas 2.1.9

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

Source distribution (sdist)

Source distribution for janas 2.1.9
File Size Uploaded
janas-2.1.9.tar.gz 2.8 MB Details

Release files / janas-2.1.9.tar.gz

Download URL janas-2.1.9.tar.gz
Size 2.8 MB
Tags Source
SHA-256 checksum
How to use checksums
0f88a53bf9ba6d50ab41abc229c8c38263e0da878ae2d1a4554bdf0971b24398
BLAKE2b-256 checksum
How to use checksums
fa2da3ec05c345842d8700ae7cc062dcfe75248db39691cd69594656cfec58b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Release history Release notifications | RSS feed

2.2.1

1 release file

2.2.0

1 release file

This release

2.1.9 This release

1 release file

2.1.6

1 release file

2.1.5

1 release file

1.0.0

3 release files

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