@transform( getCapseqlncRNATSSDistance, suffix( ".lncrna.tss.distance"), ".lncrna.tss.distance.load" )
def loadCapseqlncRNATSSDistance( infile, outfile ):
    track= P.snip( os.path.basename(infile), ".lncrna.tss.distance").replace(".","_").replace("-","_")
    statement = """cat %(infile)s | python ~/src/csv2db.py 
                         --database=%(database)s
                         --table=%(track)s_lncrna_tss_distance
                         --index=gene_id
                         --index=closest_id
                         --index=id5
                         --index=id3
                 > %(outfile)s; """
    P.run()

############################################################
it.__getitem__(index) <==> it[index]
dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_proj007.py/loadCapseqlncRNATSSDistance--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/util/arrays.py/ArrayIter.__getitem__