Skip to content

Commit

Permalink
added CLI defaults to help
Browse files Browse the repository at this point in the history
  • Loading branch information
iskandr committed Feb 20, 2020
1 parent 6ca3e6e commit 20da1ee
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions vaxrank/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ def add_output_args(arg_parser):

output_args_group.add_argument(
"--max-mutations-in-report",
default=None,
type=int,
help="Number of mutations to report")

Expand All @@ -193,37 +194,40 @@ def add_vaccine_peptide_args(arg_parser):
"--vaccine-peptide-length",
default=25,
type=int,
help="Number of amino acids in the vaccine peptides (default %(default)s)")
help="Number of amino acids in the vaccine peptides. (default: %(default)s)")

vaccine_peptide_group.add_argument(
"--padding-around-mutation",
default=0,
default=5,
type=int,
help=(
"Number of off-center windows around the mutation to consider "
"as vaccine peptides (default %(default)s)"
"as vaccine peptides. (default: %(default)s)"
))

vaccine_peptide_group.add_argument(
"--max-vaccine-peptides-per-mutation",
default=1,
type=int,
help="Number of vaccine peptides to generate for each mutation")
help=(
"Number of vaccine peptides to generate for each mutation. "
"(default: %(default)s)"
))

vaccine_peptide_group.add_argument(
"--min-epitope-score",
default=1e-10,
type=float,
help=(
"Ignore predicted MHC ligands whose normalized binding score "
"falls below this threshold"))
"falls below this threshold. (default: %(default)s)"))

vaccine_peptide_group.add_argument(
"--num-epitopes-per-vaccine-peptide",
type=int,
help=(
"Maximum number of mutant epitopes to consider when scoring "
"each vaccine peptide."))
"each vaccine peptide. (default: %(default)s)"))


def add_supplemental_report_args(arg_parser):
Expand Down

0 comments on commit 20da1ee

Please sign in to comment.