tooluniverse-population-genetics-1000genomes

mims-harvard/tooluniverse

Популяционная генетика по данным 1000 Genomes: частоты вариантов и анализ происхождения.

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

Установка

SKILL.md

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.

Population Genetics with 1000 Genomes (IGSR)

Use IGSR tools to search 1000 Genomes populations and samples, explore data collections, and combine with GWAS tools for population-stratified analysis.

When to Use

  • "List all African (AFR) populations in the 1000 Genomes Project"
  • "Find samples from the YRI (Yoruba) population"
  • "What 1000 Genomes data collections are available?"
  • "Which GWAS SNPs for type 2 diabetes have population-specific effects?"
  • "Find all SNPs mapped to TCF7L2 in GWAS studies"

NOT for (use other skills instead)

  • Allele frequencies from gnomAD -> Use tooluniverse-population-genetics
  • ClinVar / OMIM variant interpretation -> Use tooluniverse-variant-interpretation
  • GWAS fine-mapping -> Use tooluniverse-gwas-finemapping

Phase 1: Search 1000 Genomes Populations

IGSR_search_populations: superpopulation (string/null, one of AFR/AMR/EAS/EUR/SAS), query (string/null, free-text search by name), limit (int). Returns {status, data: {total, populations: [{code, name, description, sample_count, superpopulation_code, superpopulation_name, latitude, longitude}]}, metadata: {source, filter_superpopulation, filter_query}}.

Superpopulation codes:

CodeAncestry
AFRAfrican
AMRAdmixed American
EASEast Asian
EUREuropean
SASSouth Asian
// List all AFR populations
{"superpopulation": "AFR", "limit": 10}

// Search by name (free-text)
{"query": "Yoruba", "limit": 5}

// List all populations
{"limit": 26}

Response example:

{
  "status": "success",
  "data": {
    "total": 3,
    "populations": [
      {"code": "YRI", "name": "Yoruba", "description": "Yoruba in Ibadan, Nigeria",
       "sample_count": 188, "superpopulation_code": "AFR", "superpopulation_name": "African Ancestry"}
    ]
  }
}

Phase 2: Search Samples by Population

IGSR_search_samples: population (string/null, population code e.g. "YRI"), data_collection (string/null, collection title), sample_name (string/null, specific sample e.g. "NA12878"), limit (int). Returns {status, data: {total, samples: [{name, sex, biosample_id, populations: [{code, name, superpopulation}], data_collections: [...]}]}}.

// Find all YRI samples
{"population": "YRI", "limit": 10}

// Look up the reference sample NA12878
{"sample_name": "NA12878", "limit": 1}

// Find samples in the 30x high-coverage collection
{"data_collection": "1000 Genomes 30x on GRCh38", "limit": 5}

NOTE: population takes a population code (e.g. "YRI", "GBR", "CHB"), not a superpopulation code. Use IGSR_search_populations first to get population codes if starting from a superpopulation.


Phase 3: List Data Collections

IGSR_list_data_collections: limit (int). Returns {status, data: {total, collections: [{code, title, short_title, sample_count, population_count, data_types, website}]}}.

{"limit": 20}

Key collections available (18 total):

CollectionDescriptionData Types
1000 Genomes on GRCh382709 samples, 26 populationssequence, alignment, variants
1000 Genomes 30x on GRCh38High-coverage resequencingsequence, alignment, variants
1000 Genomes phase 3 releaseOriginal phase 3sequence, alignment, variants
Human Genome Structural Variation ConsortiumHGSVC SV discoverysequence, alignment
MAGE RNA-seqRNA-seq data-
GeuvadisExpression + genotype-

Phase 4: GWAS Context for Population Stratification

Search GWAS associations for a trait

gwas_search_associations: trait (string, free text), limit (int). Returns GWAS associations with rsID, p-value, mapped genes, EFO trait IDs.

{"trait": "type 2 diabetes", "limit": 10}

Get variants for a specific trait (by EFO ID)

gwas_get_variants_for_trait: trait (string, EFO ID e.g. "EFO_0001645"), limit (int).

{"trait": "EFO_0001645", "limit": 10}

Find SNPs in a gene from GWAS catalog

gwas_get_snps_for_gene: gene_symbol (string), limit (int). Returns SNPs mapped to the gene with rsIDs, genomic positions, functional classes.

{"gene_symbol": "TCF7L2", "limit": 10}

Workflow: Population Stratification in GWAS

Step 1 -- Find populations of interest:

// Get all EUR populations
{"superpopulation": "EUR", "limit": 10}
// -> Returns codes like GBR, FIN, CEU, TSI, IBS

Step 2 -- Get samples from target population:

// Get YRI samples (AFR)
{"population": "YRI", "limit": 100}

Step 3 -- Get GWAS SNPs for the gene or trait:

// GWAS hits for TCF7L2 (T2D gene)
{"gene_symbol": "TCF7L2", "limit": 20}

Step 4 -- Cross-reference with population data for stratification analysis.


Common Population Codes

CodePopulationSuperpopulation
YRIYoruba in Ibadan, NigeriaAFR
LWKLuhya in Webuye, KenyaAFR
GWDGambian MandinkaAFR
CEUUtah residents (CEPH)EUR
GBRBritish in England/ScotlandEUR
FINFinnish in FinlandEUR
TSIToscani in ItaliaEUR
CHBHan Chinese in BeijingEAS
JPTJapanese in TokyoEAS
CHSSouthern Han ChineseEAS
MXLMexican Ancestry in LAAMR
PURPuerto Rican in Puerto RicoAMR
GIHGujarati Indian in HoustonSAS
PJLPunjabi from LahoreSAS

Reasoning Framework for Result Interpretation

Evidence Grading

