Meet the data
data/synthetic/summary-statistics.tsv has one variant association per row. study-metadata.json describes the study context. This is a simplified teaching contract, not a claim of full GWAS-SSF compliance. Keep original files when mapping a source into this format.
| Field | Meaning / required constraint |
|---|---|
variant_id |
Unique source identifier; synthetic IDs begin SYN |
chromosome |
Integer autosome 1–22 |
position |
Positive integer coordinate in the declared build |
effect_allele |
Single uppercase A/C/G/T base to which beta refers |
other_allele |
Distinct comparison allele |
beta |
Quantitative-trait effect estimate per effect allele |
standard_error |
Positive standard error on the same beta scale |
p_value |
Source association p-value, strictly greater than 0 and at most 1 |
effect_allele_frequency |
Frequency of the effect allele, between 0 and 1 |
sample_size |
Positive simulated per-variant N |
imputation_info |
Source imputation score between 0 and 1 |
The metadata records trait, effect units, population, build, source, synthetic status and whether the file is genome-wide or contains selected variants. Missing required measurements must not be invented. A different file may need an explicit importer or an extended analysis contract.
For synthetic inputs the build is SYNTHETIC: coordinates and IDs are invented, even though chromosome numbers resemble real autosomes. No genome annotation is justified.
Palindromic A/T and C/G allele pairs are flagged. They are retained within this single-study inspection; a flag is not evidence that alleles are harmonized across studies. Multi-study harmonization requires source strands, frequencies, build and allele normalization.
Inspect the first rows in your editor. Locate SYN000001 and confirm beta 0.12, standard error 0.02, effect allele A, other allele G, EAF 0.25, N 20,000 and INFO 0.98.
The two input files are a simplified teaching contract. The real GLGC example uses the same core fields with explicitly declared reference frequency, source-reported N and unavailable INFO. Do not copy those declarations into a new study without verifying them against its source.