没有空格的 AWS Batch 命令?

AWS Batch command with no spaces?

我有一个命令,我正在尝试 运行、minimus2 <prefix> -D OVERLAP=100 -D MINID=95 -D THREADS=1-D 命令不能有 space,例如minimus2 <prefix> -D OVERLAP 100 -D MINID 95 -D THREADS 1,会失败。

我试过了,

"Command":[
  "minimus2",
  "Ref::afgPrefixFile",
  "-D",
  "OVERLAP=",
  "Ref::overlap",
  "-D",
  "MINID=",
  "Ref::minid",
  "-D",
  "THREADS=",
  "Ref::threads"
]

which returns minimus2 <prefix file> -D OVERLAP= 100 -D MINID= 95 -D THREADS= 1,这将在 = 之后添加一个 space 并导致命令失败。而且,

"Command":[
  "minimus2",
  "Ref::afgPrefixFile",
  "-D",
  "OVERLAP=Ref::overlap",
  "-D",
  "MINID=Ref::minid",
  "-D",
  "THREADS=Ref::threads"
]

这是行不通的。如何构建某些参数不生成 spaces 的 AWS Batch 命令?

我知道不太理想,但是您可以将参数设置为整​​个字符串吗?例如:

"parameters" : {"overlap" : "OVERLAP=THE_VALUE", ....}