@transform( annotateFlankingCompositionRight, suffix( ".flanking3.composition"), ".flanking3.composition.load" )
def loadFlankingCompositionRight( infile, outfile ):
    track= P.snip( os.path.basename(infile), ".flanking3.composition").replace(".cleaned","").replace(".","_").replace("-","_")
    statement = """cat %(infile)s | python ~/src/csv2db.py
                         --database=%(database)s
                         --table=%(track)s_composition_flanking3
                         --index=gene_id
                 > %(outfile)s; """
    P.run()

############################################################
############################################################
Load the nucleotide composition of regions flanking intervals
dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_proj007.py/loadFlankingCompositionRight