Skip to content

Synthetic cohort

Input

The same 18 samples are available as VCF, PGEN, and PLINK1 across GRCh38, GRCh37, and CHM13v2. The GRCh38 VCF also has marker notation variants and a phased version. See the expected calls by sample.

Run

Formats (GRCh38)

./examples/run_vcf.sh
./examples/run_pgen.sh
./examples/run_plink1.sh

For a direct CLI invocation of the VCF example, see the Usage quick start.

Builds

Repository directory Assembly Runner
examples/data/hg38/ GRCh38 ./examples/run_vcf.sh
examples/data/hg19/ GRCh37 ./examples/run_vcf_hg19.sh
examples/data/chm13/ CHM13v2 ./examples/run_vcf_chm13.sh

Marker notations (GRCh38 VCF)

./examples/run_notations.sh
File Contig ID column
cohort.vcf 9 rsID
cohort_chr.vcf chr9 .
cohort_chrpos.vcf 9 9:pos:REF:ALT
cohort_nc.vcf NC_000009.12 .

Phased VCF

./examples/run_vcf_phased.sh

The runner uses examples/data/hg38/cohort_phased.vcf. Phased VCFs are also available in the GRCh37 and CHM13v2 directories and with chr9 notation in GRCh38. The bundled PGEN and PLINK1 examples are unphased.

Expected results

Scenario Samples Result with the default three-marker settings in the example
Determined without the double-heterozygote assumption S01–S03, S05–S08, S14 A × 3, B × 1, AB × 1, O × 3
Double heterozygote S04_BO B with the default assumption. Ambiguous with --no-assume-bo when unphased
Missing required markers S09–S13, S17–S18 NA / MISSING_MARKER
Disagreeing A/B markers S15_conflictB, S16_conflictB_rev NA / CONFLICT

The phased VCF yields the same nine assigned phenotypes. Phase resolves S04_BO as B/O, so disabling the assumption leaves that phased call intact. The run summary is mixed.

Samples Phase used QC status Confidence
9 phased PASS high
2 phased CONFLICT low
7 unphased MISSING_MARKER none

Example report

Open the synthetic hg38 VCF report, generated from the unphased cohort.vcf with --method three-marker.

See the mixed phase and QC test for the recorded counts and pytest command.