From 4cc4d9a7f447741571e349eefc7c15514a3899f4 Mon Sep 17 00:00:00 2001 From: ashuaibi7 Date: Tue, 7 Jan 2025 13:49:45 -0500 Subject: [PATCH] add subparser for command to merge final pairwise interaction results obtained via DIALECT and alternative methods (MEGSA, WeSME, Fisher's) --- src/dialect/utils/argument_parser.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/dialect/utils/argument_parser.py b/src/dialect/utils/argument_parser.py index 6e438cc..4c74bbb 100644 --- a/src/dialect/utils/argument_parser.py +++ b/src/dialect/utils/argument_parser.py @@ -81,6 +81,25 @@ def build_argument_parser(): help="Number of genes to consider (default: 100 genes with highest mutation count)", ) + merge_parser = subparsers.add_parser( + "merge", help="Merge DIALECT and alternative method results" + ) + merge_parser.add_argument( + "-d", + "--dialect", + required=True, + help="Path to the DIALECT pairwise interaction results", + ) + merge_parser.add_argument( + "-a", + "--alt", + required=True, + help="Path to the comparison interaction results", + ) + merge_parser.add_argument( + "-o", "--out", required=True, help="Path to the output directory" + ) + # Subparser for simulations simulate_parser = subparsers.add_parser( "simulate", help="Run simulations for evaluation and benchmarking"