Skip to content
Snippets Groups Projects
Commit ee8cb8b6 authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Easy dry run if only 1 batch

parent 41c767ef
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@ import sys
import re
import os
from glob import glob
import shutil
from os.path import join, isfile
......@@ -83,6 +84,12 @@ shell.prefix("export PATH=%s/bin:\"$PATH\";" % ROOTPATH)
batches, chromosomes, variant_types = get_batches(WDIR)
if len(batches) == 1:
b_filtered = os.path.join(WDIR, "batch001", "filtered")
f_filtered = os.path.join(WDIR, "filtered")
shutil.move(b_filtered, f_filtered)
os.symlink(f_filtered, b_filtered)
include: "tools/threads.snk"
localrules: all, bamlist
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment