in reply to DN/DS ratio calculator
I would start with Bio::Align::DNAStatistics and Bio::AlignIO. You'll also want to read Bio::Tools::Phylo::PAML. For more information see:
Phylogenetic Analysis by Maximum Likelihood (PAML)pal2nal.
In Section
Seekers of Perl Wisdom