Skip to content

Commit

Permalink
define error report dir
Browse files Browse the repository at this point in the history
  • Loading branch information
rxu17 committed Jan 8, 2024
1 parent 00f527e commit 5c955cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions genie/process_mutation.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ def annotate_mutation(
"""
input_files_dir = tempfile.mkdtemp(dir=workdir)
output_files_dir = tempfile.mkdtemp(dir=workdir)
error_dir = os.path.join(output_files_dir, f"{center}_error_reports")

for mutation_file in mutation_files:
move_mutation(mutation_file, input_files_dir)
Expand All @@ -262,6 +263,7 @@ def annotate_mutation(
os.path.join(genie_annotation_pkg, "annotation_suite_wrapper.sh"),
f"-i={input_files_dir}",
f"-o={output_files_dir}",
f"-e={error_dir}",
f"-m={merged_maf_path}",
f"-c={center}",
"-s=WXS",
Expand Down

0 comments on commit 5c955cd

Please sign in to comment.