From a9ce19f99831fe1f7f8331ba079b15a043bfe659 Mon Sep 17 00:00:00 2001 From: LaraFuhrmann <55209716+LaraFuhrmann@users.noreply.github.com> Date: Wed, 27 Nov 2024 17:18:54 +0100 Subject: [PATCH] add command line params: reuse_files + record_history --- viloca/cli.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/viloca/cli.py b/viloca/cli.py index 024a62a..3f81748 100644 --- a/viloca/cli.py +++ b/viloca/cli.py @@ -200,6 +200,13 @@ def main(): parser_shotgun.add_argument('--exclude_non_var_pos_threshold', metavar='FLOAT', type=float, dest="exclude_non_var_pos_threshold", default=-1, help="Runs exclude non-variable positions mode. Set percentage threshold for exclusion.") + + parser_shotgun.add_argument('--reuse_files', metavar='FLOAT', action='store_true', dest="reuse_files", + default=-1, help="Enabling this option allows the command line tool to reuse files that were generated in previous runs. When set to true, the tool will check for existing output files and reuse them instead of regenerating the data. This can help improve performance by avoiding redundant file generation processes.") + + parser_shotgun.add_argument('--record_history', metavar='FLOAT', action='store_true', dest="record_history", + default=-1, help="When enabled, this option saves the history of the parameter values learned during the inference process.") + parser_shotgun.add_argument("--min_windows_coverage", metavar='INT', type=int, required=False, default=2, dest="min_windows_coverage", help="Number of windows that need to cover a mutation to have it called.")