encode DNA sequences

Link: https://github.com/GeneAssembly/biosal/issues/181
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>