Translate DNA or RNA sequences to protein sequences.