Debian Codegraph @

paper/containers/tools/atropos-paper/atropos.cwl

raw
1 #!/usr/bin/env cwl-runner
2 cwlVersion: v1.0
3 class: CommandLineTool
4
5 requirements:
6 - class: DockerRequirement
7 dockerPull: jdidion/atropos:1.1.17
8 - class: InlineJavascriptRequirement
9
10 baseCommand: [atropos, trim]
11
12 inputs:
13 paired_input1:
14 type: File
15 format: [
16 "http://edamontology.org/format_1929", # FASTA
17 "http://edamontology.org/format_1930", # FASTQ
18 "http://edamontology.org/format_2572", # BAM
19 "http://edamontology.org/format_2573" # SAM
20 ]
21 streamable: true
22 inputBinding:
23 prefix: -pe1
24 paired_output1:
25 type: File
26 format: [
27 "http://edamontology.org/format_1929", # FASTA
28 "http://edamontology.org/format_1930", # FASTQ
29 "http://edamontology.org/format_2572", # BAM
30 "http://edamontology.org/format_2573" # SAM
31 ]
32 inputBinding:
33 prefix: -o
34 paired_input2:
35 type: File?
36 format: [
37 "http://edamontology.org/format_1929", # FASTA
38 "http://edamontology.org/format_1930" # FASTQ
39 ]
40 streamable: true
41 inputBinding:
42 prefix: -pe2
43 paired_output2:
44 type: File?
45 format: [
46 "http://edamontology.org/format_1929", # FASTA
47 "http://edamontology.org/format_1930" # FASTQ
48 ]
49 inputBinding:
50 prefix: -p
51 adapter1:
52 type: [File, string]
53 format: "http://edamontology.org/format_1929" # FASTA
54 streamable: true
55 inputBinding:
56 prefix: -a
57 adapter2:
58 type:
59 - "null"
60 - File
61 - string
62 format: "http://edamontology.org/format_1929" # FASTA
63 streamable: true
64 inputBinding:
65 prefix: -A
66 threads:
67 type: int?
68 inputBinding:
69 prefix: -T
70 default: 1
71 aligner:
72 type: string?
73 inputBinding:
74 prefix: --aligner
75 default: insert
76 op_order:
77 type: string?
78 inputBinding:
79 prefix: --op-order
80 default: GACQW
81 quality:
82 type: int?
83 inputBinding:
84 prefix: -q
85 default: 0
86 trim_n:
87 type: boolean?
88 inputBinding:
89 prefix: --trim-n
90 min_len:
91 type: int?
92 inputBinding:
93 prefix: -m
94 default: 0
95 batch_size:
96 type: int?
97 inputBinding:
98 prefix: --batch-size
99 default: 1000
100 report_file:
101 type: File?
102 format: [
103 "http://edamontology.org/format_2330", # txt
104 "http://edamontology.org/format_3464" # JSON
105 ]
106 inputBinding:
107 prefix: --report-file
108 no_default_adatpers:
109 type: boolean?
110 inputBinding:
111 prefix: --no-default-adapters
112 no_cache_adapters:
113 type: boolean?
114 inputBinding:
115 prefix: --no-cache-adapters
116 log_level:
117 type: string
118 inputBinding:
119 prefix: --log-level
120 default: ERROR
121 quiet:
122 type: boolean?
123 inputBinding:
124 prefix: --quiet
125 error_rate:
126 type: double
127 inputBinding:
128 prefix: -e
129 default: 0.1
130 insert_match_error_rate:
131 type: double?
132 inputBinding:
133 prefix: --insert-match-error-rate
134 default: 0.2
135 correct_mismatches:
136 type: string?
137 inputBinding:
138 prefix: --correct-mismatches
139 overwrite_low_quality:
140 type: string?
141 inputBinding:
142 prefix: -w
143
144 outputs:
145 trimmed1:
146 type: File
147 streamable: true
148 outputBinding:
149 glob: $(inputs.paired_output1)
150 trimmed2:
151 type: File?
152 streamable: true
153 outputBinding:
154 glob: $(inputs.paired_output2)
155 report:
156 type: File?
157 outputBinding:
158 glob: $(inputs.report_file)