DOI: 10.5281/zenodo.10024899
title: Supplementary Data - Haplotype-based inference of recent effective population size in modern and ancient DNA samples

description: This repository contains the simulated data analyzed in our manuscript titled "Haplotype-based Inference of Recent Effective Population Size in Modern and Ancient DNA Samples".The data is split into 7 datasets. 
- demographies.tar.gz: the simulated demographic models.- modern_data.tar.gz: simulated SNP-araray data. The genotypes were simulated under 4 demographic histories (see demographies.tar.gz) for 256 samples and under 10 different random seeds (Replicate 1-10). Additionally, Replicates 11 and 12 include simulations at larger sample sizes. Note that the results at lower sample sizes can be obtained by keeping the first N samples of the simulated files.- true_ibd.tar.gz : This dataset contains the IBD segments from the simulated modern_data (ground truth from ARGON simulator).- ancient_data.tar.gz dataset contains simulated aDNA data. The dataset contains data simulated at different coverages (MISSING_$M, where $M = exp(-coverage)), sample sizes, demographic models, and random seeds. Split into three parts. See below for instructions on how to reconstruct the dataset. - structure.tar.gz and admixture.tar.gz : contain the data simulated under more complex demographic histories involving 2 isolated populations (structure) or a single population undergoing a recent admixture event (admixtuer.tar.gz). The manuscript provides more details about the demographic histories.- imputed.tar.gz dataset contains simulated imputed aDNA data. Each region was simulated independently. Each folder corresponds to a chromosome arm and contains:    - data.anc_array.npy: list of the SNPs included in the analysis (simulating a 1240k array)    - data.glimpse.vcf.gz: phased ancient population data as phased by GLIMPSE v1    - data.glimpse.vcf.gz.csi: index for the above VCF file    - data.imputed.vcf.gz: imputed ancient population data (unphased, including dosages and genotype posteriors)    - data.imputed.vcf.gz.csi: index file for the above VCF    - data.map.gz: genetic map for GLIMPSE (tab-separated format: pos chr cM)    - data.ref.tsv.gz: file used for calculating genotype likelihoods with BCFtools mpileup command to use as input for GLIMPSE (format: chromosome position ref_allele,alt_allele)    - data.ref.tsv.gz.tbi: index for the above file    - data.ref.vcf.gz: simulated sequencing data from the reference panel    - data.ref.vcf.gz.csi: index file for the above VCF    - data.target_ground_truth.vcf.gz: simulated sequencing data for the ancient population (ground truth)    - datalist.txt: list of genotype likelihood files for each target individual (to be used for merging into a single file)    - data.temp.map.gz: genetic map for data creation with msprime simulator (format: chr  position  rate(cM/Mb) cM)    - data.tree -> msprime simulator output containing all samples, both reference panel samples and ancient population samples    - data.vcf.gz: VCF containing ground truth sequencing data, phased genotypes for reference panel samples and for ancient population samples    - dataref.fa.fai: index for reference fasta file used during reads creation
 
Note that some of the datasets have been split into multiple parts, for example admixed.tar.gz  has been split into three different parts admixed.tar.gz-part-aa, admixed.tar.gz-part-ab, and admixed.tar.gz-part-acYou can get the data by typing:
cat admixed.tar.gz.part-* > admixed.tar.gz