tooluniverse-comparative-genomics

mims-harvard/tooluniverse

Сравнение генов между видами и анализ ортологов через Ensembl, NCBI, UniProt и другие базы.

Звёзды1 795
Авторmims-harvard

Установка

SKILL.md

Comparative Genomics & Ortholog Analysis

Cross-species gene comparison, ortholog identification, sequence retrieval, and functional conservation analysis integrating Ensembl Compara, NCBI, UniProt, OLS, Monarch, and OpenTargets.

LOOK UP, DON'T GUESS

When uncertain about any scientific fact, SEARCH databases first (PubMed, UniProt, ChEMBL, ClinVar, etc.) rather than reasoning from memory. A database-verified answer is always more reliable than a guess.

COMPUTE, DON'T DESCRIBE

When analysis requires computation (statistics, data processing, scoring, enrichment), write and run Python code via Bash. Don't describe what you would do — execute it and report actual results. Use ToolUniverse tools to retrieve data, then Python (pandas, scipy, statsmodels, matplotlib) to analyze it.

When to Use This Skill

Triggers:

  • "Find the mouse ortholog of [human gene]"
  • "Compare [gene] across species"
  • "Is [gene] conserved in [organism]?"
  • "What are the orthologs of [gene]?"
  • "Cross-species comparison of [gene/protein]"
  • "Evolutionary conservation of [gene]"
  • "Compare GO annotations between human and mouse [gene]"

Use Cases:

  1. Ortholog Discovery: Find equivalent genes in other species for a human gene
  2. Conservation Analysis: Assess how conserved a gene is across evolutionary distance
  3. Functional Comparison: Compare GO terms, domains, and annotations across orthologs
  4. Model Organism Selection: Determine which model organism best recapitulates human gene function
  5. Gene Tree Analysis: Visualize evolutionary history of a gene family
  6. Cross-Species Phenotype Bridging: Link human disease phenotypes to model organism phenotypes via orthologs

Conservation Reasoning Framework

Understanding conservation requires distinguishing between types of evolutionary patterns and what they imply about function.

High conservation signals functional constraint. When a gene is maintained as a 1:1 ortholog from yeast to humans, purifying selection has prevented sequence divergence — the gene's function is essential and cannot be easily altered. Highly conserved positions within a protein sequence (high PhastCons scores > 0.8, or GERP RS > 4) are under strong constraint; mutations at these positions are disproportionately pathogenic. For non-coding regions, conservation in mammals at PhastCons > 0.5 suggests a candidate regulatory element.

Low conservation in one lineage has two possible explanations: relaxed selection or positive selection. Use the dN/dS ratio (nonsynonymous to synonymous substitution rate) to distinguish them. A dN/dS ratio near 1 suggests neutral evolution — the gene is no longer under purifying selection (relaxed constraint, possibly reflecting loss of function in that lineage). A dN/dS ratio > 1 indicates positive selection — the gene is diverging faster than neutral expectation, often because it is adapting to a new environment or function. A dN/dS ratio << 1 is the signature of purifying selection (functional constraint). When a vertebrate gene shows high divergence in a specific branch of the tree, ask which explanation applies before concluding that function is lost.

Computing dN/dS. The data path: ensembl_get_homology(...) → the 1:1 ortholog IDs → EnsemblSeq_get_id_sequence(id=..., type="cds") for each → codon-align the two CDS (orthologous CDS are usually directly alignable; for divergent pairs align the protein and back-translate) → compute dN/dS. Prefer the Sequence_dn_ds tool — one call returns structured dN, dS, dN_dS, per-site counts, and an interpretation:

Sequence_dn_ds(seq1="ATG...", seq2="ATG...")        # inline codon-aligned CDS
Sequence_dn_ds(fasta1_path="human.fa", fasta2_path="mouse.fa")

It implements the Nei-Gojobori (1986) estimator with Jukes-Cantor correction (the bundled scripts/dnds.py is the identical CLI form, validated against Biopython NG86). dN_dS is null when dS is 0 or uncorrectable (too few/too many substitutions) — do not over-interpret a single high-divergence pair without enough synonymous sites.

Ortholog relationship type shapes interpretation. A 1:1 ortholog (one gene in human, one in mouse) is the highest-confidence functional equivalent — it has not been duplicated in either lineage, so it most likely performs the same ancestral role. A 1:many relationship (one gene in human, multiple in mouse) means the target species has duplicated the gene; the copies may have subfunctionalized (each copy performs a subset of the original roles) or neofunctionalized (one copy gained a new role). Do not assume both copies retain full ancestral function. A many:many relationship reflects complex duplication history in both species and requires analyzing each paralog pair individually.

