MCPcopy
hub / github.com/openai/plugins / build_nfcore_plan

Function build_nfcore_plan

plugins/ngs-analysis/scripts/run_amplicon_microbiome.py:276–293  ·  view source on GitHub ↗
(args: argparse.Namespace)

Source from the content-addressed store, hash-verified

274
275
276def build_nfcore_plan(args: argparse.Namespace) -> list[dict[str, Any]]:
277 cmd = [
278 "python",
279 "plugins/ngs-analysis/scripts/run_nfcore_pipeline.py",
280 "--pipeline",
281 "ampliseq",
282 "--sample-sheet",
283 args.sample_sheet.expanduser().resolve(),
284 "--extra-param",
285 f"FW_primer={args.primer_forward}",
286 "--extra-param",
287 f"RV_primer={args.primer_reverse}",
288 ]
289 if args.profile:
290 cmd.extend(["--profile", args.profile])
291 if args.execute:
292 cmd.append("--execute")
293 return [command_plan_entry("nf-core/ampliseq handoff", cmd, outputs=["nfcore/ampliseq"])]
294
295
296def build_plan(args: argparse.Namespace, samples: list[dict[str, str]]) -> list[dict[str, Any]]:

Callers 1

build_planFunction · 0.85

Calls 2

command_plan_entryFunction · 0.90
extendMethod · 0.80

Tested by

no test coverage detected