Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

bio-genome-annotation-functional-annotation

БесплатноЗапускает вложенные скриптыНе проверен

Assign GO terms, KEGG orthologs, Pfam domains, and EC numbers to predicted proteins using eggNOG-mapper and InterProScan. Produces functional summaries for…

gabrielmoreiraот gabrielmoreira★ 23 звезды на GitHub

Об этом скилле

Version Compatibility

Reference examples tested with: pandas 2.2+

Before using code patterns, verify installed versions match. If versions differ:

  • Python: pip show <package> then help(module.function) to check signatures
  • CLI: <tool> --version then <tool> --help to confirm flags

If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.

Functional Annotation

"Functionally annotate my predicted proteins" → Assign GO terms, KEGG orthologs, Pfam domains, and EC numbers to predicted protein sequences using orthology-based and domain-scan methods.

  • CLI: emapper.py -i proteins.fa --output annotations (eggNOG-mapper), interproscan.sh -i proteins.fa (InterProScan)

Assign functional annotations (GO terms, KEGG orthologs, Pfam domains, EC numbers) to predicted protein sequences using eggNOG-mapper and InterProScan.

eggNOG-mapper

Database Setup

# Download eggNOG v5.0 database (~44 GB)
# Required for local searches; use --data_dir to specify location
download_eggnog_data.py --data_dir /path/to/eggnog_db -y

# Download DIAMOND database only (~9 GB, faster setup)
download_eggnog_data.py --data_dir /path/to/eggnog_db -y -D

# Download taxon-specific databases (optional, smaller)
download_eggnog_data.py --data_dir /path/to/eggnog_db -y -t 2 # Bacteria
download_eggnog_data.py --data_dir /path/to/eggnog_db -y -t 2759 # Eukaryota

Basic Usage

emapper.py \
    -i predicted_proteins.faa \
    --output functional_annot \
    --output_dir eggnog_out \
    --data_dir /path/to/eggnog_db \
    --cpu 16 \
    -m diamond

Key Options

Option Description
-i Input protein FASTA
--output Output file prefix
--data_dir Path to eggNOG database
-m Search mode: diamond (fast), mmseqs (sensitive), hmmer
--cpu CPU threads
--tax_scope Taxonomic scope (auto, Bacteria, Eukaryota, etc.)
--go_evidence GO evidence filter (experimental, non-electronic, all)
--target_orthologs Ortholog type (one2one, all)
--seed_ortholog_evalue E-value cutoff (default: 0.001)
--seed_ortholog_score Min bit score (default: 60)
--override Overwrite existing output

With Taxonomic Scope

# Restrict to bacterial orthologs for a prokaryotic genome
emapper.py \
    -i proteins.faa \
    --output annot \
    --output_dir eggnog_out \
    --data_dir /path/to/eggnog_db \
    --cpu 16 \
    -m diamond \
    --tax_scope Bacteria \
    --go_evidence non-electronic

Output Files

eggnog_out/
├── annot.emapper.annotations    # Main annotation table
├── annot.emapper.hits           # DIAMOND/mmseqs hits
├── annot.emapper.seed_orthologs # Best orthologs
└── annot.emapper.pfam           # Pfam domain annotations

Key Output Columns

Column Content
seed_ortholog Best matching ortholog
evalue E-value of best hit
GOs GO term annotations
EC Enzyme Commission numbers
KEGG_ko KEGG ortholog IDs
KEGG_Pathway KEGG pathway mappings
COG_category COG functional category
PFAMs Pfam domain annotations
Description Functional description

InterProScan

InterProScan searches multiple protein signature databases simultaneously.

Basic Usage

interproscan.sh \
    -i predicted_proteins.faa \
    -o interpro_results.tsv \
    -f tsv,gff3 \
    -cpu 16 \
    -goterms \
    -pa

Key Options

Option Description
-i Input protein FASTA
-o Output file
-f Output formats: tsv, gff3, xml, json
-cpu CPU threads
-goterms Include GO term mappings
-pa Include pathway annotations
-appl Specific applications to run (comma-separated)
-dp Disable precalculated match lookup

Select Specific Databases

# Run only Pfam, TIGRFAM, and CDD
interproscan.sh \
    -i proteins.faa \
    -o interpro_results.tsv \
    -f tsv,gff3 \
    -cpu 16 \
    -goterms -pa \
    -appl Pfam,TIGRFAM,CDD

Available Applications

Application Description
Pfam Protein families
TIGRFAM Functionally equivalent protein families
SUPERFAMILY Structural domain assignments
CDD Conserved Domain Database
PANTHER Protein classification
Gene3D Structural domain predictions
Coils Coiled-coil predictions
MobiDBLite Disordered regions
SignalP Signal peptides
TMHMM Transmembrane helices

Merging eggNOG and InterProScan Results

Goal: Combine functional annotations from eggNOG-mapper and InterProScan into a single per-protein table with unified GO terms.

Approach: Parse the eggNOG annotation table and InterProScan TSV output separately, aggregate InterProScan hits per protein, merge on protein ID, and deduplicate GO terms from

Полный SKILL.md на GitHub

Установить bio-genome-annotation-functional-annotation в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

examples/functional_annotation.shexamples/merge_annotations.pyusage-guide.md

FAQ

Что делает скилл bio-genome-annotation-functional-annotation?

Assign GO terms, KEGG orthologs, Pfam domains, and EC numbers to predicted proteins using eggNOG-mapper and InterProScan. Produces functional summaries for downstream pathway and enrichment analysis. Use when adding functional annotation to predicted genes or characterizing protein functions in a new genome.

Как установить скилл bio-genome-annotation-functional-annotation?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл bio-genome-annotation-functional-annotation запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить bio-genome-annotation-functional-annotation с