Tarjan Bhandari

Research reference

A field guide to population genetics software

Population genetics and evolutionary analyses involve different kinds of data, and choosing a program depends largely on the question being asked.

Some software is designed to explore genetic differences among populations. Other programs focus on sequence variation, phylogenetic relationships, core collection selection, or the visualization of sequencing reads.

This guide brings together several commonly used programs and explains where each one fits. It is intended as a practical starting point rather than a comprehensive comparison of every available method.

Quick comparison

Population genetics software by purpose and input
SoftwareMain purposeTypical input
GenAlExPopulation genetic analysisGenetic marker and population data
STRUCTUREGenetic clustering and ancestry estimationMultilocus genotype data
DnaSPDNA sequence polymorphism and haplotype analysisAligned DNA sequences
MEGAMolecular evolutionary and phylogenetic analysisDNA or protein sequences
FigTreeVisualization and formatting of phylogenetic treesExisting tree files
SplitsTree 6Phylogenetic network analysisSequence alignments or distance data
Core Hunter 2Selection of diverse core collectionsGenetic marker or diversity data
IGVVisualization of genomic alignmentsReference sequences and aligned reads
RStatistics, visualization, and reproducible analysisData frames and other structured data

Compare individuals and populations

GenAlEx — Explore population genetic variation in Excel

GenAlEx is an Excel-based tool for analyzing genetic marker data. It can be used to explore genetic diversity, allele frequencies, and variation within and among populations.

One of its useful features is analysis of molecular variance (AMOVA), which helps examine how genetic variation is partitioned among different groups.

GenAlEx is particularly convenient for researchers who work with marker datasets and prefer an Excel-based interface.

STRUCTURE — Estimate genetic clusters

STRUCTURE uses multilocus genotype data to estimate genetic clustering and individual membership in inferred populations.

Its results are commonly displayed as colored ancestry or membership bar plots. These plots can help visualize genetic differentiation and admixture, but their interpretation depends on model assumptions, the selected number of clusters, and the underlying sampling design.

STRUCTURE is useful when the objective is to investigate population structure rather than simply calculate genetic diversity statistics.

DnaSP — Analyze DNA sequence polymorphism

DnaSP is designed for analyzing variation within and among DNA sequences. It can calculate nucleotide diversity, haplotype diversity, and several statistics related to sequence polymorphism.

It also supports commonly used tests of molecular evolution, including Tajima's D.

DnaSP is useful when working with aligned DNA sequences and investigating variation at specific genes or genomic regions.

Infer and display evolutionary relationships

MEGA — Analyze molecular evolution and phylogeny

MEGA provides tools for analyzing DNA and protein sequence data, including sequence comparison, evolutionary distances, substitution models, and phylogenetic inference.

It is useful for constructing and evaluating evolutionary trees from sequence alignments.

MEGA combines analytical functions with a graphical interface, making it accessible for routine phylogenetic analyses and teaching.

FigTree — Visualize phylogenetic trees

FigTree is primarily a tree visualization program. It allows users to open existing phylogenetic trees and adjust their appearance for interpretation and presentation.

It can be used to display taxon labels, branch lengths, support values, and different tree layouts, depending on the information stored in the input file.

Unlike software that estimates phylogenetic relationships, FigTree is mainly used after a tree has already been generated.

An illustrative tree groups samples A and B at one shared branch, with C branching earlier.
Illustrative tree with three hypothetical samples. MEGA can estimate a tree from an alignment; FigTree can display the resulting tree file.

SplitsTree 6 — Explore phylogenetic networks

SplitsTree 6 provides methods for visualizing evolutionary relationships using phylogenetic networks.

Networks can be informative when the underlying data contain conflicting phylogenetic signals that are not easily represented by a single branching tree.

These patterns may reflect several biological or analytical processes, so a network should be interpreted alongside the data and methods used to generate it.

Select samples, inspect reads, and analyze data

Core Hunter 2 — Select a representative core collection

Core Hunter helps select a subset of accessions from a larger collection while considering genetic diversity.

It can be useful when resources limit the number of isolates, accessions, or samples that can be retained for further study.

Different selection objectives emphasize different aspects of diversity, so the criterion used to choose a core collection should match the purpose of the study.

Integrative Genomics Viewer (IGV) — Inspect genomic alignments

IGV is a genome browser used to examine sequencing data in the context of a reference genome.

Researchers can visualize read alignments, coverage, and genomic features at positions of interest.

It is particularly useful when checking the read-level evidence supporting a variant call or examining unusual coverage patterns.

R — Statistics and reproducible analysis

R is a programming language and environment for statistical computing and graphics.

It supports a wide range of analyses through its core functionality and contributed packages, including population genetic summaries, statistical modeling, and data visualization.

Scripts can make analytical workflows easier to reproduce, update, and document. The suitability of a particular R package depends on the data and research question.

Choosing where to start

The best starting point depends on the data available and the question being asked.

Marker datasets may lead to GenAlEx or STRUCTURE, while aligned DNA sequences can be examined with programs such as DnaSP or MEGA. Existing phylogenetic trees can be prepared for presentation in FigTree, and read alignments can be inspected in IGV.

These tools are not necessarily alternatives to one another. In many projects, several of them can contribute to different stages of the same analysis.