Sequence parser