Hi, thank for your response.
My data is pair-end sequencing. I tested on 4 modes from macs2 callpeak: BAM, BAMPE, BED, BEDPE. While macs2 does not documents on these mode, macs3 does.
Peaks returns are already different: BAM: 401512, BAMPE: 304071, BED: 442285, and BEDPE is error. I check the BAM and BED file and it return exactly same coordinates:
`.bed`
1 792526 792591 +
1 792885 792950 -
1 793201 793266 +
1 793573 793637 -
`.bam`
1 792527
1 792886
1 793202
1 793574
I think for BAM setting, they use more information in the flag to check the coordinate.
Then I checked visualization for these 3 modes, I see the BED mode seem to return the most correct regions visibly; while BAMPE mode has the tendency to over extend the peak region:
I am not sure if this is the correct way to perform, but I will go for BED mode as it is visibly better.