general DNA parser