x">genome</span> -pop 3 30 30 40 <span class="op">&gt;</span> genotypes_genome.txt</code></pre></div>
</div>
<div id="resampling-based-simulation-via-hapgen2" class="section level2">
<h2>Resampling-based simulation via Hapgen2</h2>
<p>Download <a href="http://mathgen.stats.ox.ac.uk/genetics_software/hapgen/hapgen2.html">hapgen2</a>, <a href="http://mathgen.stats.ox.ac.uk/genetics_software/hapgen/download/example/hapgen2.example.tgz">hapgen example files</a> and the 1000Genomes data from the <a href="https:/