--- /work/cryomics/apps/Unicycler/unicycler/spades_func.py 2017-11-14 03:09:12.000000000 +0000 +++ spades_func.py 2017-11-14 05:49:13.427938669 +0000 @@ -248,7 +248,7 @@ command += ['-1', short1, '-2', short2] if using_unpaired_reads: command += ['-s', unpaired] - command += ['-o', read_correction_dir, '--threads', str(threads), '--only-error-correction'] + command += ['-o', read_correction_dir, '--threads', str(threads), '--only-error-correction', '--tmp-dir', '/tmp'] process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE) while process.poll() is None: @@ -342,7 +342,8 @@ using_unpaired_reads = unpaired is not None and os.path.isfile(unpaired) kmer_string = ','.join([str(x) for x in kmers]) - command = [spades_path, '-o', out_dir, '-k', kmer_string, '--threads', str(threads)] +#original command = [spades_path, '-o', out_dir, '-k', kmer_string, '--threads', str(threads)] + command = [spades_path, '-o', out_dir, '-k', kmer_string, '--threads', str(threads), '--tmp-dir', '/tmp'] if just_last: command += ['--restart-from', 'k' + str(kmers[-1])] else: