@transform( (buildExpressionDifferencesSAM, buildExpressionDifferencesTTest), 
           suffix(".expdiff"), 
            "_expdiff.import")
def importExpressionDifferences( infile, outfile ):
    '''import expression differences.
    '''

    track, method, control = PExpression.getExpressionMatch( infile )

    if track == control:
        outs = open( outfile, "w" )
        outs.close()
        return

    tablename = (track,control,method) % "%s_vs_%s_%s"
        
    statement = '''
   python %(scriptsdir)s/csv2db.py %(csv2db_options)s \
              --allow-empty \
              --index=cluster_id \
              --table=%(tablename)s \
         < %(infile)s > %(outfile)s
         '''

    P.run()
dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_vitaminD.py/importExpressionDifferences/swapped operands of `%`