aboutsummaryrefslogtreecommitdiff
path: root/workflows/pangenome-generate/arv-main.cwl
blob: dae47e6ccbb5a44a6c04591ff53361c723fd2d8c (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
cwlVersion: v1.1
class: Workflow
requirements:
  SubworkflowFeatureRequirement: {}
inputs:
  src_project: string
  metadataSchema: File
  exclude: File?
outputs:
  odgiGraph:
    type: File
    outputSource: pangenome-generate/odgiGraph
#  odgiPNG:
#    type: File
#    outputSource: pangenome-generate/odgiPNG
  spoaGFA:
    type: File
    outputSource: pangenome-generate/spoaGFA
  odgiRDF:
    type: File
    outputSource: pangenome-generate/odgiRDF
  readsMergeDedup:
    type: File
    outputSource: pangenome-generate/readsMergeDedupSortedByQualAndLen
  mergedMetadata:
    type: File
    outputSource: pangenome-generate/mergedMetadata
#  indexed_paths:
#    type: File
#    outputSource: pangenome-generate/indexed_paths
#  colinear_components:
#    type: Directory
#    outputSource: pangenome-generate/colinear_components
steps:
  collect-seqs:
    run: collect-seqs.cwl
    in:
      src_project: src_project
      schema: metadataSchema
      exclude: exclude
    out: [relabeledSeqs, mergedMetadata]
  pangenome-generate:
    run: pangenome-generate_spoa.cwl
    in:
      seqs: collect-seqs/relabeledSeqs
      metadata: collect-seqs/mergedMetadata
      exclude: exclude
    out: [odgiGraph, spoaGFA, odgiRDF, readsMergeDedupSortedByQualAndLen, mergedMetadata]