pygenstrat:一个用于EIGENSTRAT数据处理的Python包
1Department of Computational Biology, University of Lausanne, Lausanne 1015, Switzerland.
Bioinformatics advances
|February 16, 2026
概括
pygenstrat 是一个新的 Python 包,用于处理 EIGENSTRAT 格式的古代 DNA 数据. 它提供了高效的过,子集和转换,大大减少了大数据集的内存使用量和处理时间.
科学领域:
- 人口遗传学 人口遗传学
- 生物信息学是一种生物信息学.
- 计算生物学 计算生物学
背景情况:
- 古代DNA研究使用EIGENSTRAT基因型格式进行种群遗传分析.
- 对于处理艾根斯特拉特数据的软件有限,这对研究人员来说是一个挑战.
研究的目的:
- 介绍pygenstrat,这是一个用于全面处理EIGENSTRAT数据的Python包.
- 为过,子集和转换古代DNA数据集提供高效的工具.
主要方法:
- 开发了pygenstrat作为一个命令行接口,具有内存高效,块化处理算法.
- 实现了更新文件,子集数据集,根据MAF和缺失进行过,伪哈普洛化和等位基极化等功能.
- 启用了在 EIGENSTRAT 和 ANCESTRYMAP 格式之间进行转换.
主要成果:
- 与convertf.com等现有工具相比,基准测试证明了2×-15×加速度和90%-95%的内存减少.
- pygenstrat产生与标准操作相当的输出,确保数据完整性.
- 该包方便可重复处理,并减少古代DNA工作流程的周转时间.
结论:
- pygenstrat 提供了一种强大的,记忆效率高的解决方案,用于以 EIGENSTRAT 格式处理大型古代 DNA 数据集.
- 它的模块化设计允许集成到定制管道和未来的扩展.
- 开源的可用性促进了该领域的可访问性和协作开发.
相关概念视频
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


