aboutsummaryrefslogtreecommitdiff
path: root/scripts/import_from_genbank.cwl
blob: dcf9acba10812f77aef0c7635f008e7c77ba4a4f (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
cwlVersion: v1.1
class: Workflow
inputs:
  existing_metadata_from_nuccore:
    type: Directory?
outputs: []
requirements:
  ScatterFeatureRequirement: {}
steps:
  fetch_from_genbank:
    in:
      existing_metadata_from_nuccore: existing_metadata_from_nuccore
    out: [fasta_and_yaml, metadata_from_nuccore, accessions]
    run: fetch_from_genbank.cwl
  split_into_arrays:
    in:
      dir: fetch_from_genbank/fasta_and_yaml
    out: [fasta, metadata]
    run: split_into_arrays.cwl
  upload:
    in:
      fasta: split_into_arrays/fasta
      metadata: split_into_arrays/metadata
    out: []
    scatter: [fasta, metadata]
    scatterMethod: dotproduct
    run: upload.cwl