aboutsummaryrefslogtreecommitdiff
path: root/scripts/fetch_from_genbank.cwl
blob: 45c8eec6af9f56049a07e1a0ff5fbdf1122baacf (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
49
cwlVersion: v1.1
class: CommandLineTool
inputs:
  importScript:
    type: File
    default:
      class: File
      location: download_genbank_data/from_genbank_to_fasta_and_yaml.py
    inputBinding: {position: 1}
  dict:
    type: Directory
    inputBinding:
      prefix: --dict-ontology
      position: 2
    default:
      class: Directory
      location: dict_ontology_standardization
  existing_metadata_from_nuccore:
    type: Directory?
    inputBinding:
      valueFrom: "--skip-request"
      position: 3
outputs:
  fasta_and_yaml:
    type: Directory
    outputBinding:
      glob: fasta_and_yaml
  metadata_from_nuccore:
    type: Directory
    outputBinding:
      glob: metadata_from_nuccore
  accessions:
    type: File?
    outputBinding:
      glob: "*.acc"
  missing_terms:
    type: File
    outputBinding:
      glob: missing_terms.tsv
requirements:
  InitialWorkDirRequirement:
    listing:
      - entry: $(inputs.existing_metadata_from_nuccore)
        entryname: metadata_from_nuccore
  DockerRequirement:
    dockerPull: bh20-seq-uploader/import
  NetworkAccess:
    networkAccess: true
baseCommand: python3