You may find the commonly shared genes between all genomes (core genes) using orthologous prediction with orthomcl, blastclut or whatever tool you prefere. Than, you may align all of them with muscle, concatenate all alignments and them input it to DNAsp. DNAsp calculates Tajima's D and others.
Hi, you would have to first go from the SNP mapping to the alignments of the haplotypes and then you can use the standard tools (CodeML, etc)
If your individuals are from the same species perhaps rather than dN/dS you want to compute Pi-n/Pi-S which is a similar measure but with polymorphisms instead of fixed mutations:
The dN/dS ratio is the rate of non-synonymous (dN) and synonymous (dS) substitution between species. You can't measure it with one species (but you don't need four, just two). Within species you can compute the Pn/Ps (relative abundance of non-synonymous and synonymous polymorphisms) that measure the direct effect of natural selection removing slighlty deleterious non-synonymous variants.
I agree with you if you use the Dn/Ds ratio to find gene/genomic under positive selection with two species that will be statistically very low.
But, in my opinion (of a small phD student), if you compute the McDonald-Kreitmann test for contrasting polymorphisms and divergence with dN/dS and Pn/Ps (e.g if Pn/Ps = dN/dS => neutral evolution and if Pn/Ps < dN/dS => positive selection) i think it works with both species.
But i thinkthe more powerful appoaches to explore and quantify genome evolution is to infer this with coalescence models: