-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpraat.cwl
More file actions
48 lines (45 loc) · 1.03 KB
/
praat.cwl
File metadata and controls
48 lines (45 loc) · 1.03 KB
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
#!/usr/bin/env cwl-runner
# Runs Praat in a docker container
#
# Praat expects all files to be in the working directory
# The InitialWorkDirRequirement puts the inputs in the working directory
# the run_praat.sh script copies the praat script to the
# working dir and executes praat
# Building the docker image:
# from the praat directory
# docker build -t erd-praat .
#
# from the directory with the cwl file
# docker save erd-praat > erd-praat.tar
cwlVersion: v1.2
class: CommandLineTool
baseCommand: [/app/run_praat.sh]
requirements:
DockerRequirement:
dockerImageId: erd-praat
dockerLoad: erd-praat.tar
InitialWorkDirRequirement:
listing:
- $(inputs.audio)
- $(inputs.transcription)
- $(inputs.silences)
inputs:
audio:
type: File
inputBinding:
position: 1
transcription:
type: File
inputBinding:
position: 2
silences:
type: File
inputBinding:
position: 3
gender:
type:
type: enum
symbols: ["vrouw", "man"]
outputs:
csv_out:
type: stdout