agentsclimarketplace

Multi ancestry prs agent

Skill rbr7/MedClawMini/skills/multi-ancestry-prs-agent

AI-powered multi-ancestry polygenic risk score calculation and optimization for equitable disease risk prediction across diverse global populations.From its SKILL.md

Install
npx -y skills add rbr7/MedClawMini --skill multi-ancestry-prs-agent

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

7.0 KB, ~1.6k tokens by cl100k_base, as published. Nobody here has run it

Multi-Ancestry PRS Agent

The Multi-Ancestry PRS Agent provides AI-optimized polygenic risk score calculation designed to work across diverse ancestral populations. It addresses the critical limitation of European-biased GWAS by integrating trans-ancestry methods, improving risk prediction for underrepresented populations and enabling equitable precision medicine.

When to Use This Skill

  • When calculating PRS for non-European ancestry individuals.
  • For developing trans-ancestry risk prediction models.
  • To reduce PRS bias across ancestral populations.
  • When integrating multi-ancestry GWAS summary statistics.
  • For research on PRS portability and equity.

Core Capabilities

  1. Multi-Ancestry PRS: Calculate ancestry-aware polygenic scores.

  2. Trans-Ancestry Optimization: Optimize weights across populations.

  3. Local Ancestry Integration: Account for admixed genomes.

  4. Ensemble Methods: Combine multiple PRS approaches.

  5. Ancestry Calibration: Population-specific score calibration.

  6. Equity Assessment: Evaluate prediction fairness across groups.

Supported Ancestries

AncestryTraining Data AvailabilityPRS Performance
European (EUR)ExcellentHigh
East Asian (EAS)GoodGood
South Asian (SAS)ModerateModerate
African (AFR)LimitedLower
Hispanic/Latino (AMR)LimitedVariable
Middle Eastern (MID)Very LimitedLower

Multi-Ancestry Methods

MethodApproachBest For
PRS-CSxCross-population shrinkageMulti-ancestry
PRS-MultiMulti-population trainingLarge cohorts
EnsembleCombined methodsBest overall
Local AncestryAncestry-specific weightsAdmixed populations
GPSMultIntegrated multi-traitCorrelated traits

Workflow

  1. Input: Individual genotypes, target ancestry, disease/trait.

  2. Ancestry Inference: Determine genetic ancestry.

  3. Method Selection: Choose optimal PRS approach.

  4. Score Calculation: Compute ancestry-aware PRS.

  5. Calibration: Apply population-specific calibration.

  6. Risk Stratification: Categorize into risk groups.

  7. Output: PRS, percentile, clinical interpretation.

Example Usage

User: "Calculate multi-ancestry coronary artery disease PRS for this admixed individual with African and European ancestry."

Agent Action:

python3 Skills/Precision_Medicine/Multi_Ancestry_PRS_Agent/calc_prs.py \
    --genotypes patient_genotypes.vcf.gz \
    --ancestry admixed_AFR_EUR \
    --local_ancestry lai_segments.bed \
    --trait coronary_artery_disease \
    --method prs_csx \
    --gwas_summary_stats eur_gwas.txt,afr_gwas.txt \
    --calibration_cohort 1kg_admixed \
    --output prs_results/

Input Requirements

InputFormatPurpose
GenotypesVCF/PLINKIndividual variants
AncestryEstimated or self-reportedMethod selection
GWAS Summary StatsMultiple ancestriesScore weights
Local AncestryLAI segmentsAdmixture handling
Reference PanelMulti-ancestryLD calculation

Output Components

OutputDescriptionFormat
PRS ScoreRaw polygenic score.csv
PercentilePopulation-specific ranking.csv
Risk CategoryHigh/Intermediate/Low.csv
Ancestry BreakdownComponent scores.json
Confidence IntervalScore uncertainty.json
Clinical InterpretationRisk explanation.md

Disease-Specific Performance

DiseaseMulti-Ancestry AUCEUR Only AUCImprovement
CAD0.75-0.800.70-0.855-10% in non-EUR
Type 2 Diabetes0.70-0.750.65-0.728-12% in AFR
Breast Cancer0.65-0.720.60-0.705-8% globally
Alzheimer's0.70-0.780.65-0.755-10% in diverse

AI/ML Components

PRS Optimization:

  • Bayesian shrinkage (PRS-CS)
  • Cross-population learning
  • Neural network weight optimization

Ancestry Inference:

  • Supervised classification
  • Unsupervised clustering (PCA, ADMIXTURE)
  • Local ancestry inference (RFMix)

Ensemble Learning:

  • Stacking multiple PRS methods
  • Ancestry-stratified weighting
  • Uncertainty quantification

Clinical Integration

ApplicationPRS RoleClinical Action
Primary PreventionRisk stratificationScreening intensity
Risk CommunicationPersonalized riskLifestyle modification
Treatment SelectionPredicted responseDrug choice
Family ScreeningCascade testingGenetic counseling

Prerequisites

  • Python 3.10+
  • PLINK 2.0
  • PRSice-2, LDpred2, PRS-CSx
  • Multi-ancestry reference panels
  • GWAS summary statistics

Related Skills

  • PRS_Net_Deep_Learning_Agent - Deep learning PRS
  • Pharmacogenomics_Agent - Drug-gene interactions
  • PopEVE_Variant_Predictor_Agent - Variant interpretation
  • DiagAI_Agent - Clinical integration

Bias and Fairness

Bias TypeCauseMitigation
Discovery BiasEUR-dominated GWASMulti-ancestry GWAS
LD VariationPopulation-specific LDLocal ancestry adjustment
Allele FrequencyDiffering frequenciesPopulation-specific weights
Effect SizeHeterogeneous effectsTrans-ancestry meta-analysis

Large-Scale Initiatives

InitiativeFocusContribution
All of UsUS diversity1M diverse participants
PAGEMulti-ethnic GWASDiscovery in diverse
H3AfricaAfrican genomicsContinental diversity
Mexican BiobankLatin AmericanAdmixed populations
GBMIGlobal BiobankMulti-ancestry meta-analysis

Special Considerations

  1. Self-Reported Ancestry: May not match genetic ancestry
  2. Admixture: Require local ancestry methods
  3. Population Stratification: Careful covariate adjustment
  4. Clinical Validity: Validate in target population
  5. Health Equity: Consider access disparities

ESC Guidelines Integration (2025)

RecommendationPRS RoleEvidence Level
CV Risk AssessmentRisk modifierIIa, B
Statin DecisionsBorderline risk reclassificationIIa, B
Family History EnhancementQuantify genetic burdenIIa, C

Limitations

LimitationImpactResearch Needed
AFR PerformanceLower accuracyMore GWAS
Rare VariantsNot capturedWGS integration
Gene-EnvironmentNot modeledInteraction studies
Clinical UtilityLimited evidenceRandomized trials

Author

AI Group - Biomedical AI Platform

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,144. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.