@transform( loadTranscriptTSSComposition, suffix("tss.transcript.composition.load"), "tss.transcript.gc.export" )
def exportTranscriptTSSGCProfiles( infile, outfile ):
    dbhandle = sqlite3.connect( PARAMS["database"] )
    cc = dbhandle.cursor()
    query = '''SELECT c.gene_id, c.pGC FROM tss_transcript_comp c;''' % locals()
    cc.execute( query )
    E.info( query )
    outs = open( outfile, "w")
    for result in cc:
        pre = ""
        for r in result:
          outs.write("%s%s" % (pre, str(r)) )
          pre = "\t"
        outs.write("\n")
    cc.close()
    outs.close()

############################################################
Export file of GC content
dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_proj007.py/exportTranscriptTSSGCProfiles