> Hi. Here is a python wrapper around some simple C functions that
> translate DNA sequences into amino acid residues and give their reverse
> complements. I guess it's something like 10 times faster than the pure
> python versions, but I haven't done any benchmarking.
I'm sorry to report that I noticed an error in this that caused a
spurious extra amino residue to be added to the return value of
_sequence.translate when it was passed a DNA sequence whose length was
not a multiple of three.
There is a revised version of the code at
Speak softly but carry a big carrot.