@transform( TRACKS, 
            regex("(.*).gtf.gz"), 
            inputs( (r"\1.gtf.gz", PARAMS["ancestral_repeats_filename"]) ),
            r"\1.repeats")
def makeRepeats( infiles, outfile ):

    infile, annotation = infiles

    statement = '''gunzip
    < %(infile)s 
    | %(scriptsdir)s/gff_sort gene 
    | %(cmd-farm)s --split-at-column=1 --output-header --log=%(outfile)s.log --max-files=60 
	"python %(scriptsdir)s/gtf2table.py 
                --filename-format=gff
		--counter=overlap 
		--log=%(outfile)s.log 
		--filename-gff=<( gunzip < %(annotation)s )" 
    > %(outfile)s 
    '''
    P.run()

############################################################
_fetch_tracked_entity_attributes should extend _tracked_entity_attributes
dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_kamilah.py/makeRepeats--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/custom/dhis2/tests.py/Dhis2ApiTest.test__fetch_tracked_entity_attributes