SWORDS: A statistical tool for analysing large DNA sequences