Special-case translate when seq is ungapped and not ambiguous
fix compilation order