TSS analysis script