Skillpedia
قواعد البيانات33k · #8956

gene-database

ما الذي تفعله

تتيح لوكيلك الاستعلام من NCBI Gene، وهي قاعدة بيانات معلومات الجينات لأنواع كثيرة. وهي للعلماء ومستخدمي المعلوماتية الحيوية الذين يحتاجون إلى شروح الجينات.

متى تستخدمها

  • ✓عندما تحتاج إلى معرّف NCBI Gene أو تفاصيله لرمز جين.
  • ✓عندما تريد التسلسلات المرجعية أو المواقع الكروموسومية لقائمة جينات.
  • ✓عندما تحتاج إلى البحث عن جينات كثيرة دفعة واحدة.

رابط المهارة

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/scientific/gene-database/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/scientific/gene-database/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“ابحث عن معرّف NCBI Gene والموقع الكروموسومي للجين TP53 البشري، واعرض نصوصه المرجعية RefSeq.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يستخدم وكيلك واجهة E-utilities من NCBI أو واجهة Datasets للبحث بالرمز أو المعرّف. ثم يعيد سجلات الجينات المطابقة وتفاصيلها المرتبطة.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Gene Database

Overview

NCBI Gene is a comprehensive database integrating gene information from diverse species. It provides nomenclature, reference sequences (RefSeqs), chromosomal maps, biological pathways, genetic variations, phenotypes, and cross-references to global genomic resources.

When to Use This Skill

This skill should be used when working with gene data including searching by gene symbol or ID, retrieving gene sequences and metadata, analyzing gene functions and pathways, or performing batch gene lookups.

Quick Start

NCBI provides two main APIs for gene data access:

  1. E-utilities (Traditional): Full-featured API for all Entrez databases with flexible querying
  2. NCBI Datasets API (Newer): Optimized for gene data retrieval with simplified workflows

Choose E-utilities for complex queries and cross-database searches. Choose Datasets API for straightforward gene data retrieval with metadata and sequences in a single request.

Common Workflows

Search Genes by Symbol or Name

To search for genes by symbol or name across organisms:

  1. Use the scripts/query_gene.py script with E-utilities ESearch
  2. Specify the gene symbol and organism (e.g., "BRCA1 in human")
  3. The script returns matching Gene IDs

Example query patterns:

  • Gene symbol: insulin[gene name] AND human[organism]
  • Gene with disease: dystrophin[gene name] AND muscular dystrophy[disease]
  • Chromosome location: human[organism] AND 17q21[chromosome]

Retrieve Gene Information by ID

To fetch detailed information for known Gene IDs:

  1. Use scripts/fetch_gene_data.py with the Datasets API for comprehensive data
  2. Alternatively, use scripts/query_gene.py with E-utilities EFetch for specific formats
  3. Specify desired output format (JSON, XML, or text)

The Datasets API returns:

  • Gene nomenclature and aliases
  • Reference sequences (RefSeqs) for transcripts and proteins
  • Chromosomal location and mapping
  • Gene Ontology (GO) annotations
  • Associated publications

Batch Gene Lookups

For multiple genes simultaneously:

  1. Use scripts/batch_gene_lookup.py for efficient batch processing
  2. Provide a list of gene symbols or IDs
  3. Specify the organism for symbol-based queries
  4. The script handles rate limiting automatically (10 requests/second with API key)

This workflow is useful for:

  • Validating gene lists
  • Retrieving metadata for gene panels
  • Cross-referencing gene identifiers
  • Building gene annotation tables

Search by Biological Context

To find genes associated with specific biological functions or phenotypes:

  1. Use E-utilities with Gene Ontology (GO) terms or phenotype keywords
  2. Query by pathway names or disease associations
  3. Filter by organism, chromosome, or other attributes

Example searches:

  • By GO term: GO:0006915[biological process] (apoptosis)
  • By phenotype: diabetes[phenotype] AND mouse[organism]
  • By pathway: insulin signaling pathway[pathway]

API Access Patterns

Rate Limits:

  • Without API key: 3 requests/second for E-utilities, 5 requests/second for Datasets API
  • With API key: 10 requests/second for both APIs

Authentication: Register for a free NCBI API key at https://www.ncbi.nlm.nih.gov/account/ to increase rate limits.

Error Handling: Both APIs return standard HTTP status codes. Common errors include:

  • 400: Malformed query or invalid parameters
  • 429: Rate limit exceeded
  • 404: Gene ID not found

Retry failed requests with exponential backoff.

Script Usage

query_gene.py

Query NCBI Gene using E-utilities (ESearch, ESummary, EFetch).

python scripts/query_gene.py --search "BRCA1" --organism "human"
python scripts/query_gene.py --id 672 --format json
python scripts/query_gene.py --search "insulin[gene] AND diabetes[disease]"

fetch_gene_data.py

Fetch comprehensive gene data using NCBI Datasets API.

python scripts/fetch_gene_data.py --gene-id 672
python scripts/fetch_gene_data.py --symbol BRCA1 --taxon human
python scripts/fetch_gene_data.py --symbol TP53 --taxon "Homo sapiens" --output json

batch_gene_lookup.py

Process multiple gene queries efficiently.

python scripts/batch_gene_lookup.py --file gene_list.txt --organism human
python scripts/batch_gene_lookup.py --ids 672,7157,5594 --output results.json

API References

For detailed API documentation including endpoints, parameters, response formats, and examples, refer to:

  • references/api_reference.md - Comprehensive API doc
الأسئلة الشائعة

ما الفرق بين E-utilities وواجهة Datasets؟

تقول المهارة إن E-utilities مناسبة للاستعلامات المعقدة، بينما تعطي واجهة Datasets بيانات الجينات والتسلسلات في طلب واحد.

هل يمكنها التعامل مع جينات كثيرة؟

نعم. تذكر المهارة عمليات البحث الدفعية.

ما تفاصيل الجين التي تُدرج؟

تذكر المهارة RefSeqs ومصطلحات GO والمواقع والصفات الظاهرية.

التفاصيل

الوصف الأصلي من المؤلف

Query NCBI Gene via E-utilities/Datasets API. Search by symbol/ID, retrieve gene info (RefSeqs, GO, locations, phenotypes), batch lookups, for gene annotation and functional analysis.

repo: davila7/claude-code-templates

الشعبية

نجوم GitHub
33k
الترتيب
#8956
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة