def paste_mashes(sketches, pasted_mash, force = False):
if os.path.isfile(pasted_mash):<EOL><INDENT>if force:<EOL><INDENT>subprocess.Popen(['<STR_LIT>', pasted_mash]).wait()<EOL><DEDENT>else:<EOL><INDENT>return<EOL><DEDENT><DEDENT>pasted_mash = pasted_mash.rsplit('<STR_LIT>')[<NUM_LIT:0>]<EOL>mash_cmd = ['<STR_LIT>', '<STR_LIT>', pasted_mash]<EOL>mash_cmd.extend(sketches)<EOL>process = subprocess.Popen(mash_cmd)<EOL>process.wait()<EOL>return<EOL>
Combine mash files into single sketch
Input:
    sketches <list[str]>  -- paths to sketch files
    pasted_mash <str>     -- path to output mash file
    force <boolean>     -- force overwrite of all mash file