#NEWLINE# @ transform ( makeDistances , suffix ( '.distances' ) , '_distances.import' ) #NEWLINE# def importDistances( infile , outfile ) : #NEWLINE# #INDENT# 'import annotations' #NEWLINE# table = infile [ : ( - len ( '.import' ) ) ] #NEWLINE# statement = '\n   python %(scriptsdir)s/csv2db.py %(csv2db_options)s \n              --index=gene_id \n              --index=closest_id\n              --map=gene_id:str \n              --table=%(table)s \n    < %(infile)s \n    > %(outfile)s' #NEWLINE# P . run ( )