← Về thư mục
📄 / / profiles / r-and-d / raw_evidence / OpenAI4S / skills / bioskills / bio-phasing-imputation-reference-panels / references / usage-guide.md

Reference Panels - Usage Guide

Overview

Select and prepare the reference panel that statistical phasing and imputation copy haplotypes from. The decision that dominates results is ancestry match: imputation can only impute variants the panel contains and copies haplotypes from samples that resemble the target, so a panel whose ancestry does not match the study population imputes poorly no matter how large it is. This skill covers panel choice (1000 Genomes, HRC, TOPMed, HGDP+1kGP, CAAPA), genome-build and chromosome-naming reconciliation, the strand/allele harmonization gate that silently corrupts results when skipped, and conversion to the engine-specific panel format. It does not run the phasing or imputation engines (those are sibling skills) and routes classical HLA-allele panels out to clinical-databases.

Prerequisites

Quick Start

Tell your AI agent what you want to do: - "Which reference panel should I use for my admixed Latino cohort on GRCh38?" - "Align my GRCh37 array data to the HRC panel strand and alleles before imputation" - "Convert my reference VCF to Beagle bref3 and Minimac msav formats" - "My study data is GRCh37 but I want a GRCh38 panel - how should I handle the build?" - "Check whether my data can use TOPMed given our data-residency rules"

Example Prompts

Panel selection

"My cohort is an admixed US population sequenced on GRCh38. Which reference panel should I impute against and why, and note any access or governance requirements."

Strand and build harmonization

"I have an Illumina array VCF on GRCh37. Walk me through aligning strand and alleles to the panel, handling palindromic SNPs, and reading the allele-frequency concordance plot before I upload to an imputation server."

Format conversion

"I have a custom reference panel as a phased VCF. Convert it to bref3 for Beagle and msav for Minimac4, per chromosome, and tell me what each engine requires."

Governance constraint

"Our IRB forbids participant genotypes leaving the country. Which diverse panels can I use locally, and what accuracy trade-off does that imply versus TOPMed?"

What the Agent Will Do

  1. Establish the study genome build and the target ancestry (routing to population-genetics/population-structure for the PCA if needed).
  2. Recommend a panel by ancestry match, build, variant class (SNP vs indel), and data-governance constraints, naming the exact version.
  3. Normalize the study VCF and reconcile chromosome naming to the panel convention.
  4. Run the strand/allele harmonization check, execute the generated fix script, drop unresolvable palindromic SNPs, and inspect the allele-frequency concordance plot against the ancestry-matched sub-panel.
  5. Convert the panel to the engine-specific format (msav, bref3, or imp5), pairing it with a build-matched genetic map.
  6. Hand the harmonized study data and prepared panel to haplotype-phasing and genotype-imputation.

Tips