Skip to content
Snippets Groups Projects
Commit a1f1e7da authored by Rachel  LEGENDRE's avatar Rachel LEGENDRE
Browse files

Update Snakefile

parent ea599ac1
No related branches found
No related tags found
No related merge requests found
......@@ -270,3 +270,13 @@ rule rnaflow:
onsuccess:
# copy metrics json in the corresponding multiQC output when you are in exploratory mode
import shutil
# move cluster log files
import os
pattern = re.compile("slurm.*")
dest = "cluster_logs"
for filepath in os.listdir("."):
if pattern.match(filepath):
if not os.path.exists(dest):
os.makedirs(dest)
shutil.move(filepath, dest)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment