MACS icon indicating copy to clipboard operation
MACS copied to clipboard

Feat: xls output should have header line even if no peak has been detected

Open dariober opened this issue 2 years ago • 1 comments

Problem

Using macs 2.2.7.1 - If no peak is detected, the xls output file contains the comment lines prefixed # but it does not contain the header line:

chr     start   end     length  abs_summit      pileup  -log10(pvalue)  fold_enrichment -log10(qvalue)  name

Describe the solution you'd like

Output the comment lines AND the header line.

Describe alternatives you've considered

One can add the header line afterwards but it makes for clunky code. I would say the current behavior is inconsistent since getting no peaks is a possibility that should be reflected in a file with header and no records.

dariober avatar May 24 '23 18:05 dariober

Hi @dariober, This issue was fixed in MACS3 (v3.0.0b1). Can you try that?

Thanks!

philippadoherty avatar Jun 07 '23 18:06 philippadoherty