Skip to content

Commit

Permalink
Update callpeak_cmd.py
Browse files Browse the repository at this point in the history
  • Loading branch information
taoliu committed May 5, 2017
1 parent 54e523c commit 6946b2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MACS2/callpeak_cmd.py
Expand Up @@ -305,9 +305,9 @@ def run( args ):
peakdetect.peaks.write_to_xls(ofhd_xls, name = options.name)
ofhd_xls.close()
#4.2 peaks in BED
if options.log_pvalue:
if options.log_pvalue != None:
score_column = "pscore"
elif options.log_qvalue:
elif options.log_qvalue != None:
score_column = "qscore"
#4.2 peaks in narrowPeak
if not options.broad:
Expand Down

0 comments on commit 6946b2f

Please sign in to comment.