Debian Codegraph @

paper/containers/tools/adapter-removal/adapter-removal.cwl

raw
1 #!/usr/bin/env cwl-runner
2 cwlVersion: v1.0
3 class: CommandLineTool
4
5 requirements:
6 - class: DockerRequirement
7 dockerPull: jdidion/adapterremoval:2.2.2
8 - class: InlineJavascriptRequirement
9
10 baseCommand: [AdapterRemoval]
11
12 inputs:
13 paired_input1:
14 type: File
15 format: "http://edamontology.org/format_1930" # FASTQ
16 streamable: true
17 inputBinding:
18 prefix: --file1
19 paired_output1:
20 type: File
21 format: "http://edamontology.org/format_1930" # FASTQ
22 inputBinding:
23 prefix: -output1
24 paired_input2:
25 type: File?
26 format: "http://edamontology.org/format_1930" # FASTQ
27 streamable: true
28 inputBinding:
29 prefix: --file2
30 paired_output2:
31 type: File?
32 format: "http://edamontology.org/format_1930" # FASTQ
33 inputBinding:
34 prefix: -output2
35 gzip:
36 type: boolean
37 inputBinding:
38 prefix: --gzip
39 adapter1:
40 type: string
41 inputBinding:
42 prefix: -adapter1
43 adapter2:
44 type: string?
45 inputBinding:
46 prefix: -adapter2
47 mismatch_rate:
48 type: double?
49 inputBinding:
50 prefix: --mm
51 trimns:
52 type: boolean
53 inputBinding:
54 prefix: --trimns
55 trimqualities:
56 type: boolean
57 inputBinding:
58 prefix: --trimqualities
59 minquality:
60 type: int?
61 inputBinding:
62 prefix: --minquality
63 minlength:
64 type: int?
65 inputBinding:
66 prefix: --minlength
67 threads:
68 type: int?
69 inputBinding:
70 prefix: --threads
71 default: 1
72 settings_file:
73 type: File?
74 inputBinding:
75 prefix: --settings
76
77 outputs:
78 trimmed1:
79 type: File
80 streamable: true
81 outputBinding:
82 glob: $(inputs.paired_output1)
83 trimmed2:
84 type: File?
85 streamable: true
86 outputBinding:
87 glob: $(inputs.paired_output2)
88 settings:
89 type: File?
90 outputBinding:
91 glob: $(inputs.settings_file)