Skip to content

Commit

Permalink
added new subparser for functionality with running DIALECT to identif…
Browse files Browse the repository at this point in the history
…y interactions
  • Loading branch information
ashuaibi7 committed Nov 19, 2024
1 parent c2275da commit 56152c3
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions src/dialect/utils/argument_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,26 @@ def build_argument_parser():
help="Reference genome (default: hg19)",
)

# # Subparser for DIALECT analysis
# analyze_parser = subparsers.add_parser("analyze", help="Run DIALECT analysis")
# analyze_parser.add_argument("cnt_mtx_fn", help="Path to the count matrix file")
# analyze_parser.add_argument("bmr_fn", help="Path to the BMR file")
# analyze_parser.add_argument("dout", help="Path to the output directory")
# analyze_parser.add_argument("--top_k", default=100, type=int)
# Subparser for DIALECT analysis
identify_parser = subparsers.add_parser(
"identify", help="Run DIALECT to identify interactions"
)
identify_parser.add_argument(
"-m", "--maf", required=True, help="Path to the input MAF file"
)
identify_parser.add_argument(
"-b", "--bmr", required=True, help="Path to the BMR file"
)
identify_parser.add_argument(
"-o", "--out", required=True, help="Path to the output directory"
)
identify_parser.add_argument(
"-k",
"--top_k",
default=100,
type=int,
help="Number of genes to consider (default: 100 genes with highest mutation count)",
)

# # Subparser for comparison analysis
# compare_parser = subparsers.add_parser("compare", help="Run comparison analysis")
Expand Down

0 comments on commit 56152c3

Please sign in to comment.