Add cwl and docker files
[lightning.git] / cwl / gvcf2fasta / append-sampleid.cwl
1 # Copyright (C) The Lightning Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 cwlVersion: v1.1
6 class: ExpressionTool
7 inputs:
8   sampleid: string
9   suffix: string
10 outputs:
11   appendedsampleid: string
12 requirements:
13   InlineJavascriptRequirement: {}
14 expression: |
15   ${
16     var appendedsampleid = inputs.sampleid + inputs.suffix;
17     return {"appendedsampleid": appendedsampleid};
18   }