@transform(  makeRates, suffix(".rates.gz"), "_rates.import")
def importRates( infile, outfile ):

    track = outfile[:-len(".import")]
    statement = '''
    gunzip 
    < %(infile)s 
    | python %(toolsdir)s/csv_cut.py 
          --large --remove qStarts tStarts blockSizes qSequence tSequence --log=%(outfile)s 
    | csort -k:qName: -k:aligned:rn 
    | perl -p -e "s/qName/gene_id/" 
    | awk '{if (l==$10) {next;} l = $10; print; }' 
    |python %(scriptsdir)s/csv2db.py %(csv2db_options)s --map gene_id:str --table=%(track)s --index=gene_id --allow-empty
    > %(outfile)s
    '''

    P.run()

########################################################
Target driver must support non-ASCII characters being passed at
dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_kamilah.py/importRates--crossover with--dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/sqlalchemy/testing/requirements.py/SuiteRequirements.unicode_connections