relion
하는 일
이 프로그램은 단일 입자 극저온 전자현미경(cryo-EM) 데이터를 정제하고 처리하도록 돕습니다. 데이터가 올바른지 확인하고, 시료의 고해상도 3D 이미지를 얻기 위한 분석 단계를 실행합니다.
사용하는 경우
- ✓입자를 추출했고 3D 구조를 정제하고 싶을 때.
- ✓정제 전후에 데이터 품질을 확인할 때.
- ✓최종 해상도 지도를 만들고 이미지 품질을 평가할 때.
스킬 링크
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/relion/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“입자 데이터를 검증하고, 직경 150 옹스트롬과 C1 대칭을 사용해 단백질 X 시료의 3D 정제를 시작해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
프로그램은 획득 데이터와 입자 데이터 같은 데이터 파일이 올바른 형식인지 확인합니다. 그다음 이 데이터를 사용해 정제와 후처리 단계를 실행하고, 고품질 결과를 만듭니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
RELION single-particle refinement
Use for a RELION single-particle project, especially extracted particles → homogeneous selected particle subset → gold-standard refinement → half-map validation and postprocessing. The bundled runner starts from CTF-annotated extracted particles and an initial 3D reference. It does not replace motion correction, picking, 2D/3D selection, or a biological interpretation of map quality. For tomography, helical reconstruction, Blush, or heterogeneous-state modeling, use the appropriate upstream workflow rather than forcing those data into this bounded SPA runner.
Preserve acquisition and coordinate conventions
Read references/acquisition-and-restarts.md when starting from movies or resuming jobs. Confirm pixel size in Å/pixel, voltage in kV, spherical aberration in mm, defocus in Å, amplitude contrast as a fraction, and the symmetry justified by the specimen. Do not “correct” a suspicious value by guessing its units.
data_optics describes acquisition/image groups; data_particles references them through
_rlnOpticsGroup. Particle filenames use one-based index@stack.mrcs; leading zeros such as
00000001@stack.mrcs are valid. Relative paths resolve
from the RELION project directory, not the STAR file's directory. Keep optics groups when merging
or subsetting STAR files. _rlnOriginXAngst/_rlnOriginYAngst are Å translations, not pixels.
Run from this skill directory with paths to the real project:
python scripts/spa_workflow.py validate-star project/particles.star --project project
This opens referenced stacks and checks optics membership, finite acquisition/CTF values, indices,
box sizes, duplicate particle references and existing half-set assignments. Use --metadata-only
only when stacks are genuinely unavailable; the JSON records stack_checks_performed: false.
It does not scan every particle pixel for corruption or establish correct image normalization.
Physical-range warnings are review prompts, not proof that unusual microscope settings are wrong.
Refine a selected particle population
Before running, inspect representative particles and class averages, defocus distributions, CTF fits, particle orientation distribution, and the initial reference. Ensure the map and particle boxes/pixel sizes agree after any downsampling. The runner deliberately supports one effective box/pixel size across optics groups; handle heterogeneous sampling with an explicit upstream resampling workflow. Use conventionally extracted, normalized particles that have not already been phase-flipped or Wiener-filtered; this runner does not configure those special input cases.
python scripts/spa_workflow.py refine \
--star project/particles.star --reference project/initial.mrc \
--project project --diameter 180 --symmetry C1 \
--initial-lowpass 40 --mpi-ranks 3 --threads 2 --output project/RefinePilot
The diameter and low-pass filter above are illustrative Å values. Use specimen-appropriate
values. Refinement executes mpirun -np 3 relion_refine_mpi with --auto_refine,
--split_random_halves, --ctf, and a low-pass starting reference. Gold-standard splitting
requires MPI; the plain sequential relion_refine executable cannot perform this split.
Use odd ranks ≥3 (master plus balanced half-set workers), with a matching MPI installation.
The CPU command is useful for a bounded pilot; choose a documented GPU/MPI launch for full data.
The runner keeps the command, native version and log in a new output directory, records an
explicit random seed (default 1), surfaces runtime warnings, stops on process failure, and
requires converged unfiltered half maps before reporting success. It does not automatically retry
expensive jobs or silently discard failed-job artifacts. Keep _optimiser.star, model/sampling
STAR files, and referenced particle paths for restart. Use the original job's optimiser rather
than starting a new random split from a partially processed table.
Inspect independent half maps
Use the two independently refined unfiltered half maps, never two copies of the combined, sharpened map. Matching headers cannot establish statistical independence; the independent particle assignments and refinement history provide that evidence. Inspect directional anisotropy, preferred orientation and local resolution as well as a global FSC curve.
…
자주 묻는 질문
cryo-EM이란 무엇인가요?
생체 분자를 얼음 속에서 빠르게 얼려 고해상도 3차원 구조를 결정하는 기술입니다. 극저온 전자현미경(Cryo-electron microscopy)이라고도 합니다.
‘정제(refinement)’란 무엇인가요?
개별 입자의 데이터를 사용해 초기 3D 모델의 품질과 해상도를 개선하는 과정입니다.
‘하프 맵(half maps)’이란 무엇인가요?
입자 데이터셋의 두 절반에서 각각 독립적으로 만든 두 개의 3D 지도입니다. 최종 결과의 신뢰성을 검증하는 데 쓰입니다.
상세 정보
작성자의 원본 설명
Validates and executes RELION single-particle cryo-EM refinement and half-map postprocessing. Supports STAR optics/acquisition checks, particle-stack consistency, gold-standard half sets, soft-mask validation, diagnostic Fourier shell correlation, and restart guidance.
인기도
- GitHub 스타
- 51k
- 순위
- #3554
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
13c-metabolic-flux
51k탄소-13 동위원소 추적 데이터를 사용해 대사 흐름(플럭스)을 추정합니다. 세포 대사와 생화학 경로를 분석할 때 유용합니다.
adaptyv
51kAdaptyv API를 사용해 단백질 특성 분석 실험을 설계합니다. 비용을 추정하고, 서열을 제출하며, 실험실 결과를 확인하는 데 도움이 됩니다.
aeon
51k시계열 데이터에 대해 머신러닝 작업을 수행합니다. 순차 데이터를 분류하고, 예측하고, 이상을 탐지하고, 패턴을 찾을 때 유용합니다.
alphagenome
51k유전 변이에 대해 미리 계산된 게놈 영향을 조회합니다. 변이가 게놈에 주는 영향을 이해하도록 점수와 설명을 제공합니다.
비슷한 스킬
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
slacrawl
394k에이전트가 로컬 Slack 보관본에서 메시지를 검색하고 개수를 세며, 보관본이 얼마나 최신인지 확인하고 필요할 때 새로 고치도록 돕습니다.
goplaces
394k에이전트가 Google Places로 장소를 검색하고, 세부 정보와 리뷰를 가져오고, 장소 이름을 확인하며, 스크립트용 JSON을 출력하도록 돕습니다.