@follows( mkdir("intervals") )
@transform( loadMACS, regex(r"macs/with_input/(\S+)_macs.load"), r"intervals/\1.bed" )
def exportIntervalsAsBed( infile, outfile ):
    fc = PARAMS["intervals_min_fc"]
    PIntervals.exportMacsIntervalsAsBed( infile, outfile, fc )

############################################################
Ensure client is authorized to use the grant_type requested.
dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_proj012_chipseq.py/exportIntervalsAsBed--crossover with--dataset/ETHPy150Open idan/oauthlib/oauthlib/oauth2/rfc6749/request_validator.py/RequestValidator.validate_grant_type