aboutsummaryrefslogtreecommitdiff
path: root/workflows/pangenome-generate/query-to-gfa.cwl
blob: 2f3a20aeb0c7e43951f65bbb42c5e3d49d27a040 (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
cwlVersion: v1.1
class: Workflow
requirements:
  SubworkflowFeatureRequirement: {}
inputs:
  metadata: File
  fasta:
    type: File
    secondaryFiles: [.fai]
  query: string
outputs:
  odgiGraph:
    type: File
    outputSource: make-gfa/odgiGraph
  spoaGFA:
    type: File
    outputSource: make-gfa/spoaGFA
  readsMergeDedupSortedByQualAndLen:
    type: File
    outputSource: make-gfa/readsMergeDedupSortedByQualAndLen
  mergedMetadata:
    type: File
    outputSource: make-gfa/mergedMetadata
steps:
  get-subset:
    run: from_sparql.cwl
    in: {metadata: metadata, query: query, fasta: fasta}
    out: [selected]
  make-gfa:
    run: pangenome-generate_spoa.cwl
    in: {metadata: metadata, seqs: get-subset/selected}
    out: [odgiGraph, spoaGFA, readsMergeDedupSortedByQualAndLen, mergedMetadata]