I am trying to calculate various metrics related to population genetics using SNP datasets and full sequence alignments. I am looking for a program that can be run from the command line that can simultaneously calculate metrics like Fst and pi using sliding windows. I will ultimately use this to generate a position by Fst/pi plot that can be used to identify regions of potential positive or purifying selection. Any suggestions for software that fits these criteria?
Thanks!
Alex