Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

relion

Skill by K-Dense-AI

Validates and runs RELION 5.0.1 single-particle cryo-EM refinement and half-map postprocessing. Built for researchers who have CTF-annotated extracted particles and an initial 3D reference.

  • Score 94
  • 58k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install relion

Built from the published package, never by AI.

git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/relion ~/.claude/skills/relion

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install relion in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The skill wraps a bundled Python runner, spa_workflow.py, around RELION's native tools. It validates a particle STAR file by opening the referenced stacks, runs gold-standard refinement with relion_refine_mpi, computes a diagnostic FSC between unfiltered half maps, and runs relion_postprocess with a soft mask. It starts from CTF-annotated extracted particles and an initial 3D reference.

It is intended for researchers working on a RELION single-particle project. Restart guidance keeps the optimiser STAR, model and sampling files, and particle paths so a job can resume. It does not replace motion correction, picking, 2D or 3D selection, or biological interpretation of map quality. Tomography, helical reconstruction, Blush and heterogeneous-state modeling should use upstream workflows instead.

Written from the project's SKILL.md and checked against it.

What it can do

  • validate-starChecks optics groups, finite CTF values, indices, box sizes and half-set assignments in a STAR file.
  • refineRuns gold-standard refinement through relion_refine_mpi and keeps the command, version and log.
  • fscWrites an unmasked diagnostic FSC table for two unfiltered half maps.
  • postprocessRuns relion_postprocess with explicit half maps, a soft mask and the pixel size.
  • Restart guidanceExplains which optimiser, model and particle files to keep so a job can restart.

What you need

  • Python 3.12+ with numpy, mrcfile and starfile
  • RELION 5.0.1 CPU or MPI executables
  • MPI, OpenMP and an FFT library (FFTW or MKL)
  • Supported accelerator stack for GPU builds

Try asking

  • Validate my particles.star file against its referenced stacks
  • Run a gold-standard RELION refinement pilot on 3 MPI ranks
  • Compute a diagnostic FSC between my two unfiltered half maps

Good to know

  • Starts from CTF-annotated extracted particles and an initial 3D reference, not raw movies.
  • Diagnostic FSC is limited to even cubic maps up to 256 cubed.
  • Does not automatically retry failed jobs or estimate a B-factor.
  • Not for tomography, helical reconstruction, Blush or heterogeneous-state modeling.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/relion/SKILL.md, skills/relion/scripts/spa_workflow.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB
  • references/acquisition-and-restarts.md6 KB
  • references/runtime-and-validation.md7 KB
  • scripts/spa_workflow.py17 KB

Alternatives to relion

All alternatives →

Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database

relion: common questions

Does it replace motion correction or particle picking?

No. The source says it does not replace motion correction, picking, 2D or 3D selection, or biological interpretation of map quality.

Can gold-standard refinement run without MPI?

No. Gold-standard splitting requires MPI, and the plain sequential relion_refine executable cannot perform this split.

Does it work for tomography or helical reconstruction?

No. The source says those data should use the appropriate upstream RELION workflow instead of this bounded SPA runner.

How do I install relion?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is relion free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is relion safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to relion?

Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.

relion Install

Add to stack

Loading.