Conservation depth predicts essentiality. A gene conserved across all vertebrates suggests a fundamental cellular process. A gene conserved only in mammals suggests a more specialized vertebrate innovation. A gene present only in primates or only in humans is likely a recent evolutionary acquisition, possibly involved in human-specific biology but often lacking the depth of functional characterization available for deeply conserved genes.

Absence of an ortholog is a finding, not an error. Lineage-specific genes exist and are biologically meaningful. Before concluding a gene is lineage-specific, check: (1) whether BLAST with relaxed thresholds finds distant homologs, (2) whether a highly divergent ortholog exists that Ensembl Compara missed, and (3) whether the gene belongs to a rapidly evolving family (immune genes, olfactory receptors, reproductive proteins) where turnover is expected.


Workflow Overview

Input (gene symbol/ID + reference species)
  |
  v
Phase 1: Gene Identification & Validation
  |
  v
Phase 2: Ortholog Discovery (Ensembl Compara + OpenTargets)
  |
  v
Phase 3: Sequence Retrieval (NCBI + Ensembl)
  |
  v
Phase 4: Functional Annotation Comparison (UniProt + OLS GO terms)
  |
  v
Phase 5: Cross-Species Phenotype Bridging (Monarch)
  |
  v
Phase 6: Gene Tree & Evolutionary Context (Ensembl Compara)
  |
  v
Report: Conservation summary, ortholog evidence, functional comparison, phenotype bridging

Phase 1: Gene Identification & Validation

ensembl_lookup_gene takes gene_id (symbol or Ensembl ID). The species parameter is REQUIRED when using gene symbols (e.g., species="homo_sapiens"); omitting it causes errors. Extract the Ensembl gene ID, description, biotype, and chromosomal coordinates for downstream queries. For non-human references, adjust species accordingly (e.g., "mus_musculus", "danio_rerio").


Phase 2: Ortholog Discovery

EnsemblCompara_get_orthologues is the primary tool. It takes gene (symbol or Ensembl ID), species (source species, default "human"), and optionally target_species (e.g., "mouse", "zebrafish") or target_taxon (NCBI taxon ID). Omit target_species to get all orthologs across the tree; filter client-side for specific species. It returns homology type (one2one, one2many, many2many) and the taxonomy divergence level for each ortholog.

ensembl_get_homology is the alternative when you need sequence-level data alongside the ortholog mapping. Use sequence="protein" and aligned=true for aligned sequence comparison across species.

OpenTargets_get_target_homologues_by_ensemblID (takes ensemblId) provides supplementary ortholog data from OpenTargets, which can add druggability context and cross-reference with model organism phenotype data.

Reasoning: Prioritize 1:1 orthologs as high-confidence functional equivalents. For 1:many cases, report all copies and flag the need for paralog-specific functional analysis. If no Ensembl Compara entry exists, try BLAST as a last resort (note: BLAST protein search against swissprot is slow, 5-30 minutes; against nr may take longer).

Key model organisms to check: mouse (taxon 10090), rat (10116), zebrafish (7955), fruit fly (7227), C. elegans (6239), S. cerevisiae (4932).


Phase 3: Sequence Retrieval

Use NCBI_search_nucleotide (takes organism as full name, e.g., "Homo sapiens"; gene; seq_type = "mRNA") to find sequence records, then NCBI_fetch_accessions to convert UIDs to accession numbers, then NCBI_get_sequence to retrieve FASTA data. Prefer RefSeq (NM_* for mRNA, NP_* for protein) over other accessions for canonical sequence.

When aligned sequences are needed directly, ensembl_get_homology with sequence="cdna" or sequence="protein" is faster than running BLAST. Use BLAST only when Ensembl Compara does not find orthologs.


Phase 4: Functional Annotation Comparison

UniProt_search takes a query in UniProt syntax (e.g., "gene:TP53 AND organism_id:9606 AND reviewed:true") and fields to retrieve specific annotation columns including GO terms. Use reviewed:true to restrict to Swiss-Prot curated entries.

UniProt_get_function_by_accession takes a UniProt accession and returns a list of function description strings (not a dict).

For each species being compared, retrieve GO terms and group them by Biological Process (BP), Molecular Function (MF), and Cellular Component (CC). Shared GO terms indicate conserved function; terms present in human but absent in the ortholog may reflect annotation bias (less-studied organisms have fewer GO annotations) rather than true functional divergence. Focus conservation claims on shared terms.

