Related Experiment Video
Updated: Jun 19, 2026

An Ultrahigh-throughput Microfluidic Platform for Single-cell Genome Sequencing
Published on: May 23, 2018
PopMAG: a Nextflow pipeline for population genetics analysis based on metagenome-assembled genomes
Daniel Sabogal-Rodriguez1,2, Alejandro Caro-Quintero2,3
1Departamento de Ingeniería de Sistemas e Industrial, Universidad Nacional de Colombia, 111321 Bogotá, Colombia.
Motivation:
Metagenome-assembled genomes (MAGs) are routinely recovered from metagenomic studies, yet the population genetic information embedded within these datasets remains largely underutilized. Analyzing within-species genetic variation can reveal adaptive evolution, selection pressures, and ecological dynamics that are hidden when MAGs are treated as homogeneous entities. Existing tools address individual analysis steps in isolation, requiring manual integration and creating barriers for researchers without extensive bioinformatics expertise.
Results:
Here we present PopMAG, a Nextflow pipeline and interactive Shiny application that automates population genetics analysis of MAGs. PopMAG integrates quality control, community profiling, competitive read mapping, functional annotation, and microdiversity estimation into a single reproducible workflow. The pipeline calculates key population genetics metrics including nucleotide diversity ( ), ratios, fixation index ( ), Levins' index and SNVs counts with results consolidated into an interactive visualization platform for metadata-driven exploration. We demonstrate PopMAG's utility through analysis of longitudinal cystic fibrosis lung metagenomes, where we identify patterns consistent with antibiotic-driven selection in Pseudomonas aeruginosa efflux pump genes coinciding with treatment intervention.
Availability And Implementation:
PopMAG and corresponding documentation are publicly available at https://github.com/daasabogalro/PopMAG.
Related Concept Videos
Next-generation Sequencing
Next-Generation Sequencing Methods
Although all next-generation methods use different technologies, they all share a set of standard features.
What is Population Genetics?
Genome Annotation and Assembly
Genomics

