Skip to content

Welcome to py2rely Documentation

py2rely - The Python Pipeline To Rely On for Relion Sub-tomogram Processing

py2rely simplifies and accelerates the execution of RELION-based sub-tomogram averaging (STA) workflows on SLURM-based high-performance computing (HPC) systems. Designed for rapid iteration and evaluation of particle picking strategies, py2rely integrates with existing tilt series alignment from AreTomo and particle coordinate storage from copick.

📚 Documentation

Getting Started

User Guides

Reference

💫 Key Features

  • ⚙️ Automated job preparation: One-command setup of RELION STA workflows
  • 🔄 Copick integration: Seamless import of particle coordinates
  • 🧭 Tilt series-aware: Direct input from AreTomo processing pipelines
  • 🚀 SLURM-native execution: Run the full STA pipeline with Submitit or generate sbatch scripts via py2rely-slurm
  • 🧠 Validation-ready: Quickly test particle picking algorithms

🎯 Workflows

3D Sub-tomogram Averaging

Complete pipeline from particle extraction to high-resolution reconstruction:

  • Multi-resolution refinement
  • CTF refinement and Bayesian polishing
  • Post-processing and resolution estimation

Learn more →

2D Slab Classification

High-throughput 2D class averaging for particle validation:

  • Slab extraction from tomograms
  • 2D classification with Relion Class2D
  • Interactive visualization (Gradio or PyQt5)
  • Bootstrap validation

Learn more →