CWL: Is there a way to have a list of imported Record types as an input?
1
0
Entering edit mode
6.6 years ago
ionox0 ▴ 390

E.g.

requirements:
  - $import: ../resources/schema_defs/fastq_pair.cwl

inputs:
  fastq_pairs:
    type:
      type: array
      items:
        type: ../resources/schema_defs/fastq_pair.cwl#FastqPair
cwl • 968 views
ADD COMMENT
3
Entering edit mode
6.5 years ago

Yes,

A full example: https://github.com/EBI-Metagenomics/ebi-metagenomics-cwl/blob/886df9de6713e06228d2560c40f451155a196383/tools/InterProScan5.21-60.cwl#L38

And the relevant excerpt:

requirements:
  SchemaDefRequirement:
    types: 
      - $import: InterProScan-apps.yaml

inputs:
  applications:
    type: InterProScan-apps.yaml#apps[]?
    inputBinding:
      itemSeparator: ','
      prefix: --applications
ADD COMMENT

Login before adding your answer.

Traffic: 1486 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6