POPBAM is a tool to perform evolutionary or population-based analyses of next-generation sequencing data. POPBAM takes a BAM file as its input and can compute many widely used evolutionary genetics measures in sliding windows across a genome.