GradeCriteriaExample
StrongAF difference > 0.2 across superpopulations, GWAS p < 5e-8, replicated in multiple cohortsrs7903146 (TCF7L2) with AF = 0.30 EUR vs 0.05 EAS, GWAS p = 1e-40
ModerateAF difference 0.05-0.2, GWAS p < 5e-8 in one ancestry, nominal in othersVariant with AF = 0.15 AFR vs 0.08 EUR, GWAS p < 5e-8 in EUR only
WeakAF difference < 0.05, GWAS p < 5e-8 but single study, no cross-ancestry replicationCommon variant with similar AF across populations, significant in one cohort
Population-specificVariant common (AF > 0.01) in one superpopulation, rare (AF < 0.01) in othersSickle cell variant (rs334) AF ~0.10 in AFR, < 0.001 elsewhere

Interpretation Guidance

  • Allele frequency interpretation by ancestry: Allele frequencies vary across superpopulations (AFR, AMR, EAS, EUR, SAS) due to genetic drift, selection, and demographic history. AFR populations have the highest genetic diversity and longest haplotypes broken by recombination. Disease-risk alleles may be common in one ancestry and rare in another, leading to differential genetic risk across populations.
  • Fst significance thresholds: Fst measures population differentiation (0 = no differentiation, 1 = complete fixation of different alleles). Global Fst for human populations averages ~0.12. Locus-specific Fst > 0.3 suggests strong differentiation (possible selection). Fst > 0.5 is extreme and rare in humans outside known selection targets (e.g., SLC24A5 for skin pigmentation). Compare locus Fst against genome-wide distribution to identify outliers.
  • LD interpretation: Linkage disequilibrium (LD) patterns differ by ancestry. AFR populations have shorter LD blocks due to older demographic history, requiring denser genotyping for fine-mapping. EUR and EAS populations have longer LD blocks. When a GWAS hit is in LD with multiple variants, the causal variant is more likely to be resolved in AFR-ancestry data. Report r-squared values: r2 > 0.8 = strong LD, 0.2-0.8 = moderate, < 0.2 = weak.
  • Population stratification: Uncontrolled population structure in GWAS inflates false positives. The 1000 Genomes superpopulation labels provide a framework for stratified analysis. Mixed-ancestry samples (e.g., AMR) require local ancestry deconvolution for accurate interpretation.
  • Sample size context: 1000 Genomes has ~2500 samples across 26 populations. Population-specific allele frequencies have limited precision for smaller populations (N < 100). For rare variants (AF < 0.01), larger resources like gnomAD provide more reliable estimates.

Synthesis Questions

  1. Does the allele frequency of the variant of interest differ meaningfully (> 5%) across superpopulations, and could this explain differential disease prevalence or GWAS effect sizes?
  2. Is the GWAS association replicated across ancestries, or is it population-specific, potentially due to LD structure differences or population-specific selection?
  3. For fine-mapping, does the LD pattern in AFR populations narrow the association signal compared to EUR, helping identify the likely causal variant?
  4. Are the population labels and sample sizes in the 1000 Genomes dataset adequate for the analysis, or is the target population underrepresented?
  5. Could population stratification (uncontrolled ancestry differences between cases and controls) explain the observed association, rather than a true genetic effect?

Tool Parameter Quick Reference

ToolKey ParametersNotes
IGSR_search_populationssuperpopulation, query, limitsuperpopulation: AFR/AMR/EAS/EUR/SAS
IGSR_search_samplespopulation, data_collection, sample_name, limitpopulation = population code (e.g. YRI)
IGSR_list_data_collectionslimit18 collections total
gwas_search_associationstrait, limitfree-text trait search
gwas_get_variants_for_traittrait, limittrait = EFO ID
gwas_get_snps_for_genegene_symbol, limitreturns mapped SNPs

Вставить в README

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

[DarkPlay: tooluniverse-population-genetics-1000genomes](https://darkplay.ru/ai/skills/mims-harvard-tooluniverse-tooluniverse-population-genetics-1000genomes)

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

tooluniverse-lipidomics Анализ липидов и их связи с заболеваниями через LIPID MAPS, HMDB, KEGG и PubChem. ★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-metabolomics-pathway Анализ метаболических путей: идентификация метаболитов, картирование путей, связи с болезн ★1,8K tooluniverse-comparative-genomics Сравнение генов между видами и анализ ортологов через Ensembl, NCBI, UniProt и другие базы ★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 устан.
Похожее в других разделах каталога

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

ada-pdf-complianceanthropics · Аудит и исправление доступности PDF для соответствия ADA/Section 508/PDF-UA…
38 комп.
tooluniversemims-harvard · 1000+ научных инструментов, 120+ исследовательских навыков, MCP-сервер и слэш-команды
148 комп.
Environmental Change Simulator AgentChrisRoyse · Моделирует изменения экосистем и биоразнообразия по экологическим данным и моделям…
114 ★
Population Dynamics Forecasting AgentChrisRoyse · Прогнозирует демографию и миграцию на основе данных переписей.
114 ★
target-prioritizationagents365-ai · Оценка связей «лекарство–мишень» по UniProt, OpenTargets и PubMed.
12 комп.
Census ACS Demographics· Население, доходы, бедность, образование, жильё и маятниковые миграции из US Census ACS.
—
Country Generator· Столицы, население и границы стран, а также викторины по географии с ИИ.
—
Data Bahrainpipeworx-io · MCP для открытых данных Бахрейна: население, образование, ВВП, рынок труда.
—
Data Qatarpipeworx-io · Открытые данные Катара: население, экономика, торговля, статистика ЦУР.
—
Eurostat StatisticsTaru0208 · Доступ к европейской статистике: ВВП, безработица, инфляция, население.
—

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

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

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