Skip to content

Commit

Permalink
Update rank_threshold arg
Browse files Browse the repository at this point in the history
  • Loading branch information
johnne committed Feb 8, 2019
1 parent 2d3db5e commit 74e6afb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tango/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,14 +196,14 @@ def main():
help="Directory specified during 'tango download taxonomy'. Defaults to taxonomy/.")
assign_parser.add_argument("-T", "--top", type=int, default=10,
help="Top percent of best score to consider hits for (default=10)")
assign_parser.add_argument("-r", "--ranks", nargs="*", default=["superkingdom", "phylum", "class", "order",
assign_parser.add_argument("-r", "--ranks", nargs="+", default=["superkingdom", "phylum", "class", "order",
"family", "genus", "species"])
assign_parser.add_argument("-p", "--threads", type=int, default=1,
help="Number of threads to use. Defaults to 1.")
assign_parser.add_argument("-c", "--chunksize", type=int, default=1,
help="Size of chunks sent to process pool. For large input files using a large chunksize\
can make the job complete much faster than using the default value of 1.")
assign_parser.add_argument("--rank_thresholds", nargs="*", default=[0.4, 0.42, 0.46, 0.5, 0.55, 0.6, 0.85])
assign_parser.add_argument("--rank_thresholds", nargs="+", default=[0.4, 0.42, 0.46, 0.5, 0.55, 0.6, 0.85])
assign_parser.add_argument("--vote_threshold", default=0.5, type=float,
help="Minimum fraction required when voting on rank assignments.")
assign_parser.add_argument("--blobout", type=str,
Expand Down

0 comments on commit 74e6afb

Please sign in to comment.