perl sam_summary.pl -o output.bam.summary sequence.bam

Homer

findMotifsGenome.pl ../ACAT-seq.peaks mm10 outdir -size 400 -mask

off-set seqquence

perl sam_adjust_offset.pl -f 4 -b -5 -i ATAC-seq_trim_chrM.bam -o ATAC-seq_trim_chrM_offset.bam

get index of bam file

samtools sort seq.bam -o seq.sorted.bam
samtools index seq.sorted.bam