Skip to content

Commit

Permalink
Refactored results directories for tmp dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Graeme Ford committed Feb 17, 2024
1 parent 90f0826 commit 8463459
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflow/rules/common.smk
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ def vcfValidationWorkflowAdapter(extension: str) -> list:
if reference_genome != "GRCh38" and groupby_subset is not None: # [IF] reference genome version
for dataset_name in groupby_subset.index.get_level_values("dataset_name"): # [FOR] the column in our MultiIndex that contains the dataset_name's in this subset
# [EACH] add liftover request for the DAG
merge_list.append(f"results/PREP/{dataset_name}/liftover{extension}",)
merge_list.append(f"results/tmp/{dataset_name}_liftover{extension}",)
else:
for dataset_name in groupby_subset.index.get_level_values("dataset_name"): # [FOR] the column in our MultiIndex that contains the dataset_name's in this subset
# [EACH] add liftover request for the DAG
merge_list.append(f"results/PREP/{dataset_name}/annotate{extension}",)
merge_list.append(f"results/tmp/filter/{dataset_name}_filter{extension}",)
return merge_list

0 comments on commit 8463459

Please sign in to comment.