I am trying to figure out how to calculate the dn/ds ratio of a set of genes which have 'fragmented' into two or more genes spanning the same 'reference' gene sequence. In some cases, this is due to indels, in others SNPs result in one or more stop codons along the coding region. I am using the full-length coding sequence as a reference - is it possible to calculate the ratios over two or more genes, if not - is it possible to normalise the ratios from analysing gene by gene?
I have attached an alignment file with coding regions outlined to give you an idea of what i am trying to analyse.