From 939034884865767ba08a992b3db03b9b98b9704a Mon Sep 17 00:00:00 2001 From: Jaebeom Kim <68528165+jaebeom-kim@users.noreply.github.com> Date: Mon, 2 Dec 2024 17:39:34 +0900 Subject: [PATCH] Added taxonomy report parameter in StructureSearchJob branch (#95) * add taxonomy report parameter in StructureSearchJob branch * make a separate if branch for taxonomy report option --- backend/worker.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backend/worker.go b/backend/worker.go index ddbfd1c..55f3583 100644 --- a/backend/worker.go +++ b/backend/worker.go @@ -390,6 +390,11 @@ mv -f -- "${BASE}/query.lookup_tmp" "${BASE}/query.lookup" parameters = append(parameters, "--greedy-best-hits") } + if params.Taxonomy { + parameters = append(parameters, "--report-mode") + parameters = append(parameters, "0") + } + if params.Taxonomy && job.TaxFilter != "" { parameters = append(parameters, "--taxon-list") parameters = append(parameters, job.TaxFilter)