Skip to main content

Pipeline for per-particle selection and 3D class reassignment in single-particle cryo-EM.

Project description

JANAS logo

JANAS

Joint ANAlysis of Stacks for CryoEM

PyPI Python

InstallationDocumentation


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

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

janas-2.1.6.tar.gz (2.5 MB view details)

Uploaded Source

File details

Details for the file janas-2.1.6.tar.gz.

File metadata

  • Download URL: janas-2.1.6.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for janas-2.1.6.tar.gz
Algorithm Hash digest
SHA256 c062d64bff1d22355e565d7802686c1688fad8ce061ed947bd5d5d2bcbb0f862
MD5 2b0450a29dca368e5028d52e7775c6b8
BLAKE2b-256 e4b97f5c279dbb24d47a227b81a96befc67ec5b392765d7b1f2cbf2aa1b72387

See more details on using hashes here.

Supported by

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