-
Notifications
You must be signed in to change notification settings - Fork 4
/
lftp.cwl
54 lines (49 loc) · 1.11 KB
/
lftp.cwl
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
50
51
52
53
54
cwlVersion: v1.0
class: CommandLineTool
doc: "transfer file passed from the previous task to the remote ftp server"
requirements:
- class: InlineJavascriptRequirement
- class: DockerRequirement
dockerPull: jlaitinen/lftpalpine
- class: MultipleInputFeatureRequirement
- class: InitialWorkDirRequirement
listing: ${
var r = [];
for (var i=0; i < inputs.files_to_send.length; i++) {
r.push(inputs.files_to_send[i]);
}
r.push(inputs.gvcf);
r.push(inputs.bam);
return r;
}
- class: ResourceRequirement
outdirMin: 7200
hints:
- class: ResourceRequirement
coresMin: 1
ramMin: 2000
inputs:
- id: lftp_out_conf
type: File
doc: "The parameters file for lftp"
inputBinding:
position: 1
- id: files_to_send
type:
type: array
items: File
- id: bam
type: File
secondaryFiles:
- ^.bai
- id: gvcf
type: File
secondaryFiles:
- .tbi
# inputBinding:
# valueFrom: $(self.basename)
outputs:
- id: output
type: stdout
baseCommand: ["lftp"]
arguments: ["-f"]