# Output files (i.e. expected.testRun.info and expected.testRun.dose.vcf.gz) were generated following:

# Download and extract example files from minimac3 
wget ftp://share.sph.umich.edu/minimac3/Minimac3.v2.0.1.tar.gz
tar -xvzf Minimac3.v2.0.1.tar.gz Minimac3/test --strip-components=2

# Download and extract minimac4 binary
wget https://github.com/statgen/Minimac4/releases/download/v1.0.0/minimac4-1.0.0-Linux.deb
ar x minimac4-1.0.0-Linux.deb data.tar.gz
tar -xvzf data.tar.gz ./usr/bin/minimac4 --strip-components=3

# Run example tests
./minimac4 --noPhoneHome \
           --refHaps refPanel.m3vcf.gz \
           --haps targetStudy.vcf \
           --prefix testRun

mv testRun.info expected.testRun.info
zcat testRun.dose.vcf.gz > expected.testRun.dose.vcf