Reasoning about annotation gaps: If a mouse ortholog lacks a GO term present in the human protein, consider that this may reflect incomplete annotation of the mouse gene rather than functional divergence. The inverse — a GO term in mouse that is absent in human — is less common but can indicate diverged or acquired function.


Phase 5: Cross-Species Phenotype Bridging

Monarch_search_gene (takes query as gene symbol) returns gene CURIEs needed for Monarch queries. Monarch_get_gene_phenotypes and Monarch_get_gene_diseases take a gene CURIE (e.g., "HGNC:11998") and return phenotype/disease associations spanning multiple species.

Phenotype ontologies by species: Human = HP (HPO), Mouse = MP (Mammalian Phenotype), Zebrafish = ZP, Fly = FBcv. Monarch integrates across species; compare phenotype themes (e.g., "tumor susceptibility" in human and "increased tumor incidence" in mouse) rather than requiring exact term matches.

Reasoning for model organism selection: A mouse ortholog that has a 1:1 relationship AND shows phenotypes in Monarch that recapitulate the human disease is a strong disease model candidate. If the mouse phenotype diverges significantly from the human disease phenotype, this is worth flagging — it could indicate species-specific function or a limitation of the model.


Phase 6: Gene Tree & Evolutionary Context

EnsemblCompara_get_gene_tree (takes gene, species) returns the gene tree members, species distribution, and speciation vs. duplication events. EnsemblCompara_get_paralogues returns all paralogs in the source species.

From the gene tree, assess: (1) how many species contain a member of this gene family; (2) when gene duplication events occurred (ancient vs. recent); (3) whether the gene family expanded in particular lineages. A gene present in a single copy across all vertebrates (deep conservation, no duplication) is likely under strong selective constraint.

Genome-assembly context for a comparison species: When a species' ortholog calls look incomplete or you need the underlying reference assembly, use NCBIDatasets_list_genomes_by_taxon (params taxon as tax_id, limit, reference_only) to find the reference genome, NCBIDatasets_get_genome_assembly (param accession) for assembly metrics (contiguity/N50/completeness — a fragmented assembly can cause spurious "missing ortholog" calls), and NCBIDatasets_get_sequence_reports (param accession) for the chromosome/scaffold replicon map. For a full assembly-QC workflow on microbial genomes, see the tooluniverse-microbial-genome-characterization skill.


Synthesis Questions

When interpreting the assembled evidence, work through these questions:

  1. Is the ortholog relationship 1:1 or has duplication created paralogs that may have diverged in function? This determines how directly findings in the model organism translate to the human gene.
  2. Do orthologs share conserved GO terms (especially Biological Process), or are there lineage-specific functional annotations suggesting divergence?
  3. For disease gene studies, does the model organism ortholog recapitulate relevant human phenotypes (via Monarch), supporting its use as a disease model?
  4. Сохраняются ли также некодирующие регуляторные области вокруг гена (PhastCons/GERP из OpenCRAVAT), что указывает на сохранение регуляции гена помимо функции белка?
  5. Если ортолог не найден, действительно ли ген специфичен для линии, или может существовать сильно дивергировавший гомолог, обнаруживаемый только чувствительными методами поиска последовательностей?

Резервные стратегии

  • Ортолог не найден в Ensembl Compara: Попробуйте ensembl_get_homology, затем OpenTargets_get_target_homologues_by_ensemblID, затем BLAST как крайнюю меру. Если вид отсутствует в Compara, подтвердите наличие референсной сборки через NCBIDatasets_list_genomes_by_taxon и проверьте её контигуальность с помощью NCBIDatasets_get_genome_assembly прежде чем заключить, что ген действительно отсутствует
  • Не удаётся получить последовательность: Используйте ensembl_get_homology с sequence="cdna" как альтернативу NCBI
  • UniProt возвращает пустой результат с reviewed:true: Попробуйте без этого фильтра; организм может иметь только записи TrEMBL
  • Monarch не возвращает данных: Используйте MonarchV3_get_associations с category="biolink:GeneToPhenotypicFeatureAssociation" как альтернативу
  • Символ гена неоднозначен между видами: Используйте идентификаторы Ensembl повсюду, чтобы избежать путаницы с символами (например, "p53" vs "tp53" у zebrafish)

