@follows( exportIntervalsAsBed )
    @files( [ ( ["run%s%s.bed" % (y,x) for y in CELLLINES],
                "run%s.bed" % x, 
                x) for x in CONDITIONS ] )
    def combineConditions( infile, outfile, track ):
        '''combine conditions between cell lines. 

        The conditions are merged via intersection.
        '''

        conditions = [ "run%s%s.bed" % (x,track) for x in CELLLINES ]
        PipelineChipseq.intersectBedFiles( conditions, outfile )

    ############################################################
    ############################################################
    ############################################################
dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_vitaminD.py/combineConditions/original