Skip to main content
Figure 3 | BMC Genetics

Figure 3

From: EggLib: processing, analysis and simulation tools for population genetics and genomics

Figure 3

Example of diversity analysis implemented in Python using egglib-py. This script imports 100 FASTA-formatted alignments, performs a basic diversity analysis and finally compares the average Tajima's D statistic to a number of neutral coalescent simulations under the standard model. Lines 16, 19, and 44-46 are commented in the text. All operations are performed using the Align class and the simul module of egglib-py (full documentation is included in the reference manual available online).

Back to article page