Skip to content

Commit

Permalink
Merge pull request #3 from treangenlab/update_my_recipe
Browse files Browse the repository at this point in the history
update argparse part for conda bulild pass
  • Loading branch information
Fu-Yilei committed May 12, 2023
2 parents 4142726 + 9e38603 commit f9588ba
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions meth_phaser_parallel
Original file line number Diff line number Diff line change
Expand Up @@ -61,47 +61,48 @@ def parse_arg(argv):
# metavar="",
)
parser.add_argument(
"-t", "--threads", type=int, help="threads", default=1, metavar=""
"-t", "--threads", type=int, help="threads", default=1,
# metavar=""
)
parser.add_argument(
"-ml",
"--max_len",
type=int,
help="maximum homozygous region length for phasing, default: -1 (ignore the largest homozygous region, centromere), input -2 for not skipping anything",
default=-1,
metavar="",
# metavar="",
)
parser.add_argument(
"-c",
"--cut_off",
type=float,
help="the minimum percentage of vote to determine a read's haplotype",
default=0.65,
metavar="",
# metavar="",
)
parser.add_argument(
"-a",
"--assignment_min",
type=int,
help="minimum assigned read number for ranksum test",
default=2,
metavar="",
# metavar="",
)
parser.add_argument(
"-o",
"--output_dir",
type=str,
help="output_directory",
default="work/",
metavar="",
# metavar="",
)
parser.add_argument(
"-k",
"--k_iterations",
type=int,
help="use at most k iterations, use -1 for unlimited iterations.",
default="10",
metavar="",
# metavar="",
)

if len(argv) == 0:
Expand Down

0 comments on commit f9588ba

Please sign in to comment.