@follows( overlappedGeneChromatinProfile, mkdir("plots") )
@merge("overlapped_genes/"+PARAMS["species"]+"_"+PARAMS["plots_fig4_tissue"]+"*_"+PARAMS["plots_fig4_tissue"]+"-H3K4Me3*profile.wide.counts.tsv.gz", "plots/"+PARAMS["species"]+"_"+PARAMS["plots_fig4_tissue"]+"_overlapped_genes_H3K4Me3_profile_wide_smoothed.pdf")
def plotFigure4bK4WideSmoothed( infiles, outfile):
    if len(infiles) > 0:
        control,overlapped = infiles
        scriptsdir = PARAMS["scriptsdir"]
        R('''source("%(scriptsdir)s/R/proj007/proj007.R") ''' % locals() )
        R('''overlappedGenesSmoothedProfilePlot(overlapped="%(overlapped)s", control="%(control)s", outfile="%(outfile)s", ylabel="H3K4Me3")''' % locals() )

############################################################
Test for Return True if the minion ID matches the given list target
dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_proj007.py/plotFigure4bK4WideSmoothed--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/match_test.py/MatchTestCase.test_list_