Crystal structure of a variable region segment of Leptospira host-interacting outer surface protein, LigA, reveals the orientation of Ig-like domains.