geniml
하는 일
Geniml은 머신러닝 모델에 쓸 유전체 데이터를 준비하고 점검하도록 돕습니다. 데이터가 올바른 형식인지 확인하고, 다음 단계를 위한 준비를 마칩니다.
사용하는 경우
- ✓유전체 구간 데이터(예: DNA 영역)가 있고 분석에 쓰고 싶을 때.
- ✓유전체 데이터에 머신러닝 모델을 실행하기 전에 품질을 확인해야 할 때.
- ✓유전체 데이터 파일이 예상 규칙을 따르는지 확인하고 싶을 때.
스킬 링크
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/geniml/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“유전체 데이터 파일 ‘my_data.bed’가 GRCh38 게놈과 호환되는지 확인해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
유전체 데이터 파일의 구조를 확인하고, 형식 규칙 및 참조 게놈과 비교합니다. 데이터가 모델에서 어떻게 쓰일지 계획하는 데도 도움을 줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Geniml
Use Geniml for machine learning and statistical workflows over genomic interval sets. Treat coordinates, assemblies, token vocabularies, model artifacts, and sample grouping as explicit contracts. The bundled scripts validate or plan; they do not import Geniml, contact services, deserialize models, or execute training.
Bash is declared only for explicit, user-approved uv, Python, Geniml,
Gtars, Git, and native CLI commands shown in this guide; bundled Python helpers
do not spawn subprocesses. Example paths under data/, refs/, work/, and
models/ are user-provided project placeholders, not missing bundled files.
Verified release snapshot
- Latest stable PyPI release on 2026-10-01:
geniml==0.8.4(2026-01-14). - PyPI does not declare
Requires-Python; its classifiers list Python 3.10-3.14. The current recipes below were tested on Python 3.12. geniml==0.8.4acceptsgtars>=0.2.5; the verified base smoke used currentgtars==0.10.0(2026-09-05, Python >=3.10).- Extras are
mlandtest. The base install omits Torch, Gensim, Scanpy, Hugging Face Hub, pyBigWig, and HMM dependencies. - Upstream documentation contains stale examples. Release source and installed
--helpoutput take precedence where they conflict.
Install reproducibly
Use a separate project environment. The tested CPU stack uses Python 3.12:
uv venv --python 3.12
uv pip install "geniml==0.8.4" "gtars==0.10.0"
For the Region2Vec/scEmbed recipes tested here, add only their required libraries:
uv pip install "torch==2.14.1" "gensim==4.4.0" "huggingface-hub==2.0.0" \
"scanpy==1.12.4" "anndata==0.12.19" "zarr==2.18.7"
For the consensus recipes, also install pyBigWig==0.3.26 and
hmmlearn==0.3.3. For a durable project, use the same requirements with
uv add and retain uv.lock.
Geniml requires Zarr <3. AnnData 0.13 requires Zarr >=3, so current AnnData
cannot share this environment. Keep AnnData 0.12.19 here; transfer H5AD files
between separate environments when newer AnnData features are needed. Never
force an incompatible installation with --no-deps.
The full geniml[ml]==0.8.4 extra includes additional, older pinned components.
Its resolution was checked with anndata==0.12.19 and gtars==0.10.0, but
that full stack was not executed; it selected Scanpy 1.11.5 and Transformers
4.57.6. It is unnecessary for the workflows above.
Do not install an unpinned Git branch. Record Python, OS/architecture, the
resolved lockfile, and the PyPI artifact digest. Geniml itself is BSD-2-Clause;
the MIT frontmatter value licenses this skill's content.
Start with the safety gate
Before importing Geniml or running an external binary:
- Work only with explicit local regular files. Reject URLs, FIFOs, devices, and symlinks unless the user deliberately changes that policy.
- Validate BED structure and the declared assembly against a trusted local chromosome-sizes file.
- Bound file count, bytes, rows, workers, epochs, and output size.
- Separate train/validation/test by patient, donor, biological replicate, or other independent unit—not by BED row or cell alone.
- Inventory and checksum the universe, tokenizer, model, config, inputs, metadata manifest, and native binaries.
- Obtain explicit approval before any BEDbase or Hugging Face download. Never infer approval from a model ID or BEDbase identifier.
- Keep logs aggregate and bounded. BED filenames, sample IDs, phenotypes, labels, barcodes, and genomic intervals may be sensitive.
Coordinate and assembly contract
BED intervals are normally 0-based, half-open [start, end): start is
included, end is excluded, and length is end - start. Do not mix them with
1-based closed coordinates from VCF/GFF or user-facing genome browsers.
For every corpus and artifact, record:
- assembly and patch/accession where possible (for example GRCh38 versus GRCh38.p14), plus the chromosome-sizes checksum;
- contig naming convention (
chr1versus1), alt/random/decoy policy, and mitochondrial naming; - coordinate convention, sorting order, duplicate/overlap policy, and whether BED strand is meaningful;
- liftover tool, chain digest, source/target assemblies, unmapped fraction, and post-liftover validation.
Reject negative coordinates, end <= start, integer overflow, unknown
contigs, ends beyond contig length, malformed columns, mixed assemblies, and
…
자주 묻는 질문
‘유전체 구간(genomic intervals)’이란 무엇인가요?
DNA에서 특정 위치를 표시하는 주소 같은 것입니다. 관심 있는 영역을 나타냅니다.
‘계약 검증(validate contracts)’은 무엇을 뜻하나요?
데이터가 기대되는 규칙과 형식을 따라 올바르게 사용할 수 있는지 확인하는 것입니다.
Geniml은 머신러닝 모델을 학습시키나요?
아닙니다. Geniml은 학습 전에 데이터를 준비하고 점검하지만, 학습 자체는 하지 않습니다.
상세 정보
작성자의 원본 설명
Supports audited local Geniml genomic-interval workflows: validate BED and universe contracts, plan Region2Vec or scEmbed runs, inspect model/tokenizer compatibility, and assess consensus universes.
인기도
- GitHub 스타
- 51k
- 순위
- #3466
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
13c-metabolic-flux
51k탄소-13 동위원소 추적 데이터를 사용해 대사 흐름(플럭스)을 추정합니다. 세포 대사와 생화학 경로를 분석할 때 유용합니다.
adaptyv
51kAdaptyv API를 사용해 단백질 특성 분석 실험을 설계합니다. 비용을 추정하고, 서열을 제출하며, 실험실 결과를 확인하는 데 도움이 됩니다.
aeon
51k시계열 데이터에 대해 머신러닝 작업을 수행합니다. 순차 데이터를 분류하고, 예측하고, 이상을 탐지하고, 패턴을 찾을 때 유용합니다.
alphagenome
51k유전 변이에 대해 미리 계산된 게놈 영향을 조회합니다. 변이가 게놈에 주는 영향을 이해하도록 점수와 설명을 제공합니다.