@follows( buildGeneRegions, buildAnnotatorGC )
    @files( [ ("%s.bed" % x, "%s.annotator_architecture_with_motif" % x ) for x in TRACKS_ANNOTATOR ] )
    def makeAnnotatorArchitectureWithMotif( infile, outfile ):
        '''check statistical overlap between intervals and and other genomic features
        defined in the file PARAMS["annotations"].

        Annotator is run with the following parameters:
        1. Segments: the interval track, only those with motifs
        2. Annotations:
           1. genomic architecture (PARAMS["annotation"])
           2. promotors (PARAMS["promotors"])
        3. Workspace: the full genome
        '''
        PAnnotator.makeAnnotatorArchitecture( infile, outfile, with_motif = PARAMS['annotator_master_motif'] )
dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_vitaminD.py/makeAnnotatorArchitectureWithMotif/original