@transform( getZinbaOverlap, regex(r"(\S+)/intervals/(\S+).macs.zinba.bed"), r"\1/macs/\2.intervals.zinba.load")
def loadZinbaIntervals(infile, outfile):
    track = P.snip( os.path.basename( infile ), ".macs.zinba.bed" ).replace(".","_").replace("-","_")
    header = "contig,start,stop"
    statement = '''cat %(infile)s | python %(scriptsdir)s/csv2db.py
                      --table=%(track)s_macs_zinba_intervals_shared
                      --header=%(header)s
                      --ignore-empty
                   > %(outfile)s '''
    P.run()
Return all cells.
dataset/ETHPy150Open CGATOxford/cgat/obsolete/zinba.py/loadZinbaIntervals--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/api/openstack/compute/cells.py/CellsController._get_cells