scientific-pkg-gget
Skill này làm gì
gget là công cụ tìm thông tin về gen và trình tự sinh học trong các cơ sở dữ liệu gen. Nó cho phép bạn tra cứu chi tiết về gen, tìm trình tự DNA hoặc protein, và thực hiện tìm kiếm tương đồng nhanh.
Khi nào nên dùng
- ✓Khi bạn cần tìm mã định danh (ID) của một gen cụ thể.
- ✓Khi bạn muốn tìm trình tự DNA hoặc protein của một gen.
- ✓Khi bạn muốn so sánh nhanh độ tương đồng giữa các trình tự.
Liên kết skill
https://github.com/affaan-m/ECC/blob/main/skills/scientific-pkg-gget/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy tìm thông tin về gen BRCA1 ở người.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Bạn dùng gget bằng cách gõ lệnh trong terminal hoặc viết một đoạn script Python ngắn. Công cụ kết nối với các cơ sở dữ liệu công khai để lấy thông tin bạn yêu cầu.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
gget
Use this skill when a task needs quick bioinformatics lookup across genomic
reference databases with the gget CLI or Python package.
When to Use
- Finding Ensembl IDs, gene metadata, transcript details, or sequences.
- Running quick BLAST or BLAT lookups without building a full local pipeline.
- Fetching reference genome links and annotations from Ensembl.
- Querying protein structure, pathway, cancer, expression, or disease-association modules through a single interface.
- Creating a reproducible first-pass evidence log before moving to heavier tools such as Biopython, Snakemake, Nextflow, BLAST+, or database-specific clients.
Use a dedicated workflow instead of gget when the task requires regulated
clinical interpretation, high-throughput production pipelines, or fine-grained
control over database versions and local indexes.
Installation
Use a clean Python environment.
python -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install --upgrade gget
gget --help
If uv is available:
uv venv
. .venv/bin/activate
uv pip install gget
Before relying on an older environment, upgrade gget and re-check the module
docs. The upstream databases queried by gget change over time.
Basic Patterns
CLI shape:
gget <module> [arguments] [options]
Python shape:
import gget
result = gget.search(["BRCA1"], species="human")
print(result)
Common workflow:
- Identify the species, assembly, gene ID type, and database needed.
- Check the current module documentation for arguments.
- Run a small query first.
- Save output with an explicit filename and date.
- Record module name, version, arguments, and database assumptions.
Common Modules
Use current upstream docs for exact arguments. These modules are common first choices:
gget search: find Ensembl IDs from search terms.gget info: retrieve metadata for Ensembl, UniProt, or related IDs.gget seq: fetch nucleotide or amino-acid sequences.gget ref: retrieve reference genome download links.gget blast: run a quick BLAST query.gget blat: locate a sequence against supported genome assemblies.gget muscle: run multiple sequence alignment.gget diamond: run local sequence alignment against reference sequences.gget alphafoldandgget pdb: inspect protein-structure references.gget enrichr,gget opentargets,gget archs4,gget bgee,gget cbio, andgget cosmic: explore enrichment, target, expression, cancer, and disease association data.
Do not assume every module supports every Python version or dependency set. Some optional scientific dependencies have narrower version support than the core package.
Quick Examples
Find genes:
gget search -s human brca1 dna repair -o brca1-search.json
Fetch gene metadata:
gget info ENSG00000012048 -o brca1-info.json
Fetch a sequence:
gget seq ENSG00000012048 -o brca1-seq.fa
Run a small BLAST query:
gget blast "MEEPQSDPSVEPPLSQETFSDLWKLLPEN" -l 10 -o blast-results.json
Python example:
import gget
genes = gget.search(["BRCA1", "DNA repair"], species="human")
info = gget.info(["ENSG00000012048"])
sequence = gget.seq("ENSG00000012048")
Reproducibility Log
For scientific outputs, include enough metadata to replay the query.
| Date | gget version | Module | Query | Species/assembly | Output | Notes |
| --- | --- | --- | --- | --- | --- | --- |
| 2026-05-11 | `gget --version` | search | `BRCA1 DNA repair` | human | `brca1-search.json` | Docs checked before run |
Also record:
- Python version and environment manager.
- Any optional dependency installed through
gget setup. - Database-specific identifiers returned by the query.
- Whether output is JSON, CSV, FASTA, or a DataFrame export.
- Any failures that were resolved by upgrading
gget.
Review Checklist
- Did you upgrade or verify the installed
ggetversion? - Did you check the current upstream module docs before using arguments?
- Is the species or assembly explicit?
- Are identifiers preserved exactly, including Ensembl/UniProt prefixes?
- Is the result labeled as database output rather than clinical interpretation?
- Is the query reproducible from the saved command or Python snippet?
- Are optional dependencies installed in an isolated environment?
References
…
Câu hỏi thường gặp
“Cơ sở dữ liệu gen” là gì?
Đó là các tập hợp lớn thông tin về DNA và protein của nhiều sinh vật, như người, do các nhà khoa học sử dụng.
“BLAST” là gì?
BLAST là phương pháp so sánh trình tự DNA hoặc protein để tìm điểm giống nhau, giúp hiểu chức năng của gen hoặc mối liên hệ giữa các trình tự.
Tôi có cần cài đặt gì không?
Có, bạn cần cài gget trên máy tính bằng Python. Hướng dẫn có trong tài liệu.
Chi tiết
Mô tả gốc của tác giả
gget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evidence logs. Use when a task needs quick bioinformatics lookup across genomic reference databases with the gget CLI or Python package.
repo: affaan-m/ECC
Độ phổ biến
- Sao GitHub
- 280k
- Vị trí xếp hạng
- #401
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
accessibility
280kGiúp agent của bạn tạo giao diện mà ai cũng dùng được, đảm bảo website và app hoạt động tốt với người khuyết tật như người mù hoặc khó vận động.
agent-architecture-audit
280kGiúp agent của bạn kiểm tra xem mọi thứ có hoạt động đúng không, đồng thời tìm và sửa các lỗi trong hệ thống AI để chúng chạy như mong đợi.
agent-eval
280kGiúp agent của bạn so sánh các công cụ lập trình AI khác nhau, đo xem công cụ nào nhanh hơn, rẻ hơn và đáng tin cậy hơn cho từng tác vụ.
agent-harness-construction
280kGiúp agent của bạn hiểu rõ hơn cách thực hiện tác vụ, tối ưu các công cụ và chỉ dẫn mà agent dùng để tăng khả năng thành công.
Skill tương tự
discrawl
394kCho phép agent của bạn tìm kiếm và tóm tắt kho lưu trữ tin nhắn Discord trên máy, kiểm tra độ mới của dữ liệu và đọc tin nhắn trực tiếp.
chroma
260kThiết lập Chroma, một cơ sở dữ liệu embedding mã nguồn mở, để lưu tài liệu và tìm kiếm ngữ nghĩa cho các ứng dụng hỏi đáp và truy xuất.
faiss
260kGiúp agent của bạn thiết lập FAISS, thư viện nhanh để tìm các vector tương tự trong bộ sưu tập rất lớn, với hỗ trợ GPU tùy chọn.