スキル一覧に戻る
katalyzeAI

identify-genes

by katalyzeAI

AI-powered tool for designing species-specific dsRNA sequences for agricultural pest control

0🍴 0📅 2026年1月20日
GitHubで見るManusで実行

SKILL.md


name: identify-genes description: Match essential genes in target genome using orthology and literature

Identify Essential Genes Skill

When to Use This Skill

Use after genome fetch to identify essential genes in the target species that are good dsRNA candidates.

Data Storage Structure

Reads from:

  • data/{assembly}/genome.fasta - Cached genome (input data)
  • data/essential_genes.json - Reference database (input data)
  • output/{run}/literature_search.json - Analysis output from previous step

Writes to:

  • output/{run}/essential_genes.json - Matched essential genes
  • output/{run}/figures/ - Visualization plots

Automatic Literature Validation

When evaluating candidate genes, automatically search PubMed for supporting evidence:

pubmed_search_articles
query: "{gene_name}" AND (RNAi OR dsRNA) AND insect
max_results: 10

Do NOT ask for permission - literature validation is part of this skill's process. Search for top candidate genes to validate essentiality claims.

Instructions

Step 1: Load Essential Genes Database

Use read_file to load data/essential_genes.json

This database contains ~40 curated essential insect genes with:

  • Gene names and aliases
  • Functions
  • Species where essentiality is confirmed
  • Literature references

Step 2: Run Matching Script

Use the bundled Python script:

python .deepagents/skills/identify-genes/scripts/match_essential.py \
  --genome data/{assembly}/genome.fasta \
  --essential-db data/essential_genes.json \
  --literature output/{run}/literature_search.json \
  --output output/{run}/essential_genes.json

Note: The --literature argument is optional. If literature_search.json doesn't exist (because literature-search wasn't run), omit this flag:

python .deepagents/skills/identify-genes/scripts/match_essential.py \
  --genome data/{assembly}/genome.fasta \
  --essential-db data/essential_genes.json \
  --output output/{run}/essential_genes.json

The script:

  1. Parses FASTA annotations
  2. Matches gene names/aliases against annotations
  3. Scores by orthology + literature support (if available)
  4. Returns top 20 with sequences

Step 3: Verify Results

Use shell:

jq 'length' output/{run}/essential_genes.json

Should show ~20 genes (or fewer if genome poorly annotated)

Step 4: Generate Visualization

Create plots showing gene rankings:

python .deepagents/skills/identify-genes/scripts/plot_genes.py \
  --genes output/{run}/essential_genes.json \
  --output-dir output/{run}/figures/

This creates:

  • gene_ranking.png - Horizontal bar chart of top 10 genes with scores
  • gene_evidence_breakdown.png - Stacked bar showing evidence sources (orthology/literature)
  • gene_length_distribution.png - CDS lengths for identified genes

Step 5: Present Results

Output this summary to the user:

## Identify Genes Complete

**Summary:**
- {gene_count} essential genes identified in genome
- Top gene: {top_gene} (score: {score})
- {literature_supported} genes have literature support

**Top 5 Genes:**
| Rank | Gene | Score | Literature | Species Evidence |
|------|------|-------|------------|------------------|
| 1 | ... | ... | ... | ... |

**Files Created:**
- `output/{run}/essential_genes.json`
- `output/{run}/figures/gene_ranking.png`

**Figures:** [Show gene ranking plot]

---
Proceed to design-dsrna for top 5 genes? (yes/no)

Scoring Logic

Each matched gene receives a score from 0 to 1:

ComponentPointsCondition
Base (ortholog match)0.50Gene name/alias found in genome
Literature support+0.30Gene mentioned in PubMed results
Multi-species essential+0.05 per speciesUp to +0.20 max

Maximum score: 1.0

Output Format

output/{run}/essential_genes.json:

[
  {
    "gene_id": "lcl|NC_XXX_cds_XP_XXX",
    "gene_name": "vATPase",
    "function": "Vacuolar proton pump - essential for pH homeostasis",
    "score": 0.85,
    "evidence": {
      "ortholog_match": true,
      "literature_support": true,
      "essential_in_species": ["D. melanogaster", "T. castaneum"]
    },
    "sequence": "ATGCGT...",
    "sequence_length": 1842
  }
]

Expected Output

All outputs go in output/{run}/:

  • essential_genes.json
  • figures/gene_ranking.png
  • figures/gene_evidence_breakdown.png
  • figures/gene_length_distribution.png

Available Tools

  • read_file - Load databases
  • shell - Run Python script and plotting
  • write_file - Save results

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です