align2bed is a program that extracts polymorphic sites from FASTA alignments. It is maintained by Tony Greenberg. Source code is available on GitHub.