DNA encoding is how to design the DNA sequences in the initial solution space of DNA computation.Reasonable DNA codes could improve the reliability and stability of experiment and the successful rate of computation.In this paper
we propose the definitions of the weight of a DNA codeword
the Watson-Crick Hamming Distance between two DNA codewords
and the design of DNA Golay codes.Then
we analyze the properties and the size of DNA Golay codes.Comparing with the stochastic search algorithm
DNA Golay codes are easier and more feasible to generate good code.