Ограничения

  • Ensembl Compara: Лучше всего подходит для позвоночных; покрытие беспозвоночных и растений ограничено для некоторых семейств генов
  • BLAST_protein_search: Очень медленно (5-30 мин); используйте только как крайнюю меру для поиска ортологов
  • Monarch: Покрытие фенотипов варьируется по организмам; лучше всего покрыты mouse и zebrafish; данные по fly и worm более разрежены
  • Аннотации GO в UniProt: Смещение в сторону хорошо изученных организмов; отсутствие аннотации не означает отсутствие функции
  • NCBI_search_nucleotide: Может возвращать множество изоформ; фильтруйте по RefSeq (NM_*) для канонических транскриптов
  • Сохранение не равно эссенциальности: Некоторые высококонсервативные гены необязательны в определённых организмах

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: tooluniverse-comparative-genomics](https://darkplay.ru/ai/skills/mims-harvard-tooluniverse-tooluniverse-comparative-genomics)

Из того же репозитория

tooluniverse-metabolomics-pathway Анализ метаболических путей: идентификация метаболитов, картирование путей, связи с болезн ★1,8K tooluniverse-population-genetics-1000genomes Популяционная генетика по данным 1000 Genomes: частоты вариантов и анализ происхождения. ★1,8K tooluniverse-model-organism-genetics Межвидовой генетический анализ через базы модельных организмов: MGI, ZFIN, FlyBase, SGD и ★1,8K tooluniverse-kegg-disease-drug Сеть болезнь–лекарство–вариант на основе баз KEGG для репозиционирования препаратов. ★1,8K tooluniverse-adverse-outcome-pathway Связь химических веществ с неблагоприятными исходами (AOP) через AOPWiki, GHS и IARC. ★1,8K tooluniverse-electron-microscopy Поиск и анализ данных электронной микроскопии: карты крио-ЭМ, модели PDB, EMPIAR, CryoET. ★1,8K tooluniverse-pathway-disease-genetics Связывание вариантов GWAS с генами, путями (Reactome, KEGG, WikiPathways) и лекарствами-ми ★1,8K tooluniverse-protein-modification-analysis Анализ посттрансляционных модификаций: фосфорилирование, убиквитинирование, ацетилирование ★1,8K

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

bio-researchanthropics · Подключение к инструментам и базам данных доклинических исследований (поиск литературы…
233 комп.
comparative-landscape-briefanthropics · Готовит структурированный брифинг, сравнивающий от трёх до восьми организаций, продуктов…
38 комп.
prontonlp-pluginanthropics · Плагин ProntoNLP — набор для финансового анализа, превращающий сложные данные и звонки о…
38 комп.
sciagent-skillsanthropics · 197 готовых навыков по life sciences, превращающих Claude в эксперта по геномике…
38 комп.
tooluniversemims-harvard · 1000+ научных инструментов, 120+ исследовательских навыков, MCP-сервер и слэш-команды
148 комп.
pm-realestatemohitagw15856 · Недвижимость: листинг, сравнительный анализ, оффер, инвесторанализ, open house и скрининг…
763 комп.
clawbioClawBio · 31 навык биоинформатики: фармакогеномика, PCA предков, scRNA-seq, метагеномика, GWAS и…
100 комп.
Block Genomics — Nexus ProtocolBitmapAsset · Подтверждение владения блоком Bitcoin через BIP-322 и регистрация ИИ-агентов в Nexus…
—
Cbioportalpipeworx-io · cBioPortal MCP — портал онкогеномики.
—
com.gencove.consumer/mcp· Потребительская геномика Gencove: профиль, статус набора, происхождение, PRS, сырые…
—

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации текста и копирайтинга

Генерация текста и копирайтинг

Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра

NeuroscribeNeuroscribe
Есть бесплатный тариф
5.0
GoGPTGogpt
По запросу
5.0
ChatsonicChatsonic
По запросу
4.9
НейроТекстерNeuro-texter
По запросу
4.9
ChatGPTOpenAI
По подписке
4.9
Редактум
Есть бесплатный тариф
4.8
ChadGPTChadgpt
По запросу
4.8
Cosmo ScribeCosmoscribe
Есть бесплатный тариф
4.8
Memo HelperCopilot33
По запросу
4.8
LibraChatLibrachat
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации изображений

Генерация изображений

Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты

MagviMagvi
По запросу
5.0
DALL-E 3OpenAI
По подписке
5.0
SupaLabSupalab
По запросу
5.0
Freestyling.aiFreestyling
Есть бесплатный тариф
4.9
ArtGeneration.meArtgeneration
Есть бесплатный тариф
4.9
BigjpgBigjpg
По запросу
4.9
Художник от VKVK
Бесплатно
4.9
Wonderink — ИИ-книги
Есть бесплатный тариф
4.8
Avato AI12ai
По запросу
4.8
Virton AIVirton
По запросу
4.8