Closed amirkdv closed 5 years ago
Multiple rules in Snakefile use sort in their recipes:
Snakefile
sort
rule jellyfish_dump: # truncated run: start_log(log['exec_time'], "jellyfish_dump") shell("{JELLYFISH_DUMP} -c {input} | {SORT} -k 1 -S {resources.ram}M --parallel {threads}| pigz -p {threads} -c > {output}") # truncated
and
rule ref_transcript_dump: # truncated run: start_log(log['exec_time'], "ref_transcript_dump") shell("{JELLYFISH_DUMP} -c {input} | {SORT} -k 1 -S {resources.ram}M --parallel {threads}| pigz -p {threads} -c > {output}") # truncated
The default temp directory for sort is /tmp which can be overridden via -T which means that with large input files the root filesystem can easily fill up and crash de-kupl.
/tmp
-T
de-kupl
Pull request to add the -T option to usages of sort will be sent shortly.
Note that the -T option is also respected by sort in OS X.
Multiple rules in
Snakefile
usesort
in their recipes:and
The default temp directory for
sort
is/tmp
which can be overridden via-T
which means that with large input files the root filesystem can easily fill up and crashde-kupl
.Pull request to add the
-T
option to usages ofsort
will be sent shortly.