Skip to content

Commit

Permalink
Expose save partial query to CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
nickjcroucher committed Oct 9, 2024
1 parent 2943e5f commit c1ca50a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PopPUNK/assign.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def get_options():
oGroup.add_argument('--update-db', help='Update reference database with query sequences', default=False, action='store_true')
oGroup.add_argument('--overwrite', help='Overwrite any existing database files', default=False, action='store_true')
oGroup.add_argument('--graph-weights', help='Save within-strain Euclidean distances into the graph', default=False, action='store_true')
oGroup.add_argument('--save-partial-query-graph', help='Save the network components to which queries are assigned', default=False, action='store_true')

# comparison metrics
kmerGroup = parser.add_argument_group('Kmer comparison options')
Expand Down Expand Up @@ -234,7 +235,7 @@ def main():
args.gpu_dist,
args.gpu_graph,
args.deviceid,
save_partial_query_graph=False)
args.save_partial_query_graph)

sys.stderr.write("\nDone\n")

Expand Down

0 comments on commit c1ca50a

Please sign in to comment.