@transform( "../replicated_intervals/*.replicated.bed", regex(r"../replicated_intervals/(\S+).replicated.bed"), r"\1.replicated.bed" )
def copyCapseqReplicatedBedFiles( infile, outfile ):
    statement = '''cp %(infile)s .'''
    P.run()

############################################################
Copy replicated Bed files generated by capseq pipline to geneset-specific output directory
dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_proj007.py/copyCapseqReplicatedBedFiles