aboutsummaryrefslogtreecommitdiff
path: root/workflows/pangenome-generate/seqwish.cwl
blob: 9f8cb15144c48b797ca36696a480afe6339d4e17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
cwlVersion: v1.1
class: CommandLineTool
inputs:
  readsFA: File
  readsPAF: File
  kmerSize:
    type: int
    default: 16
outputs:
  seqwishGFA:
    type: File
    outputBinding:
      glob: $(inputs.readsPAF.nameroot).gfa
requirements:
  InlineJavascriptRequirement: {}
hints:
  DockerRequirement:
    dockerPull: "quay.io/biocontainers/seqwish:0.4.1--h8b12597_0"
  ResourceRequirement:
    coresMin: 4
    ramMin: $(7 * 1024)
    outdirMin: $(Math.ceil(inputs.readsFA.size/(1024*1024*1024) + 20))
stdout: $(inputs.readsFA.nameroot).paf
baseCommand: seqwish
arguments: [-t, $(runtime.cores),
            -k, $(inputs.kmerSize),
            -s, $(inputs.readsFA),
            -p, $(inputs.readsPAF),
            -g, $(inputs.readsPAF.nameroot).gfa]