Skip to content
This repository was archived by the owner on Apr 16, 2026. It is now read-only.

Added a first implementation of admixpops

Choose a tag to compare

@nevrome nevrome released this 31 Jul 12:34
· 125 commits to main since this release
5442fbd

For this release we integrated the very experimental artificial ancestry generation subcommand admixpops into xerxes (formerly a component of a tool called paagen). We also added some innovations from trident for logging, error handling and code maintenance.

admixpops allows to generate individuals with randomized genotype profiles based on arbitrary input populations. Running it for example with the following --admixString would yield an artificial individual Ind1 with 10% ancestry from the reference population Mbuti, 20% from Han, and 70% from French: "[Ind1:Pop1](Mbuti=10+Han=20+French=70)". The implemented algorithm is (trivial) SNP-wise weighted random-sampling. admixpops is therefore only an experimental feature and the current implementation will likely change in the future.

In the process of adding it to xerxes, we also upgraded the latter with some of the (recent) improvements in trident. From a user-perspective the only relevant changes are the new general options --logMode and --errLength, which give you more control over the logging output and error messages.