Related Experiment Video
Updated: Feb 17, 2026

08:03
Heuristic Mining of Hierarchical Genotypes and Accessory Genome Loci in Bacterial Populations
Published on: December 7, 2021
2.8K
pygenstrat: a Python package for EIGENSTRAT data processing
1Department of Computational Biology, University of Lausanne, Lausanne 1015, Switzerland.
Bioinformatics Advances
|February 16, 2026
Summary
pygenstrat is a new Python package for processing EIGENSTRAT format ancient DNA data. It offers efficient filtering, subsetting, and conversion, significantly reducing memory usage and processing time for large datasets.
Area of Science:
- Population Genetics
- Bioinformatics
- Computational Biology
Background:
- Ancient DNA studies utilize the EIGENSTRAT genotype format for population genetic analyses.
- Limited software exists for processing EIGENSTRAT data, posing a challenge for researchers.
Purpose of the Study:
- Introduce pygenstrat, a Python package designed for comprehensive EIGENSTRAT data processing.
- Provide efficient tools for filtering, subsetting, and converting ancient DNA datasets.
Main Methods:
- Developed pygenstrat as a command-line interface with memory-efficient, chunked processing algorithms.
- Implemented functionalities for updating files, subsetting datasets, filtering by MAF and missingness, pseudo-haploidisation, and allele polarization.
- Enabled conversion between EIGENSTRAT and ANCESTRYMAP formats.
Main Results:
- Benchmarking demonstrated 2×-15× speedups and 90%-95% memory reduction compared to existing tools like convertf.
- pygenstrat produces equivalent outputs to standard operations, ensuring data integrity.
- The package facilitates reproducible processing and reduces turnaround time in ancient DNA workflows.
Conclusions:
- pygenstrat offers a powerful, memory-efficient solution for processing large ancient DNA datasets in EIGENSTRAT format.
- Its modular design allows for integration into custom pipelines and future extensions.
- The open-source availability promotes accessibility and collaborative development in the field.
Related Concept Videos
Econometric Views (EViews)
609
Econometric Views, often stylized as EViews, is a package that merges statistical analysis with econometric studies. It is designed to provide tools for time series analysis, forecasting, and econometric model simulation. The software originated from MicroTSP software and has evolved significantly since its inception in 1981. The history of EViews is marked by a continuous effort to enhance its computational speed and user interface. It was initially developed for large computing systems but...
609
Stratified Sampling Method
15.6K
Sampling is a technique to select a portion (or subset) of the larger population and study that portion (the sample) to gain information about the population. The sampling method ensures that samples are drawn without bias and accurately represent the population. Because measuring the entire population in a study is not practical, researchers use samples to represent the population of interest.
To choose a stratified sample, divide the population into groups called strata and then take a...
To choose a stratified sample, divide the population into groups called strata and then take a...
15.6K
Three-Dimensional Analysis of Strain
641
Three-dimensional strain analysis is crucial for understanding how materials deform under stress, particularly in elastic, homogeneous materials. This method employs principal stress axes to simplify complex stress states into more understandable forms. Subjected to stress, a small cubic element within a material either expands or contracts along these axes, transforming into a rectangular parallelepiped. This transformation effectively illustrates the material's deformation. The principal...
641
Strain-Energy Density
947
Understanding the strain energy density in materials under axial load is crucial for evaluating their mechanical behavior and durability. When a rod is subjected to such a load, it elongates and stores energy, known as strain energy, as potential energy within the material. This energy is measured in terms of energy per unit volume.
In the elastic region of a material, the relationship between the stress and the strain is linear and follows Hooke's Law. The strain energy density in this region...
In the elastic region of a material, the relationship between the stress and the strain is linear and follows Hooke's Law. The strain energy density in this region...
947
Elastic Strain Energy for Shearing Stresses
527
As discussed in previous lessons, strain energy in a material is the energy stored when it is elastically deformed, a concept crucial in materials science and mechanical engineering. This energy results from the internal work done against the cohesive forces within the material. When a material undergoes shearing stress and corresponding shearing strain, the strain energy density, which is the energy stored per unit volume, is calculated. Within the elastic limit, where the stress is...
527
Strain and Elastic Modulus
9.1K
The quantity that describes the deformation of a body under stress is known as strain. Strain is given as a fractional change in either length, volume, or geometry under tensile, volume (also known as bulk), or shear stress, respectively, and is a dimensionless quantity. The strain experienced by a body under tensile or compressive stress is called tensile or compressive strain, respectively. In contrast, the strain experienced under bulk stress and shear stress is known as volume and shear...
9.1K

