Skip to content

Commit

Permalink
add RAxML-NG threads argument
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusw committed Jan 9, 2024
1 parent 211df0c commit 726d5a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ def main():
help=f"{'':<15}{'if set, all existing results will be overwritten':^50}")
parser.add_argument("-shap", action='store_false', required=False,
help=f"{'':<15}{'if set, Shapley explanations of the prediction will be calculated':^50}")
parser.add_argument("-threads", required=False, type=str, default='auto', help=f"{'NUMBER |':<15}{'number of threads to be used by RAxML-NG':^50}{'| default: auto':>20}")

args = parser.parse_args()
if args.o is None:
output = "BAD_output"
else:
output = args.o
predictor = Predictor(args.msa, args.tree, args.model, args.query, output, args.raxmlng, args.redo, args.shap)
predictor = Predictor(args.msa, args.tree, args.model, args.query, output, args.raxmlng, args.redo, args.shap, args.threads)
predictor.predict()


Expand Down

0 comments on commit 726d5a9

Please sign in to comment.