geniml
Fungsinya
Geniml membantu menyiapkan dan memeriksa data genomik agar bisa digunakan dalam model machine learning. Tool ini memastikan data Anda memiliki format yang benar dan semuanya siap untuk tahap berikutnya.
Kapan dipakai
- ✓Saat Anda punya data interval genomik (seperti wilayah DNA) dan ingin menggunakannya untuk analisis.
- ✓Sebelum menjalankan model machine learning pada data genomik untuk memastikan kualitasnya.
- ✓Untuk mengecek apakah file data genomik Anda mengikuti aturan yang diharapkan.
Link skill
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/geniml/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Periksa apakah file data genomik saya 'my_data.bed' kompatibel dengan genom GRCh38.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Cara kerjanya adalah dengan memeriksa struktur file data genomik Anda, lalu membandingkannya dengan aturan format dan genom referensi. Tool ini juga membantu merencanakan bagaimana data akan digunakan dalam model.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
…
Pertanyaan umum
Apa itu 'interval genomik'?
Itu seperti alamat yang menandai posisi tertentu di DNA, misalnya wilayah yang menjadi fokus penelitian.
Apa arti 'validate contracts'?
Artinya memeriksa apakah data Anda mengikuti sekumpulan aturan dan format yang sudah ditetapkan agar bisa digunakan dengan benar.
Apakah Geniml melatih model machine learning?
Tidak. Geniml membantu menyiapkan dan memeriksa data sebelum pelatihan, tetapi tidak melakukan pelatihan itu sendiri.
Detail
Deskripsi asli dari pembuat
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.
Popularitas
- Bintang GitHub
- 51k
- Peringkat
- #3466
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- …
Skill lain dari repositori ini
13c-metabolic-flux
51kMemperkirakan fluks metabolik menggunakan data pelacakan isotop karbon-13. Berguna untuk menganalisis metabolisme seluler dan jalur biokimia.
adaptyv
51kMerancang eksperimen karakterisasi protein menggunakan Adaptyv API. Membantu memperkirakan biaya, mengirimkan sekuens, dan memantau hasil lab.
aeon
51kMenjalankan tugas machine learning pada data time series. Berguna untuk klasifikasi, peramalan, deteksi anomali, dan menemukan pola dalam data berurutan.
alphagenome
51kMencari efek genomik yang sudah dihitung untuk varian genetik. Memberikan skor dan penjelasan untuk memahami dampak varian terhadap genom.
Skill serupa
pytorch-patterns
280kMembantu agent Anda menggunakan PyTorch untuk model machine learning. Menerapkan praktik terbaik untuk pelatihan model yang efisien dan hasil yang dapat direproduksi.
evm-token-decimals
280kMembantu agent menghindari kesalahan angka desimal di berbagai jaringan blockchain. Memastikan nilai token akurat dalam transaksi dan perhitungan.
ito-inference
280kMemungkinkan agent Anda mengecek ketersediaan model AI untuk digunakan. Menghubungkan permintaan komputasi dengan layanan model yang siap.