Convert bases like a mofo.