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

Metadata

Release files for janas 2.2.3

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.2.3
File Size Uploaded Provenance Actions
janas-2.2.3.tar.gz 2.8 MB Without provenance Details for janas-2.2.3.tar.gz

Release files / janas-2.2.3.tar.gz

Download URL janas-2.2.3.tar.gz
Size 2.8 MB
Tags Source
SHA-256 checksum
How to use checksums
e0e70140f24a8b914db64003835631d48bba086d2ab8fad63000528c5709fdc4
BLAKE2b-256 checksum
How to use checksums
2d161ead7b7277221fd29bca155c5c4eefb83e2eca72b7024c2df4cf1c855b73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.14

Security for janas 2.2.3

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