@transform( getCapseqNoncodingTSSDistance, suffix( ".noncoding.tss.distance"), ".noncoding.tss.distance.load" )
def loadCapseqNoncodingTSSDistance( infile, outfile ):
    track= P.snip( os.path.basename(infile), ".noncoding.tss.distance").replace(".","_").replace("-","_")
    geneset_name = PARAMS["geneset_name"]
    statement = """cat %(infile)s | python ~/src/csv2db.py 
                         --database=%(database)s
                         --table=%(track)s_%(geneset_name)s_noncoding_tss_distance
                         --index=gene_id
                         --index=closest_id
                         --index=id5
                         --index=id3
                 > %(outfile)s; """
    P.run()

############################################################
Subversion helper to create a new directory within the main
dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_proj007.py/loadCapseqNoncodingTSSDistance--crossover with--dataset/ETHPy150Open edgewall/trac/trac/tests/functional/svntestenv.py/SvnFunctionalTestEnvironment.svn_mkdir