[Biojava-l] issue with translating codons with N

LAW Andy andy.law at roslin.ed.ac.uk
Fri Sep 20 16:05:59 UTC 2013


On 20 Sep 2013, at 16:53, Andy Yates <ayates at ebi.ac.uk> wrote:

> Hi Nick,
> 
> It depends on the number of translations you're doing. We did some quite large performance testing Pjotr Prins for his chapter in Evolutionary Genomics book and those changes where a direct result of that *. I think the right solution is to revert to using the map already available in the class
> 
> Andy
> 
> * I wish I still had the stats from before & after this change to show what the performance impact was.
> 

I'm surprised at that, given that the lookup is essentially from a small, finite set. But then again, the quicker version seems to have been giving the wrong answer so that's probably not a trade off one would want to consider :o{

Later,

Andy
--------
Yada, yada, yada...

Disclaimer: This e-mail and any attachments are confidential and intended solely for the use of the recipient(s) to whom they are addressed. If you have received it in error, please destroy all copies and inform the sender.




-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.





More information about the Biojava-l mailing list