aboutsummaryrefslogtreecommitdiff
path: root/workflows/pangenome-generate/minimap2.cwl
blob: 42d1dcef820ba709c8e787d4f8c557968e3fe432 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
cwlVersion: v1.1
class: CommandLineTool
inputs:
  readsFA: File
outputs:
  readsPAF: stdout
requirements:
  InlineJavascriptRequirement: {}
hints:
  DockerRequirement:
    dockerPull: "quay.io/biocontainers/minimap2:2.17--h8b12597_1"
  ResourceRequirement:
    coresMin: 8
    coresMax: 32
    ramMin: $(9 * 1024)
    outdirMin: $(Math.ceil(inputs.readsFA.size/(1024*1024*1024) + 20))
stdout: $(inputs.readsFA.nameroot).paf
baseCommand: minimap2
arguments: [-cx, asm20,
            -w, "1",
            -t, $(runtime.cores),
            $(inputs.readsFA),
            $(inputs.readsFA)]