extra-specs.json
1{
2 "reverse_lines": {
3 "name": "galaxy_reverse_lines",
4 "version": "1.0",
5 "entrypoint": "xstream.galaxy.ReverseLines",
6 "description": "Reverse the order of newline-separated text records.",
7 "parameters": {
8 "type": "object",
9 "properties": {},
10 "additionalProperties": false,
11 "required": []
12 },
13 "params": {},
14 "upstream": {
15 "repository": "https://github.com/bgruening/galaxytools",
16 "path": "text_processing/text_processing/tac.xml"
17 },
18 "scope": "Newline records only; a bounded 8 MiB-character buffer is required. No custom separators.",
19 "fixture": {
20 "data": "one\ntwo\n",
21 "expected": "two\none\n",
22 "params": {}
23 },
24 "categories": [
25 "Galaxy",
26 "Text processing",
27 "Tabular data"
28 ],
29 "documentation": {
30 "inputs": {
31 "source": "UTF-8 bytes stream. Newline records only; a bounded 8 MiB-character buffer is required. No custom separators."
32 },
33 "outputs": {
34 "result": "Reverse the order of newline-separated text records. Newline records only; a bounded 8 MiB-character buffer is required. No custom separators."
35 },
36 "parameters": {},
37 "example_job": "name: Reverse the order of newline-separated text records.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/reverse_lines.txt\n view: bytes\n- id: process\n operator: galaxy_reverse_lines@1.0\n inputs:\n source: read\n params: {}\noutputs:\n result: process\n"
38 },
39 "icon": {
40 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
41 "color": "#5265ad"
42 }
43 },
44 "number_lines": {
45 "name": "galaxy_number_lines",
46 "version": "1.0",
47 "entrypoint": "xstream.galaxy.NumberLines",
48 "description": "Number nonempty text lines with configurable starting number, increment and alignment.",
49 "parameters": {
50 "type": "object",
51 "properties": {
52 "start": {
53 "type": "integer",
54 "default": 1,
55 "minimum": 0,
56 "maximum": 1000000000,
57 "description": "First line number."
58 },
59 "increment": {
60 "type": "integer",
61 "default": 1,
62 "minimum": 1,
63 "maximum": 1000000,
64 "description": "Positive increment between numbered lines."
65 },
66 "width": {
67 "type": "integer",
68 "default": 6,
69 "minimum": 1,
70 "maximum": 64,
71 "description": "Minimum number-label width."
72 },
73 "style": {
74 "type": "string",
75 "default": "rn",
76 "maxLength": 4096,
77 "enum": [
78 "ln",
79 "rn",
80 "rz"
81 ],
82 "description": "Line-number alignment: ln left, rn right or rz zero-filled."
83 }
84 },
85 "additionalProperties": false,
86 "required": []
87 },
88 "params": {
89 "start": 1,
90 "increment": 1,
91 "width": 3,
92 "style": "rz"
93 },
94 "upstream": {
95 "repository": "https://github.com/bgruening/galaxytools",
96 "path": "text_processing/text_processing/nl.xml"
97 },
98 "scope": "Empty lines are unnumbered. Logical-page escape sequences are treated as literal text.",
99 "fixture": {
100 "data": "a\n\nb\n",
101 "expected": "001\ta\n \n002\tb\n",
102 "params": {
103 "start": 1,
104 "increment": 1,
105 "width": 3,
106 "style": "rz"
107 }
108 },
109 "categories": [
110 "Galaxy",
111 "Text processing",
112 "Tabular data"
113 ],
114 "documentation": {
115 "inputs": {
116 "source": "UTF-8 bytes stream. Empty lines are unnumbered. Logical-page escape sequences are treated as literal text."
117 },
118 "outputs": {
119 "result": "Number nonempty text lines with configurable starting number, increment and alignment. Empty lines are unnumbered. Logical-page escape sequences are treated as literal text."
120 },
121 "parameters": {
122 "start": {
123 "description": "First line number.",
124 "help": "First line number. Empty lines are unnumbered. Logical-page escape sequences are treated as literal text.",
125 "example": 1
126 },
127 "increment": {
128 "description": "Positive increment between numbered lines.",
129 "help": "Positive increment between numbered lines. Empty lines are unnumbered. Logical-page escape sequences are treated as literal text.",
130 "example": 1
131 },
132 "width": {
133 "description": "Minimum number-label width.",
134 "help": "Minimum number-label width. Empty lines are unnumbered. Logical-page escape sequences are treated as literal text.",
135 "example": 3
136 },
137 "style": {
138 "description": "Line-number alignment: ln left, rn right or rz zero-filled.",
139 "help": "Line-number alignment: ln left, rn right or rz zero-filled. Empty lines are unnumbered. Logical-page escape sequences are treated as literal text.",
140 "example": "rz"
141 }
142 },
143 "example_job": "name: Number nonempty text lines with configurable starting number, increment and\n alignment.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/number_lines.txt\n view: bytes\n- id: process\n operator: galaxy_number_lines@1.0\n inputs:\n source: read\n params:\n start: 1\n increment: 1\n width: 3\n style: rz\noutputs:\n result: process\n"
144 },
145 "icon": {
146 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
147 "color": "#5265ad"
148 }
149 },
150 "sort_lines": {
151 "name": "galaxy_sort_lines",
152 "version": "1.0",
153 "entrypoint": "xstream.galaxy.SortLines",
154 "description": "Stable sort of text rows using a selected tab-separated key.",
155 "parameters": {
156 "type": "object",
157 "properties": {
158 "column": {
159 "type": "integer",
160 "default": 1,
161 "minimum": 1,
162 "maximum": 65536,
163 "description": "One-based selected field, or zero for a whole-line key where allowed."
164 },
165 "numeric": {
166 "type": "boolean",
167 "default": false,
168 "description": "Compare keys as finite decimal/scientific numbers."
169 },
170 "reverse": {
171 "type": "boolean",
172 "default": false,
173 "description": "Use descending key order."
174 },
175 "ignore_case": {
176 "type": "boolean",
177 "default": false,
178 "description": "Compare without case differences."
179 },
180 "header": {
181 "type": "integer",
182 "default": 0,
183 "minimum": 0,
184 "maximum": 10000,
185 "description": "Header line count, or new header label for label-column operators."
186 }
187 },
188 "additionalProperties": false,
189 "required": []
190 },
191 "params": {
192 "column": 2,
193 "numeric": true,
194 "reverse": false,
195 "ignore_case": false,
196 "header": 1
197 },
198 "upstream": {
199 "repository": "https://github.com/bgruening/galaxytools",
200 "path": "text_processing/text_processing/sort.xml"
201 },
202 "scope": "One full-field sort key; numeric mode requires finite decimal/scientific values. No locale, random or human-size sorting. Bounded 8 MiB-character row buffer.",
203 "fixture": {
204 "data": "id\tvalue\nb\t10\na\t2\n",
205 "expected": "id\tvalue\na\t2\nb\t10\n",
206 "params": {
207 "column": 2,
208 "numeric": true,
209 "reverse": false,
210 "ignore_case": false,
211 "header": 1
212 }
213 },
214 "categories": [
215 "Galaxy",
216 "Text processing",
217 "Tabular data"
218 ],
219 "documentation": {
220 "inputs": {
221 "source": "UTF-8 bytes stream. One full-field sort key; numeric mode requires finite decimal/scientific values. No locale, random or human-size sorting. Bounded 8 MiB-character row buffer."
222 },
223 "outputs": {
224 "result": "Stable sort of text rows using a selected tab-separated key. One full-field sort key; numeric mode requires finite decimal/scientific values. No locale, random or human-size sorting. Bounded 8 MiB-character row buffer."
225 },
226 "parameters": {
227 "column": {
228 "description": "One-based selected field, or zero for a whole-line key where allowed.",
229 "help": "One-based selected field, or zero for a whole-line key where allowed. One full-field sort key; numeric mode requires finite decimal/scientific values. No locale, random or human-size sorting. Bounded 8 MiB-character row buffer.",
230 "example": 2
231 },
232 "numeric": {
233 "description": "Compare keys as finite decimal/scientific numbers.",
234 "help": "Compare keys as finite decimal/scientific numbers. One full-field sort key; numeric mode requires finite decimal/scientific values. No locale, random or human-size sorting. Bounded 8 MiB-character row buffer.",
235 "example": true
236 },
237 "reverse": {
238 "description": "Use descending key order.",
239 "help": "Use descending key order. One full-field sort key; numeric mode requires finite decimal/scientific values. No locale, random or human-size sorting. Bounded 8 MiB-character row buffer.",
240 "example": false
241 },
242 "ignore_case": {
243 "description": "Compare without case differences.",
244 "help": "Compare without case differences. One full-field sort key; numeric mode requires finite decimal/scientific values. No locale, random or human-size sorting. Bounded 8 MiB-character row buffer.",
245 "example": false
246 },
247 "header": {
248 "description": "Header line count, or new header label for label-column operators.",
249 "help": "Header line count, or new header label for label-column operators. One full-field sort key; numeric mode requires finite decimal/scientific values. No locale, random or human-size sorting. Bounded 8 MiB-character row buffer.",
250 "example": 1
251 }
252 },
253 "example_job": "name: Stable sort of text rows using a selected tab-separated key.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/sort_lines.txt\n view: bytes\n- id: process\n operator: galaxy_sort_lines@1.0\n inputs:\n source: read\n params:\n column: 2\n numeric: true\n reverse: false\n ignore_case: false\n header: 1\noutputs:\n result: process\n"
254 },
255 "icon": {
256 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
257 "color": "#5265ad"
258 }
259 },
260 "sort_fields": {
261 "name": "galaxy_sort_fields",
262 "version": "1.0",
263 "entrypoint": "xstream.galaxy.SortFields",
264 "description": "Sort the tab-separated fields within each row alphabetically.",
265 "parameters": {
266 "type": "object",
267 "properties": {},
268 "additionalProperties": false,
269 "required": []
270 },
271 "params": {},
272 "upstream": {
273 "repository": "https://github.com/bgruening/galaxytools",
274 "path": "text_processing/text_processing/sort_rows.xml"
275 },
276 "scope": "As upstream, strips surrounding row whitespace before sorting fields.",
277 "fixture": {
278 "data": "c\ta\tb\n2\t1\n",
279 "expected": "a\tb\tc\n1\t2\n",
280 "params": {}
281 },
282 "categories": [
283 "Galaxy",
284 "Text processing",
285 "Tabular data"
286 ],
287 "documentation": {
288 "inputs": {
289 "source": "UTF-8 bytes stream. As upstream, strips surrounding row whitespace before sorting fields."
290 },
291 "outputs": {
292 "result": "Sort the tab-separated fields within each row alphabetically. As upstream, strips surrounding row whitespace before sorting fields."
293 },
294 "parameters": {},
295 "example_job": "name: Sort the tab-separated fields within each row alphabetically.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/sort_fields.txt\n view: bytes\n- id: process\n operator: galaxy_sort_fields@1.0\n inputs:\n source: read\n params: {}\noutputs:\n result: process\n"
296 },
297 "icon": {
298 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
299 "color": "#5265ad"
300 }
301 },
302 "unique_lines": {
303 "name": "galaxy_unique_lines",
304 "version": "1.0",
305 "entrypoint": "xstream.galaxy.UniqueLines",
306 "description": "Sort text lines and retain one occurrence of each comparison key.",
307 "parameters": {
308 "type": "object",
309 "properties": {
310 "ignore_case": {
311 "type": "boolean",
312 "default": false,
313 "description": "Compare without case differences."
314 },
315 "column": {
316 "type": "integer",
317 "default": 0,
318 "minimum": 0,
319 "maximum": 65536,
320 "description": "One-based selected field, or zero for a whole-line key where allowed."
321 },
322 "numeric": {
323 "type": "boolean",
324 "default": false,
325 "description": "Compare keys as finite decimal/scientific numbers."
326 },
327 "header": {
328 "type": "integer",
329 "default": 0,
330 "minimum": 0,
331 "maximum": 10000,
332 "description": "Header line count, or new header label for label-column operators."
333 }
334 },
335 "additionalProperties": false,
336 "required": []
337 },
338 "params": {
339 "ignore_case": false,
340 "column": 0,
341 "numeric": false,
342 "header": 0
343 },
344 "upstream": {
345 "repository": "https://github.com/bgruening/galaxytools",
346 "path": "text_processing/text_processing/unsorted_uniq.xml"
347 },
348 "scope": "Whole line or one selected field; stable representative, bounded 8 MiB-character buffer. Header lines pass unchanged.",
349 "fixture": {
350 "data": "b\na\nb\n",
351 "expected": "a\nb\n",
352 "params": {
353 "ignore_case": false,
354 "column": 0,
355 "numeric": false,
356 "header": 0
357 }
358 },
359 "categories": [
360 "Galaxy",
361 "Text processing",
362 "Tabular data"
363 ],
364 "documentation": {
365 "inputs": {
366 "source": "UTF-8 bytes stream. Whole line or one selected field; stable representative, bounded 8 MiB-character buffer. Header lines pass unchanged."
367 },
368 "outputs": {
369 "result": "Sort text lines and retain one occurrence of each comparison key. Whole line or one selected field; stable representative, bounded 8 MiB-character buffer. Header lines pass unchanged."
370 },
371 "parameters": {
372 "ignore_case": {
373 "description": "Compare without case differences.",
374 "help": "Compare without case differences. Whole line or one selected field; stable representative, bounded 8 MiB-character buffer. Header lines pass unchanged.",
375 "example": false
376 },
377 "column": {
378 "description": "One-based selected field, or zero for a whole-line key where allowed.",
379 "help": "One-based selected field, or zero for a whole-line key where allowed. Whole line or one selected field; stable representative, bounded 8 MiB-character buffer. Header lines pass unchanged.",
380 "example": 0
381 },
382 "numeric": {
383 "description": "Compare keys as finite decimal/scientific numbers.",
384 "help": "Compare keys as finite decimal/scientific numbers. Whole line or one selected field; stable representative, bounded 8 MiB-character buffer. Header lines pass unchanged.",
385 "example": false
386 },
387 "header": {
388 "description": "Header line count, or new header label for label-column operators.",
389 "help": "Header line count, or new header label for label-column operators. Whole line or one selected field; stable representative, bounded 8 MiB-character buffer. Header lines pass unchanged.",
390 "example": 0
391 }
392 },
393 "example_job": "name: Sort text lines and retain one occurrence of each comparison key.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/unique_lines.txt\n view: bytes\n- id: process\n operator: galaxy_unique_lines@1.0\n inputs:\n source: read\n params:\n ignore_case: false\n column: 0\n numeric: false\n header: 0\noutputs:\n result: process\n"
394 },
395 "icon": {
396 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
397 "color": "#5265ad"
398 }
399 },
400 "unique_consecutive": {
401 "name": "galaxy_unique_consecutive",
402 "version": "1.0",
403 "entrypoint": "xstream.galaxy.UniqueConsecutive",
404 "description": "Collapse adjacent equal text records, optionally counting or selecting duplicate groups.",
405 "parameters": {
406 "type": "object",
407 "properties": {
408 "ignore_case": {
409 "type": "boolean",
410 "default": false,
411 "description": "Compare without case differences."
412 },
413 "count": {
414 "type": "boolean",
415 "default": false,
416 "description": "Prefix each emitted group by its occurrence count."
417 },
418 "mode": {
419 "type": "string",
420 "default": "all",
421 "maxLength": 4096,
422 "enum": [
423 "all",
424 "repeated",
425 "single"
426 ],
427 "description": "Emit every group, repeated groups, or singleton groups."
428 }
429 },
430 "additionalProperties": false,
431 "required": []
432 },
433 "params": {
434 "ignore_case": false,
435 "count": true,
436 "mode": "all"
437 },
438 "upstream": {
439 "repository": "https://github.com/bgruening/galaxytools",
440 "path": "text_processing/text_processing/sorted_uniq.xml"
441 },
442 "scope": "Only consecutive duplicates are grouped; no arbitrary field skipping or blank-delimited grouping.",
443 "fixture": {
444 "data": "a\na\nb\n",
445 "expected": "2\ta\n1\tb\n",
446 "params": {
447 "ignore_case": false,
448 "count": true,
449 "mode": "all"
450 }
451 },
452 "categories": [
453 "Galaxy",
454 "Text processing",
455 "Tabular data"
456 ],
457 "documentation": {
458 "inputs": {
459 "source": "UTF-8 bytes stream. Only consecutive duplicates are grouped; no arbitrary field skipping or blank-delimited grouping."
460 },
461 "outputs": {
462 "result": "Collapse adjacent equal text records, optionally counting or selecting duplicate groups. Only consecutive duplicates are grouped; no arbitrary field skipping or blank-delimited grouping."
463 },
464 "parameters": {
465 "ignore_case": {
466 "description": "Compare without case differences.",
467 "help": "Compare without case differences. Only consecutive duplicates are grouped; no arbitrary field skipping or blank-delimited grouping.",
468 "example": false
469 },
470 "count": {
471 "description": "Prefix each emitted group by its occurrence count.",
472 "help": "Prefix each emitted group by its occurrence count. Only consecutive duplicates are grouped; no arbitrary field skipping or blank-delimited grouping.",
473 "example": true
474 },
475 "mode": {
476 "description": "Emit every group, repeated groups, or singleton groups.",
477 "help": "Emit every group, repeated groups, or singleton groups. Only consecutive duplicates are grouped; no arbitrary field skipping or blank-delimited grouping.",
478 "example": "all"
479 }
480 },
481 "example_job": "name: Collapse adjacent equal text records, optionally counting or selecting duplicate\n groups.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/unique_consecutive.txt\n view: bytes\n- id: process\n operator: galaxy_unique_consecutive@1.0\n inputs:\n source: read\n params:\n ignore_case: false\n count: true\n mode: all\noutputs:\n result: process\n"
482 },
483 "icon": {
484 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
485 "color": "#5265ad"
486 }
487 },
488 "unfold_column": {
489 "name": "galaxy_unfold_column",
490 "version": "1.0",
491 "entrypoint": "xstream.galaxy.UnfoldColumn",
492 "description": "Expand a delimited list in one tab-separated field into multiple rows.",
493 "parameters": {
494 "type": "object",
495 "properties": {
496 "column": {
497 "type": "integer",
498 "default": 1,
499 "minimum": 1,
500 "maximum": 65536,
501 "description": "One-based selected field, or zero for a whole-line key where allowed."
502 },
503 "separator": {
504 "type": "string",
505 "default": ";",
506 "maxLength": 128,
507 "description": "Literal separator between values in the selected field."
508 }
509 },
510 "additionalProperties": false,
511 "required": []
512 },
513 "params": {
514 "column": 2,
515 "separator": ";"
516 },
517 "upstream": {
518 "repository": "https://github.com/bgruening/galaxytools",
519 "path": "text_processing/text_processing/unfold_column.py"
520 },
521 "scope": "Literal nonempty separator; at most 10000 output rows and 16 MiB estimated characters per input row. Fixes upstream last-column newline handling.",
522 "fixture": {
523 "data": "id\ta;b\tz\n",
524 "expected": "id\ta\tz\nid\tb\tz\n",
525 "params": {
526 "column": 2,
527 "separator": ";"
528 }
529 },
530 "categories": [
531 "Galaxy",
532 "Text processing",
533 "Tabular data"
534 ],
535 "documentation": {
536 "inputs": {
537 "source": "UTF-8 bytes stream. Literal nonempty separator; at most 10000 output rows and 16 MiB estimated characters per input row. Fixes upstream last-column newline handling."
538 },
539 "outputs": {
540 "result": "Expand a delimited list in one tab-separated field into multiple rows. Literal nonempty separator; at most 10000 output rows and 16 MiB estimated characters per input row. Fixes upstream last-column newline handling."
541 },
542 "parameters": {
543 "column": {
544 "description": "One-based selected field, or zero for a whole-line key where allowed.",
545 "help": "One-based selected field, or zero for a whole-line key where allowed. Literal nonempty separator; at most 10000 output rows and 16 MiB estimated characters per input row. Fixes upstream last-column newline handling.",
546 "example": 2
547 },
548 "separator": {
549 "description": "Literal separator between values in the selected field.",
550 "help": "Literal separator between values in the selected field. Literal nonempty separator; at most 10000 output rows and 16 MiB estimated characters per input row. Fixes upstream last-column newline handling.",
551 "example": ";"
552 }
553 },
554 "example_job": "name: Expand a delimited list in one tab-separated field into multiple rows.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/unfold_column.txt\n view: bytes\n- id: process\n operator: galaxy_unfold_column@1.0\n inputs:\n source: read\n params:\n column: 2\n separator: ;\noutputs:\n result: process\n"
555 },
556 "icon": {
557 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
558 "color": "#5265ad"
559 }
560 },
561 "replace_text_in_column": {
562 "name": "galaxy_replace_text_in_column",
563 "version": "1.0",
564 "entrypoint": "xstream.galaxy.ReplaceTextInColumn",
565 "description": "Replace literal text within one tab-separated field.",
566 "parameters": {
567 "type": "object",
568 "properties": {
569 "find": {
570 "type": "string",
571 "default": "old",
572 "maxLength": 4096,
573 "description": "Nonempty literal search text."
574 },
575 "replacement": {
576 "type": "string",
577 "default": "new",
578 "maxLength": 4096,
579 "description": "Literal replacement text."
580 },
581 "first_only": {
582 "type": "boolean",
583 "default": false,
584 "description": "Replace only the first match per row or selected field."
585 },
586 "ignore_case": {
587 "type": "boolean",
588 "default": false,
589 "description": "Compare without case differences."
590 },
591 "skip_header": {
592 "type": "boolean",
593 "default": false,
594 "description": "Keep the first input row unchanged."
595 },
596 "column": {
597 "type": "integer",
598 "default": 1,
599 "minimum": 1,
600 "maximum": 65536,
601 "description": "One-based selected field, or zero for a whole-line key where allowed."
602 }
603 },
604 "additionalProperties": false,
605 "required": []
606 },
607 "params": {
608 "find": "cat",
609 "replacement": "dog",
610 "first_only": false,
611 "ignore_case": false,
612 "skip_header": false,
613 "column": 1
614 },
615 "upstream": {
616 "repository": "https://github.com/bgruening/galaxytools",
617 "path": "text_processing/text_processing/replace_text_in_column.xml"
618 },
619 "scope": "Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.",
620 "fixture": {
621 "data": "cat\tcat\n",
622 "expected": "dog\tcat\n",
623 "params": {
624 "find": "cat",
625 "replacement": "dog",
626 "first_only": false,
627 "ignore_case": false,
628 "skip_header": false,
629 "column": 1
630 }
631 },
632 "categories": [
633 "Galaxy",
634 "Text processing",
635 "Tabular data"
636 ],
637 "documentation": {
638 "inputs": {
639 "source": "UTF-8 bytes stream. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail."
640 },
641 "outputs": {
642 "result": "Replace literal text within one tab-separated field. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail."
643 },
644 "parameters": {
645 "find": {
646 "description": "Nonempty literal search text.",
647 "help": "Nonempty literal search text. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.",
648 "example": "cat"
649 },
650 "replacement": {
651 "description": "Literal replacement text.",
652 "help": "Literal replacement text. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.",
653 "example": "dog"
654 },
655 "first_only": {
656 "description": "Replace only the first match per row or selected field.",
657 "help": "Replace only the first match per row or selected field. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.",
658 "example": false
659 },
660 "ignore_case": {
661 "description": "Compare without case differences.",
662 "help": "Compare without case differences. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.",
663 "example": false
664 },
665 "skip_header": {
666 "description": "Keep the first input row unchanged.",
667 "help": "Keep the first input row unchanged. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.",
668 "example": false
669 },
670 "column": {
671 "description": "One-based selected field, or zero for a whole-line key where allowed.",
672 "help": "One-based selected field, or zero for a whole-line key where allowed. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.",
673 "example": 1
674 }
675 },
676 "example_job": "name: Replace literal text within one tab-separated field.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/replace_text_in_column.txt\n view: bytes\n- id: process\n operator: galaxy_replace_text_in_column@1.0\n inputs:\n source: read\n params:\n find: cat\n replacement: dog\n first_only: false\n ignore_case: false\n skip_header: false\n column: 1\noutputs:\n result: process\n"
677 },
678 "icon": {
679 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
680 "color": "#5265ad"
681 }
682 },
683 "replace_text_in_line": {
684 "name": "galaxy_replace_text_in_line",
685 "version": "1.0",
686 "entrypoint": "xstream.galaxy.ReplaceTextInLine",
687 "description": "Replace literal text within complete lines.",
688 "parameters": {
689 "type": "object",
690 "properties": {
691 "find": {
692 "type": "string",
693 "default": "old",
694 "maxLength": 4096,
695 "description": "Nonempty literal search text."
696 },
697 "replacement": {
698 "type": "string",
699 "default": "new",
700 "maxLength": 4096,
701 "description": "Literal replacement text."
702 },
703 "first_only": {
704 "type": "boolean",
705 "default": false,
706 "description": "Replace only the first match per row or selected field."
707 },
708 "ignore_case": {
709 "type": "boolean",
710 "default": false,
711 "description": "Compare without case differences."
712 },
713 "skip_header": {
714 "type": "boolean",
715 "default": false,
716 "description": "Keep the first input row unchanged."
717 }
718 },
719 "additionalProperties": false,
720 "required": []
721 },
722 "params": {
723 "find": "cat",
724 "replacement": "dog",
725 "first_only": false,
726 "ignore_case": false,
727 "skip_header": false
728 },
729 "upstream": {
730 "repository": "https://github.com/bgruening/galaxytools",
731 "path": "text_processing/text_processing/replace_text_in_line.xml"
732 },
733 "scope": "Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.",
734 "fixture": {
735 "data": "cat\tcat\n",
736 "expected": "dog\tdog\n",
737 "params": {
738 "find": "cat",
739 "replacement": "dog",
740 "first_only": false,
741 "ignore_case": false,
742 "skip_header": false
743 }
744 },
745 "categories": [
746 "Galaxy",
747 "Text processing",
748 "Tabular data"
749 ],
750 "documentation": {
751 "inputs": {
752 "source": "UTF-8 bytes stream. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail."
753 },
754 "outputs": {
755 "result": "Replace literal text within complete lines. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail."
756 },
757 "parameters": {
758 "find": {
759 "description": "Nonempty literal search text.",
760 "help": "Nonempty literal search text. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.",
761 "example": "cat"
762 },
763 "replacement": {
764 "description": "Literal replacement text.",
765 "help": "Literal replacement text. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.",
766 "example": "dog"
767 },
768 "first_only": {
769 "description": "Replace only the first match per row or selected field.",
770 "help": "Replace only the first match per row or selected field. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.",
771 "example": false
772 },
773 "ignore_case": {
774 "description": "Compare without case differences.",
775 "help": "Compare without case differences. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.",
776 "example": false
777 },
778 "skip_header": {
779 "description": "Keep the first input row unchanged.",
780 "help": "Keep the first input row unchanged. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.",
781 "example": false
782 }
783 },
784 "example_job": "name: Replace literal text within complete lines.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/replace_text_in_line.txt\n view: bytes\n- id: process\n operator: galaxy_replace_text_in_line@1.0\n inputs:\n source: read\n params:\n find: cat\n replacement: dog\n first_only: false\n ignore_case: false\n skip_header: false\noutputs:\n result: process\n"
785 },
786 "icon": {
787 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
788 "color": "#5265ad"
789 }
790 },
791 "find_and_replace": {
792 "name": "galaxy_find_and_replace",
793 "version": "1.0",
794 "entrypoint": "xstream.galaxy.FindAndReplace",
795 "description": "Replace literal text within complete lines.",
796 "parameters": {
797 "type": "object",
798 "properties": {
799 "find": {
800 "type": "string",
801 "default": "old",
802 "maxLength": 4096,
803 "description": "Nonempty literal search text."
804 },
805 "replacement": {
806 "type": "string",
807 "default": "new",
808 "maxLength": 4096,
809 "description": "Literal replacement text."
810 },
811 "first_only": {
812 "type": "boolean",
813 "default": false,
814 "description": "Replace only the first match per row or selected field."
815 },
816 "ignore_case": {
817 "type": "boolean",
818 "default": false,
819 "description": "Compare without case differences."
820 },
821 "skip_header": {
822 "type": "boolean",
823 "default": false,
824 "description": "Keep the first input row unchanged."
825 }
826 },
827 "additionalProperties": false,
828 "required": []
829 },
830 "params": {
831 "find": "cat",
832 "replacement": "dog",
833 "first_only": false,
834 "ignore_case": false,
835 "skip_header": false
836 },
837 "upstream": {
838 "repository": "https://github.com/bgruening/galaxytools",
839 "path": "text_processing/text_processing/find_and_replace"
840 },
841 "scope": "Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.",
842 "fixture": {
843 "data": "cat\tcat\n",
844 "expected": "dog\tdog\n",
845 "params": {
846 "find": "cat",
847 "replacement": "dog",
848 "first_only": false,
849 "ignore_case": false,
850 "skip_header": false
851 }
852 },
853 "categories": [
854 "Galaxy",
855 "Text processing",
856 "Tabular data"
857 ],
858 "documentation": {
859 "inputs": {
860 "source": "UTF-8 bytes stream. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail."
861 },
862 "outputs": {
863 "result": "Replace literal text within complete lines. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail."
864 },
865 "parameters": {
866 "find": {
867 "description": "Nonempty literal search text.",
868 "help": "Nonempty literal search text. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.",
869 "example": "cat"
870 },
871 "replacement": {
872 "description": "Literal replacement text.",
873 "help": "Literal replacement text. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.",
874 "example": "dog"
875 },
876 "first_only": {
877 "description": "Replace only the first match per row or selected field.",
878 "help": "Replace only the first match per row or selected field. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.",
879 "example": false
880 },
881 "ignore_case": {
882 "description": "Compare without case differences.",
883 "help": "Compare without case differences. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.",
884 "example": false
885 },
886 "skip_header": {
887 "description": "Keep the first input row unchanged.",
888 "help": "Keep the first input row unchanged. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.",
889 "example": false
890 }
891 },
892 "example_job": "name: Replace literal text within complete lines.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/find_and_replace.txt\n view: bytes\n- id: process\n operator: galaxy_find_and_replace@1.0\n inputs:\n source: read\n params:\n find: cat\n replacement: dog\n first_only: false\n ignore_case: false\n skip_header: false\noutputs:\n result: process\n"
893 },
894 "icon": {
895 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
896 "color": "#5265ad"
897 }
898 },
899 "grep_lines": {
900 "name": "galaxy_grep_lines",
901 "version": "1.0",
902 "entrypoint": "xstream.galaxy.GrepLines",
903 "description": "Select lines containing a literal search string, with optional inversion and case folding.",
904 "parameters": {
905 "type": "object",
906 "properties": {
907 "pattern": {
908 "type": "string",
909 "default": "sample",
910 "maxLength": 4096,
911 "description": "Literal text or IUPAC DNA motif, as described by this operator."
912 },
913 "invert": {
914 "type": "boolean",
915 "default": false,
916 "description": "Keep lines that do not contain the pattern."
917 },
918 "ignore_case": {
919 "type": "boolean",
920 "default": false,
921 "description": "Compare without case differences."
922 }
923 },
924 "additionalProperties": false,
925 "required": []
926 },
927 "params": {
928 "pattern": "cat",
929 "invert": false,
930 "ignore_case": true
931 },
932 "upstream": {
933 "repository": "https://github.com/bgruening/galaxytools",
934 "path": "text_processing/text_processing/grep.xml"
935 },
936 "scope": "Literal text search; no regex, context-line expansion or HTML output.",
937 "fixture": {
938 "data": "Cat\ndog\ncatfish\n",
939 "expected": "Cat\ncatfish\n",
940 "params": {
941 "pattern": "cat",
942 "invert": false,
943 "ignore_case": true
944 }
945 },
946 "categories": [
947 "Galaxy",
948 "Text processing",
949 "Tabular data"
950 ],
951 "documentation": {
952 "inputs": {
953 "source": "UTF-8 bytes stream. Literal text search; no regex, context-line expansion or HTML output."
954 },
955 "outputs": {
956 "result": "Select lines containing a literal search string, with optional inversion and case folding. Literal text search; no regex, context-line expansion or HTML output."
957 },
958 "parameters": {
959 "pattern": {
960 "description": "Literal text or IUPAC DNA motif, as described by this operator.",
961 "help": "Literal text or IUPAC DNA motif, as described by this operator. Literal text search; no regex, context-line expansion or HTML output.",
962 "example": "cat"
963 },
964 "invert": {
965 "description": "Keep lines that do not contain the pattern.",
966 "help": "Keep lines that do not contain the pattern. Literal text search; no regex, context-line expansion or HTML output.",
967 "example": false
968 },
969 "ignore_case": {
970 "description": "Compare without case differences.",
971 "help": "Compare without case differences. Literal text search; no regex, context-line expansion or HTML output.",
972 "example": true
973 }
974 },
975 "example_job": "name: Select lines containing a literal search string, with optional inversion and\n case folding.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/grep_lines.txt\n view: bytes\n- id: process\n operator: galaxy_grep_lines@1.0\n inputs:\n source: read\n params:\n pattern: cat\n invert: false\n ignore_case: true\noutputs:\n result: process\n"
976 },
977 "icon": {
978 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
979 "color": "#5265ad"
980 }
981 },
982 "arrange_columns": {
983 "name": "galaxy_arrange_columns",
984 "version": "1.0",
985 "entrypoint": "xstream.galaxy.ArrangeColumns",
986 "description": "Reorder table columns by their header names, optionally discarding unselected columns.",
987 "parameters": {
988 "type": "object",
989 "properties": {
990 "names": {
991 "type": "array",
992 "default": [
993 "id"
994 ],
995 "maxItems": 128,
996 "items": {
997 "type": "string",
998 "default": "",
999 "maxLength": 4096
1000 },
1001 "description": "Unique header names to select, remove or reorder."
1002 },
1003 "discard": {
1004 "type": "boolean",
1005 "default": false,
1006 "description": "Discard columns not explicitly selected."
1007 }
1008 },
1009 "additionalProperties": false,
1010 "required": []
1011 },
1012 "params": {
1013 "names": [
1014 "C",
1015 "A"
1016 ],
1017 "discard": false
1018 },
1019 "upstream": {
1020 "repository": "https://github.com/bgruening/galaxytools",
1021 "path": "text_processing/column_arrange_by_header/column_arrange.py"
1022 },
1023 "scope": "Unique header names and requested names are required. Ragged rows and unknown headers fail.",
1024 "fixture": {
1025 "data": "A\tB\tC\n1\t2\t3\n",
1026 "expected": "C\tA\tB\n3\t1\t2\n",
1027 "params": {
1028 "names": [
1029 "C",
1030 "A"
1031 ],
1032 "discard": false
1033 }
1034 },
1035 "categories": [
1036 "Galaxy",
1037 "Text processing",
1038 "Tabular data"
1039 ],
1040 "documentation": {
1041 "inputs": {
1042 "source": "UTF-8 bytes stream. Unique header names and requested names are required. Ragged rows and unknown headers fail."
1043 },
1044 "outputs": {
1045 "result": "Reorder table columns by their header names, optionally discarding unselected columns. Unique header names and requested names are required. Ragged rows and unknown headers fail."
1046 },
1047 "parameters": {
1048 "names": {
1049 "description": "Unique header names to select, remove or reorder.",
1050 "help": "Unique header names to select, remove or reorder. Unique header names and requested names are required. Ragged rows and unknown headers fail.",
1051 "example": [
1052 "C",
1053 "A"
1054 ]
1055 },
1056 "discard": {
1057 "description": "Discard columns not explicitly selected.",
1058 "help": "Discard columns not explicitly selected. Unique header names and requested names are required. Ragged rows and unknown headers fail.",
1059 "example": false
1060 }
1061 },
1062 "example_job": "name: Reorder table columns by their header names, optionally discarding unselected\n columns.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/arrange_columns.txt\n view: bytes\n- id: process\n operator: galaxy_arrange_columns@1.0\n inputs:\n source: read\n params:\n names:\n - C\n - A\n discard: false\noutputs:\n result: process\n"
1063 },
1064 "icon": {
1065 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
1066 "color": "#5265ad"
1067 }
1068 },
1069 "add_line": {
1070 "name": "galaxy_add_line",
1071 "version": "1.0",
1072 "entrypoint": "xstream.galaxy.AddLine",
1073 "description": "Add a literal header or footer line to a text stream.",
1074 "parameters": {
1075 "type": "object",
1076 "properties": {
1077 "text": {
1078 "type": "string",
1079 "default": "header",
1080 "maxLength": 4096,
1081 "description": "Literal line content."
1082 },
1083 "position": {
1084 "type": "string",
1085 "default": "header",
1086 "maxLength": 4096,
1087 "enum": [
1088 "header",
1089 "footer"
1090 ],
1091 "description": "Insert the line as a header or footer."
1092 }
1093 },
1094 "additionalProperties": false,
1095 "required": []
1096 },
1097 "params": {
1098 "text": "header",
1099 "position": "header"
1100 },
1101 "upstream": {
1102 "repository": "https://github.com/bgruening/galaxytools",
1103 "path": "text_processing/add_line_to_file/add_line_to_file.xml"
1104 },
1105 "scope": "Existing data lines are normalized to LF; this avoids concatenating a footer onto an unterminated final row.",
1106 "fixture": {
1107 "data": "a\nb\n",
1108 "expected": "header\na\nb\n",
1109 "params": {
1110 "text": "header",
1111 "position": "header"
1112 }
1113 },
1114 "categories": [
1115 "Galaxy",
1116 "Text processing",
1117 "Tabular data"
1118 ],
1119 "documentation": {
1120 "inputs": {
1121 "source": "UTF-8 bytes stream. Existing data lines are normalized to LF; this avoids concatenating a footer onto an unterminated final row."
1122 },
1123 "outputs": {
1124 "result": "Add a literal header or footer line to a text stream. Existing data lines are normalized to LF; this avoids concatenating a footer onto an unterminated final row."
1125 },
1126 "parameters": {
1127 "text": {
1128 "description": "Literal line content.",
1129 "help": "Literal line content. Existing data lines are normalized to LF; this avoids concatenating a footer onto an unterminated final row.",
1130 "example": "header"
1131 },
1132 "position": {
1133 "description": "Insert the line as a header or footer.",
1134 "help": "Insert the line as a header or footer. Existing data lines are normalized to LF; this avoids concatenating a footer onto an unterminated final row.",
1135 "example": "header"
1136 }
1137 },
1138 "example_job": "name: Add a literal header or footer line to a text stream.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/add_line.txt\n view: bytes\n- id: process\n operator: galaxy_add_line@1.0\n inputs:\n source: read\n params:\n text: header\n position: header\noutputs:\n result: process\n"
1139 },
1140 "icon": {
1141 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
1142 "color": "#5265ad"
1143 }
1144 },
1145 "recurring_lines": {
1146 "name": "galaxy_recurring_lines",
1147 "version": "1.0",
1148 "entrypoint": "xstream.galaxy.RecurringLines",
1149 "description": "Generate a configured line repeatedly after draining the input stream.",
1150 "parameters": {
1151 "type": "object",
1152 "properties": {
1153 "text": {
1154 "type": "string",
1155 "default": "sample",
1156 "maxLength": 4096,
1157 "description": "Literal line content."
1158 },
1159 "times": {
1160 "type": "integer",
1161 "default": 10,
1162 "minimum": 0,
1163 "maximum": 100000,
1164 "description": "Number of generated repetitions."
1165 }
1166 },
1167 "additionalProperties": false,
1168 "required": []
1169 },
1170 "params": {
1171 "text": "abc",
1172 "times": 3
1173 },
1174 "upstream": {
1175 "repository": "https://github.com/bgruening/galaxytools",
1176 "path": "text_processing/text_processing/recurring_lines.xml"
1177 },
1178 "scope": "One explicit repetition group, bounded 16 MiB output expansion; input is drained, not used to infer repetitions.",
1179 "fixture": {
1180 "data": "ignored\n",
1181 "expected": "abc\nabc\nabc\n",
1182 "params": {
1183 "text": "abc",
1184 "times": 3
1185 }
1186 },
1187 "categories": [
1188 "Galaxy",
1189 "Text processing",
1190 "Tabular data"
1191 ],
1192 "documentation": {
1193 "inputs": {
1194 "source": "UTF-8 bytes stream. One explicit repetition group, bounded 16 MiB output expansion; input is drained, not used to infer repetitions."
1195 },
1196 "outputs": {
1197 "result": "Generate a configured line repeatedly after draining the input stream. One explicit repetition group, bounded 16 MiB output expansion; input is drained, not used to infer repetitions."
1198 },
1199 "parameters": {
1200 "text": {
1201 "description": "Literal line content.",
1202 "help": "Literal line content. One explicit repetition group, bounded 16 MiB output expansion; input is drained, not used to infer repetitions.",
1203 "example": "abc"
1204 },
1205 "times": {
1206 "description": "Number of generated repetitions.",
1207 "help": "Number of generated repetitions. One explicit repetition group, bounded 16 MiB output expansion; input is drained, not used to infer repetitions.",
1208 "example": 3
1209 }
1210 },
1211 "example_job": "name: Generate a configured line repeatedly after draining the input stream.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/recurring_lines.txt\n view: bytes\n- id: process\n operator: galaxy_recurring_lines@1.0\n inputs:\n source: read\n params:\n text: abc\n times: 3\noutputs:\n result: process\n"
1212 },
1213 "icon": {
1214 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
1215 "color": "#5265ad"
1216 }
1217 },
1218 "remove_columns_by_header": {
1219 "name": "galaxy_remove_columns_by_header",
1220 "version": "1.0",
1221 "entrypoint": "xstream.galaxy.RemoveColumnsByHeader",
1222 "description": "Remove named table columns or keep only the named columns.",
1223 "parameters": {
1224 "type": "object",
1225 "properties": {
1226 "names": {
1227 "type": "array",
1228 "default": [
1229 "id"
1230 ],
1231 "maxItems": 128,
1232 "items": {
1233 "type": "string",
1234 "default": "",
1235 "maxLength": 4096
1236 },
1237 "description": "Unique header names to select, remove or reorder."
1238 },
1239 "keep": {
1240 "type": "boolean",
1241 "default": false,
1242 "description": "Keep only the named columns instead of removing them."
1243 },
1244 "strip_prefix": {
1245 "type": "string",
1246 "default": "",
1247 "maxLength": 4096,
1248 "description": "Characters stripped from the beginning of the first header name when matching."
1249 }
1250 },
1251 "additionalProperties": false,
1252 "required": []
1253 },
1254 "params": {
1255 "names": [
1256 "B"
1257 ],
1258 "keep": false,
1259 "strip_prefix": ""
1260 },
1261 "upstream": {
1262 "repository": "https://github.com/galaxyproject/tools-iuc",
1263 "path": "column_remove_by_header/column_remove_by_header.py"
1264 },
1265 "scope": "Tab-delimited UTF-8; optional leading-character stripping on first header field. Retains source column order. Unknown requested headers fail.",
1266 "fixture": {
1267 "data": "A\tB\tC\n1\t2\t3\n",
1268 "expected": "A\tC\n1\t3\n",
1269 "params": {
1270 "names": [
1271 "B"
1272 ],
1273 "keep": false,
1274 "strip_prefix": ""
1275 }
1276 },
1277 "categories": [
1278 "Galaxy",
1279 "Text processing",
1280 "Tabular data"
1281 ],
1282 "documentation": {
1283 "inputs": {
1284 "source": "UTF-8 bytes stream. Tab-delimited UTF-8; optional leading-character stripping on first header field. Retains source column order. Unknown requested headers fail."
1285 },
1286 "outputs": {
1287 "result": "Remove named table columns or keep only the named columns. Tab-delimited UTF-8; optional leading-character stripping on first header field. Retains source column order. Unknown requested headers fail."
1288 },
1289 "parameters": {
1290 "names": {
1291 "description": "Unique header names to select, remove or reorder.",
1292 "help": "Unique header names to select, remove or reorder. Tab-delimited UTF-8; optional leading-character stripping on first header field. Retains source column order. Unknown requested headers fail.",
1293 "example": [
1294 "B"
1295 ]
1296 },
1297 "keep": {
1298 "description": "Keep only the named columns instead of removing them.",
1299 "help": "Keep only the named columns instead of removing them. Tab-delimited UTF-8; optional leading-character stripping on first header field. Retains source column order. Unknown requested headers fail.",
1300 "example": false
1301 },
1302 "strip_prefix": {
1303 "description": "Characters stripped from the beginning of the first header name when matching.",
1304 "help": "Characters stripped from the beginning of the first header name when matching. Tab-delimited UTF-8; optional leading-character stripping on first header field. Retains source column order. Unknown requested headers fail.",
1305 "example": ""
1306 }
1307 },
1308 "example_job": "name: Remove named table columns or keep only the named columns.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/remove_columns_by_header.txt\n view: bytes\n- id: process\n operator: galaxy_remove_columns_by_header@1.0\n inputs:\n source: read\n params:\n names:\n - B\n keep: false\n strip_prefix: ''\noutputs:\n result: process\n"
1309 },
1310 "icon": {
1311 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
1312 "color": "#5265ad"
1313 }
1314 },
1315 "sort_columns_by_header": {
1316 "name": "galaxy_sort_columns_by_header",
1317 "version": "1.0",
1318 "entrypoint": "xstream.galaxy.SortColumnsByHeader",
1319 "description": "Alphabetically reorder table columns by header, optionally pinning one column first.",
1320 "parameters": {
1321 "type": "object",
1322 "properties": {
1323 "key_column": {
1324 "type": "integer",
1325 "default": 0,
1326 "minimum": 0,
1327 "maximum": 65536,
1328 "description": "One-based column to keep first, or zero to sort every header."
1329 }
1330 },
1331 "additionalProperties": false,
1332 "required": []
1333 },
1334 "params": {
1335 "key_column": 2
1336 },
1337 "upstream": {
1338 "repository": "https://github.com/galaxyproject/tools-iuc",
1339 "path": "column_order_header_sort/column_order_header_sort.py"
1340 },
1341 "scope": "Zero sorts every column; otherwise a one-based column stays first. Headers must be unique.",
1342 "fixture": {
1343 "data": "C\tB\tA\n3\t2\t1\n",
1344 "expected": "B\tA\tC\n2\t1\t3\n",
1345 "params": {
1346 "key_column": 2
1347 }
1348 },
1349 "categories": [
1350 "Galaxy",
1351 "Text processing",
1352 "Tabular data"
1353 ],
1354 "documentation": {
1355 "inputs": {
1356 "source": "UTF-8 bytes stream. Zero sorts every column; otherwise a one-based column stays first. Headers must be unique."
1357 },
1358 "outputs": {
1359 "result": "Alphabetically reorder table columns by header, optionally pinning one column first. Zero sorts every column; otherwise a one-based column stays first. Headers must be unique."
1360 },
1361 "parameters": {
1362 "key_column": {
1363 "description": "One-based column to keep first, or zero to sort every header.",
1364 "help": "One-based column to keep first, or zero to sort every header. Zero sorts every column; otherwise a one-based column stays first. Headers must be unique.",
1365 "example": 2
1366 }
1367 },
1368 "example_job": "name: Alphabetically reorder table columns by header, optionally pinning one column\n first.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/sort_columns_by_header.txt\n view: bytes\n- id: process\n operator: galaxy_sort_columns_by_header@1.0\n inputs:\n source: read\n params:\n key_column: 2\noutputs:\n result: process\n"
1369 },
1370 "icon": {
1371 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
1372 "color": "#5265ad"
1373 }
1374 },
1375 "add_input_name": {
1376 "name": "galaxy_add_input_name",
1377 "version": "1.0",
1378 "entrypoint": "xstream.galaxy.AddInputName",
1379 "description": "Add an input label as a new table column, with optional header and prepending.",
1380 "parameters": {
1381 "type": "object",
1382 "properties": {
1383 "label": {
1384 "type": "string",
1385 "default": "sample",
1386 "maxLength": 4096,
1387 "description": "Explicit input name to append or prepend."
1388 },
1389 "header": {
1390 "type": "string",
1391 "default": "",
1392 "maxLength": 4096,
1393 "description": "Header line count, or new header label for label-column operators."
1394 },
1395 "prepend": {
1396 "type": "boolean",
1397 "default": false,
1398 "description": "Place the added label column first."
1399 }
1400 },
1401 "additionalProperties": false,
1402 "required": []
1403 },
1404 "params": {
1405 "label": "run1",
1406 "header": "sample",
1407 "prepend": true
1408 },
1409 "upstream": {
1410 "repository": "https://github.com/galaxyproject/tools-iuc",
1411 "path": "add_input_name_as_column/add_input_name_as_column.py"
1412 },
1413 "scope": "The input label is explicit configuration; no local path or filename is required.",
1414 "fixture": {
1415 "data": "id\nA\n",
1416 "expected": "sample\tid\nrun1\tA\n",
1417 "params": {
1418 "label": "run1",
1419 "header": "sample",
1420 "prepend": true
1421 }
1422 },
1423 "categories": [
1424 "Galaxy",
1425 "Text processing",
1426 "Tabular data"
1427 ],
1428 "documentation": {
1429 "inputs": {
1430 "source": "UTF-8 bytes stream. The input label is explicit configuration; no local path or filename is required."
1431 },
1432 "outputs": {
1433 "result": "Add an input label as a new table column, with optional header and prepending. The input label is explicit configuration; no local path or filename is required."
1434 },
1435 "parameters": {
1436 "label": {
1437 "description": "Explicit input name to append or prepend.",
1438 "help": "Explicit input name to append or prepend. The input label is explicit configuration; no local path or filename is required.",
1439 "example": "run1"
1440 },
1441 "header": {
1442 "description": "Header line count, or new header label for label-column operators.",
1443 "help": "Header line count, or new header label for label-column operators. The input label is explicit configuration; no local path or filename is required.",
1444 "example": "sample"
1445 },
1446 "prepend": {
1447 "description": "Place the added label column first.",
1448 "help": "Place the added label column first. The input label is explicit configuration; no local path or filename is required.",
1449 "example": true
1450 }
1451 },
1452 "example_job": "name: Add an input label as a new table column, with optional header and prepending.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/add_input_name.txt\n view: bytes\n- id: process\n operator: galaxy_add_input_name@1.0\n inputs:\n source: read\n params:\n label: run1\n header: sample\n prepend: true\noutputs:\n result: process\n"
1453 },
1454 "icon": {
1455 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
1456 "color": "#5265ad"
1457 }
1458 },
1459 "fixed_width_to_tabular": {
1460 "name": "galaxy_fixed_width_to_tabular",
1461 "version": "1.0",
1462 "entrypoint": "xstream.galaxy.FixedWidthToTabular",
1463 "description": "Convert explicitly configured fixed-width fields into trimmed tab-separated columns.",
1464 "parameters": {
1465 "type": "object",
1466 "properties": {
1467 "widths": {
1468 "type": "array",
1469 "default": [
1470 4,
1471 3
1472 ],
1473 "maxItems": 128,
1474 "items": {
1475 "type": "integer",
1476 "default": 1,
1477 "minimum": 1,
1478 "maximum": 65536
1479 },
1480 "description": "Positive fixed-width character counts for each field."
1481 },
1482 "pad_short": {
1483 "type": "boolean",
1484 "default": false,
1485 "description": "Pad short fixed-width rows with spaces."
1486 }
1487 },
1488 "additionalProperties": false,
1489 "required": []
1490 },
1491 "params": {
1492 "widths": [
1493 4,
1494 3
1495 ],
1496 "pad_short": false
1497 },
1498 "upstream": {
1499 "repository": "https://github.com/galaxyproject/tools-iuc",
1500 "path": "fixed2tab/fixed2tab.xml"
1501 },
1502 "scope": "Explicit character widths only; no automatic boundary detection, FORTRAN descriptors, reports or encoding conversion. Long rows or unpadded short rows fail.",
1503 "fixture": {
1504 "data": "AB 123\nCD 456\n",
1505 "expected": "AB\t123\nCD\t456\n",
1506 "params": {
1507 "widths": [
1508 4,
1509 3
1510 ],
1511 "pad_short": false
1512 }
1513 },
1514 "categories": [
1515 "Galaxy",
1516 "Text processing",
1517 "Tabular data"
1518 ],
1519 "documentation": {
1520 "inputs": {
1521 "source": "UTF-8 bytes stream. Explicit character widths only; no automatic boundary detection, FORTRAN descriptors, reports or encoding conversion. Long rows or unpadded short rows fail."
1522 },
1523 "outputs": {
1524 "result": "Convert explicitly configured fixed-width fields into trimmed tab-separated columns. Explicit character widths only; no automatic boundary detection, FORTRAN descriptors, reports or encoding conversion. Long rows or unpadded short rows fail."
1525 },
1526 "parameters": {
1527 "widths": {
1528 "description": "Positive fixed-width character counts for each field.",
1529 "help": "Positive fixed-width character counts for each field. Explicit character widths only; no automatic boundary detection, FORTRAN descriptors, reports or encoding conversion. Long rows or unpadded short rows fail.",
1530 "example": [
1531 4,
1532 3
1533 ]
1534 },
1535 "pad_short": {
1536 "description": "Pad short fixed-width rows with spaces.",
1537 "help": "Pad short fixed-width rows with spaces. Explicit character widths only; no automatic boundary detection, FORTRAN descriptors, reports or encoding conversion. Long rows or unpadded short rows fail.",
1538 "example": false
1539 }
1540 },
1541 "example_job": "name: Convert explicitly configured fixed-width fields into trimmed tab-separated\n columns.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/fixed_width_to_tabular.txt\n view: bytes\n- id: process\n operator: galaxy_fixed_width_to_tabular@1.0\n inputs:\n source: read\n params:\n widths:\n - 4\n - 3\n pad_short: false\noutputs:\n result: process\n"
1542 },
1543 "icon": {
1544 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
1545 "color": "#5265ad"
1546 }
1547 },
1548 "colorspace_to_fasta": {
1549 "name": "galaxy_colorspace_to_fasta",
1550 "version": "1.0",
1551 "entrypoint": "xstream.galaxy.ColorspaceToFasta",
1552 "description": "Convert FASTA-like SOLiD color-space sequences to nucleotide FASTA.",
1553 "parameters": {
1554 "type": "object",
1555 "properties": {
1556 "keep_prefix": {
1557 "type": "boolean",
1558 "default": true,
1559 "description": "Include the SOLiD primer nucleotide in the output."
1560 }
1561 },
1562 "additionalProperties": false,
1563 "required": []
1564 },
1565 "params": {
1566 "keep_prefix": true
1567 },
1568 "upstream": {
1569 "repository": "https://github.com/galaxyproject/tools-devteam",
1570 "path": "convert_solid_color2nuc/convert_SOLiD_color2nuc.py"
1571 },
1572 "scope": "A/C/G/T primer followed only by 0..3; wrapped sequence lines accepted. Buffers at most one 8 MiB-character sequence.",
1573 "fixture": {
1574 "data": ">seq1\nA013\n",
1575 "expected": ">seq1\nAACG\n",
1576 "params": {
1577 "keep_prefix": true
1578 }
1579 },
1580 "categories": [
1581 "Galaxy",
1582 "Bioinformatics"
1583 ],
1584 "documentation": {
1585 "inputs": {
1586 "source": "UTF-8 bytes stream. A/C/G/T primer followed only by 0..3; wrapped sequence lines accepted. Buffers at most one 8 MiB-character sequence."
1587 },
1588 "outputs": {
1589 "result": "Convert FASTA-like SOLiD color-space sequences to nucleotide FASTA. A/C/G/T primer followed only by 0..3; wrapped sequence lines accepted. Buffers at most one 8 MiB-character sequence."
1590 },
1591 "parameters": {
1592 "keep_prefix": {
1593 "description": "Include the SOLiD primer nucleotide in the output.",
1594 "help": "Include the SOLiD primer nucleotide in the output. A/C/G/T primer followed only by 0..3; wrapped sequence lines accepted. Buffers at most one 8 MiB-character sequence.",
1595 "example": true
1596 }
1597 },
1598 "example_job": "name: Convert FASTA-like SOLiD color-space sequences to nucleotide FASTA.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/colorspace_to_fasta.txt\n view: bytes\n- id: process\n operator: galaxy_colorspace_to_fasta@1.0\n inputs:\n source: read\n params:\n keep_prefix: true\noutputs:\n result: process\n"
1599 },
1600 "icon": {
1601 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
1602 "color": "#5265ad"
1603 }
1604 },
1605 "split_paired_reads": {
1606 "name": "galaxy_split_paired_reads",
1607 "version": "1.0",
1608 "entrypoint": "xstream.galaxy.SplitPairedReads",
1609 "description": "Extract one mate from concatenated equal-length paired FASTQ records.",
1610 "parameters": {
1611 "type": "object",
1612 "properties": {
1613 "mate": {
1614 "type": "integer",
1615 "default": 1,
1616 "minimum": 1,
1617 "maximum": 2,
1618 "description": "One-based mate number, 1 or 2."
1619 }
1620 },
1621 "additionalProperties": false,
1622 "required": []
1623 },
1624 "params": {
1625 "mate": 2
1626 },
1627 "upstream": {
1628 "repository": "https://github.com/galaxyproject/tools-devteam",
1629 "path": "split_paired_reads/split_paired_reads.py"
1630 },
1631 "scope": "Select mate 1 or 2; validates four-line FASTQ, optional matching + title, equal sequence/quality lengths and even sequence length. No silent truncation. An empty + title remains empty so emitted FASTQ remains valid.",
1632 "fixture": {
1633 "data": "@r\nACGT\n+\nIIII\n",
1634 "expected": "@r/2\nGT\n+\nII\n",
1635 "params": {
1636 "mate": 2
1637 }
1638 },
1639 "categories": [
1640 "Galaxy",
1641 "Bioinformatics"
1642 ],
1643 "documentation": {
1644 "inputs": {
1645 "source": "UTF-8 bytes stream. Select mate 1 or 2; validates four-line FASTQ, optional matching + title, equal sequence/quality lengths and even sequence length. No silent truncation. An empty + title remains empty so emitted FASTQ remains valid."
1646 },
1647 "outputs": {
1648 "result": "Extract one mate from concatenated equal-length paired FASTQ records. Select mate 1 or 2; validates four-line FASTQ, optional matching + title, equal sequence/quality lengths and even sequence length. No silent truncation. An empty + title remains empty so emitted FASTQ remains valid."
1649 },
1650 "parameters": {
1651 "mate": {
1652 "description": "One-based mate number, 1 or 2.",
1653 "help": "One-based mate number, 1 or 2. Select mate 1 or 2; validates four-line FASTQ, optional matching + title, equal sequence/quality lengths and even sequence length. No silent truncation. An empty + title remains empty so emitted FASTQ remains valid.",
1654 "example": 2
1655 }
1656 },
1657 "example_job": "name: Extract one mate from concatenated equal-length paired FASTQ records.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/split_paired_reads.txt\n view: bytes\n- id: process\n operator: galaxy_split_paired_reads@1.0\n inputs:\n source: read\n params:\n mate: 2\noutputs:\n result: process\n"
1658 },
1659 "icon": {
1660 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
1661 "color": "#5265ad"
1662 }
1663 },
1664 "pileup_interval": {
1665 "name": "galaxy_pileup_interval",
1666 "version": "1.0",
1667 "entrypoint": "xstream.galaxy.PileupInterval",
1668 "description": "Collapse consecutive pileup positions meeting a minimum depth into BED-like sequence intervals.",
1669 "parameters": {
1670 "type": "object",
1671 "properties": {
1672 "min_coverage": {
1673 "type": "integer",
1674 "default": 1,
1675 "minimum": 0,
1676 "maximum": 1000000,
1677 "description": "Inclusive minimum accepted pileup depth."
1678 },
1679 "sequence_column": {
1680 "type": "integer",
1681 "default": 1,
1682 "minimum": 1,
1683 "maximum": 65536,
1684 "description": "One-based chromosome/sequence-name column."
1685 },
1686 "position_column": {
1687 "type": "integer",
1688 "default": 2,
1689 "minimum": 1,
1690 "maximum": 65536,
1691 "description": "One-based input position column."
1692 },
1693 "base_column": {
1694 "type": "integer",
1695 "default": 3,
1696 "minimum": 1,
1697 "maximum": 65536,
1698 "description": "One-based reference-base column."
1699 },
1700 "coverage_column": {
1701 "type": "integer",
1702 "default": 4,
1703 "minimum": 1,
1704 "maximum": 65536,
1705 "description": "One-based pileup coverage column."
1706 }
1707 },
1708 "additionalProperties": false,
1709 "required": []
1710 },
1711 "params": {
1712 "min_coverage": 3,
1713 "sequence_column": 1,
1714 "position_column": 2,
1715 "base_column": 3,
1716 "coverage_column": 4
1717 },
1718 "upstream": {
1719 "repository": "https://github.com/galaxyproject/tools-devteam",
1720 "path": "pileup_interval/pileup_interval.py"
1721 },
1722 "scope": "One-based pileup to zero-based half-open intervals. Configurable columns cover six-column, legacy ten-column and custom rows. Active interval limited to 8 MiB bases; blank lines are skipped rather than terminating all input.",
1723 "fixture": {
1724 "data": "chr1\t1\tA\t4\nchr1\t2\tC\t5\nchr1\t3\tG\t1\n",
1725 "expected": "chr1\t0\t2\tAC\n",
1726 "params": {
1727 "min_coverage": 3,
1728 "sequence_column": 1,
1729 "position_column": 2,
1730 "base_column": 3,
1731 "coverage_column": 4
1732 }
1733 },
1734 "categories": [
1735 "Galaxy",
1736 "Bioinformatics"
1737 ],
1738 "documentation": {
1739 "inputs": {
1740 "source": "UTF-8 bytes stream. One-based pileup to zero-based half-open intervals. Configurable columns cover six-column, legacy ten-column and custom rows. Active interval limited to 8 MiB bases; blank lines are skipped rather than terminating all input."
1741 },
1742 "outputs": {
1743 "result": "Collapse consecutive pileup positions meeting a minimum depth into BED-like sequence intervals. One-based pileup to zero-based half-open intervals. Configurable columns cover six-column, legacy ten-column and custom rows. Active interval limited to 8 MiB bases; blank lines are skipped rather than terminating all input."
1744 },
1745 "parameters": {
1746 "min_coverage": {
1747 "description": "Inclusive minimum accepted pileup depth.",
1748 "help": "Inclusive minimum accepted pileup depth. One-based pileup to zero-based half-open intervals. Configurable columns cover six-column, legacy ten-column and custom rows. Active interval limited to 8 MiB bases; blank lines are skipped rather than terminating all input.",
1749 "example": 3
1750 },
1751 "sequence_column": {
1752 "description": "One-based chromosome/sequence-name column.",
1753 "help": "One-based chromosome/sequence-name column. One-based pileup to zero-based half-open intervals. Configurable columns cover six-column, legacy ten-column and custom rows. Active interval limited to 8 MiB bases; blank lines are skipped rather than terminating all input.",
1754 "example": 1
1755 },
1756 "position_column": {
1757 "description": "One-based input position column.",
1758 "help": "One-based input position column. One-based pileup to zero-based half-open intervals. Configurable columns cover six-column, legacy ten-column and custom rows. Active interval limited to 8 MiB bases; blank lines are skipped rather than terminating all input.",
1759 "example": 2
1760 },
1761 "base_column": {
1762 "description": "One-based reference-base column.",
1763 "help": "One-based reference-base column. One-based pileup to zero-based half-open intervals. Configurable columns cover six-column, legacy ten-column and custom rows. Active interval limited to 8 MiB bases; blank lines are skipped rather than terminating all input.",
1764 "example": 3
1765 },
1766 "coverage_column": {
1767 "description": "One-based pileup coverage column.",
1768 "help": "One-based pileup coverage column. One-based pileup to zero-based half-open intervals. Configurable columns cover six-column, legacy ten-column and custom rows. Active interval limited to 8 MiB bases; blank lines are skipped rather than terminating all input.",
1769 "example": 4
1770 }
1771 },
1772 "example_job": "name: Collapse consecutive pileup positions meeting a minimum depth into BED-like\n sequence intervals.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/pileup_interval.txt\n view: bytes\n- id: process\n operator: galaxy_pileup_interval@1.0\n inputs:\n source: read\n params:\n min_coverage: 3\n sequence_column: 1\n position_column: 2\n base_column: 3\n coverage_column: 4\noutputs:\n result: process\n"
1773 },
1774 "icon": {
1775 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
1776 "color": "#5265ad"
1777 }
1778 },
1779 "divide_pg_snp": {
1780 "name": "galaxy_divide_pg_snp",
1781 "version": "1.0",
1782 "entrypoint": "xstream.galaxy.DividePgSnp",
1783 "description": "Expand one or two pgSnp alleles, frequencies and scores into separate columns.",
1784 "parameters": {
1785 "type": "object",
1786 "properties": {
1787 "reference_column": {
1788 "type": "integer",
1789 "default": 0,
1790 "minimum": 0,
1791 "maximum": 65536,
1792 "description": "One-based reference-allele column, or zero for N."
1793 }
1794 },
1795 "additionalProperties": false,
1796 "required": []
1797 },
1798 "params": {
1799 "reference_column": 0
1800 },
1801 "upstream": {
1802 "repository": "https://github.com/galaxyproject/tools-devteam",
1803 "path": "divide_pg_snp/dividePgSnpAlleles.pl"
1804 },
1805 "scope": "Rows with more than two alleles are skipped. Homozygous second allele is N or the configured reference column; extra input columns are retained.",
1806 "fixture": {
1807 "data": "chr1\t0\t1\tA/G\t2\t3,4\t0,0\n",
1808 "expected": "chr1\t0\t1\tA\t3\t0\tG\t4\t0\n",
1809 "params": {
1810 "reference_column": 0
1811 }
1812 },
1813 "categories": [
1814 "Galaxy",
1815 "Bioinformatics"
1816 ],
1817 "documentation": {
1818 "inputs": {
1819 "source": "UTF-8 bytes stream. Rows with more than two alleles are skipped. Homozygous second allele is N or the configured reference column; extra input columns are retained."
1820 },
1821 "outputs": {
1822 "result": "Expand one or two pgSnp alleles, frequencies and scores into separate columns. Rows with more than two alleles are skipped. Homozygous second allele is N or the configured reference column; extra input columns are retained."
1823 },
1824 "parameters": {
1825 "reference_column": {
1826 "description": "One-based reference-allele column, or zero for N.",
1827 "help": "One-based reference-allele column, or zero for N. Rows with more than two alleles are skipped. Homozygous second allele is N or the configured reference column; extra input columns are retained.",
1828 "example": 0
1829 }
1830 },
1831 "example_job": "name: Expand one or two pgSnp alleles, frequencies and scores into separate columns.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/divide_pg_snp.txt\n view: bytes\n- id: process\n operator: galaxy_divide_pg_snp@1.0\n inputs:\n source: read\n params:\n reference_column: 0\noutputs:\n result: process\n"
1832 },
1833 "icon": {
1834 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
1835 "color": "#5265ad"
1836 }
1837 },
1838 "vcf_to_pgsnp": {
1839 "name": "galaxy_vcf_to_pgsnp",
1840 "version": "1.0",
1841 "entrypoint": "xstream.galaxy.VcfToPgsnp",
1842 "description": "Convert called VCF SNP genotypes to pgSnp allele counts.",
1843 "parameters": {
1844 "type": "object",
1845 "properties": {
1846 "sample_column": {
1847 "type": "integer",
1848 "default": 0,
1849 "minimum": 0,
1850 "maximum": 65536,
1851 "description": "One-based VCF sample column, or zero for all samples."
1852 },
1853 "prefix_chr": {
1854 "type": "boolean",
1855 "default": true,
1856 "description": "Add chr to sequence names without that prefix."
1857 }
1858 },
1859 "additionalProperties": false,
1860 "required": []
1861 },
1862 "params": {
1863 "sample_column": 0,
1864 "prefix_chr": true
1865 },
1866 "upstream": {
1867 "repository": "https://github.com/galaxyproject/tools-devteam",
1868 "path": "vcf2pgsnp/vcf2pgSnp.pl"
1869 },
1870 "scope": "Zero selects all samples; otherwise use a one-based VCF column >=10. Only single-base A/C/G/T SNPs with PASS or missing FILTER are converted. GT position, haploidy, phased calls and all allele indices are handled; missing alleles ignored.",
1871 "fixture": {
1872 "data": "#header\n1\t10\t.\tA\tG\t50\tPASS\t.\tGT\t0/1\t1/1\n",
1873 "expected": "chr1\t9\t10\tA/G\t2\t1,3\t0,0\n",
1874 "params": {
1875 "sample_column": 0,
1876 "prefix_chr": true
1877 }
1878 },
1879 "categories": [
1880 "Galaxy",
1881 "Bioinformatics"
1882 ],
1883 "documentation": {
1884 "inputs": {
1885 "source": "UTF-8 bytes stream. Zero selects all samples; otherwise use a one-based VCF column >=10. Only single-base A/C/G/T SNPs with PASS or missing FILTER are converted. GT position, haploidy, phased calls and all allele indices are handled; missing alleles ignored."
1886 },
1887 "outputs": {
1888 "result": "Convert called VCF SNP genotypes to pgSnp allele counts. Zero selects all samples; otherwise use a one-based VCF column >=10. Only single-base A/C/G/T SNPs with PASS or missing FILTER are converted. GT position, haploidy, phased calls and all allele indices are handled; missing alleles ignored."
1889 },
1890 "parameters": {
1891 "sample_column": {
1892 "description": "One-based VCF sample column, or zero for all samples.",
1893 "help": "One-based VCF sample column, or zero for all samples. Zero selects all samples; otherwise use a one-based VCF column >=10. Only single-base A/C/G/T SNPs with PASS or missing FILTER are converted. GT position, haploidy, phased calls and all allele indices are handled; missing alleles ignored.",
1894 "example": 0
1895 },
1896 "prefix_chr": {
1897 "description": "Add chr to sequence names without that prefix.",
1898 "help": "Add chr to sequence names without that prefix. Zero selects all samples; otherwise use a one-based VCF column >=10. Only single-base A/C/G/T SNPs with PASS or missing FILTER are converted. GT position, haploidy, phased calls and all allele indices are handled; missing alleles ignored.",
1899 "example": true
1900 }
1901 },
1902 "example_job": "name: Convert called VCF SNP genotypes to pgSnp allele counts.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/vcf_to_pgsnp.txt\n view: bytes\n- id: process\n operator: galaxy_vcf_to_pgsnp@1.0\n inputs:\n source: read\n params:\n sample_column: 0\n prefix_chr: true\noutputs:\n result: process\n"
1903 },
1904 "icon": {
1905 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
1906 "color": "#5265ad"
1907 }
1908 },
1909 "reverse_complement": {
1910 "name": "galaxy_reverse_complement",
1911 "version": "1.0",
1912 "entrypoint": "xstream.galaxy.ReverseComplement",
1913 "description": "Reverse-complement FASTA nucleotide sequences using the IUPAC alphabet.",
1914 "parameters": {
1915 "type": "object",
1916 "properties": {
1917 "alphabet": {
1918 "type": "string",
1919 "default": "dna",
1920 "maxLength": 4096,
1921 "enum": [
1922 "dna",
1923 "rna"
1924 ],
1925 "description": "DNA or RNA alphabet for complementing."
1926 }
1927 },
1928 "additionalProperties": false,
1929 "required": []
1930 },
1931 "params": {
1932 "alphabet": "dna"
1933 },
1934 "upstream": {
1935 "repository": "https://github.com/bgruening/galaxytools",
1936 "path": "biopython/converters/reverse_complement.py"
1937 },
1938 "scope": "FASTA input/output only; DNA or RNA IUPAC symbols, case preserved, invalid characters rejected. One sequence buffered up to 8 MiB characters.",
1939 "fixture": {
1940 "data": ">id title\nAaCGN\n",
1941 "expected": ">id title\nNCGtT\n",
1942 "params": {
1943 "alphabet": "dna"
1944 }
1945 },
1946 "categories": [
1947 "Galaxy",
1948 "Bioinformatics"
1949 ],
1950 "documentation": {
1951 "inputs": {
1952 "source": "UTF-8 bytes stream. FASTA input/output only; DNA or RNA IUPAC symbols, case preserved, invalid characters rejected. One sequence buffered up to 8 MiB characters."
1953 },
1954 "outputs": {
1955 "result": "Reverse-complement FASTA nucleotide sequences using the IUPAC alphabet. FASTA input/output only; DNA or RNA IUPAC symbols, case preserved, invalid characters rejected. One sequence buffered up to 8 MiB characters."
1956 },
1957 "parameters": {
1958 "alphabet": {
1959 "description": "DNA or RNA alphabet for complementing.",
1960 "help": "DNA or RNA alphabet for complementing. FASTA input/output only; DNA or RNA IUPAC symbols, case preserved, invalid characters rejected. One sequence buffered up to 8 MiB characters.",
1961 "example": "dna"
1962 }
1963 },
1964 "example_job": "name: Reverse-complement FASTA nucleotide sequences using the IUPAC alphabet.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/reverse_complement.txt\n view: bytes\n- id: process\n operator: galaxy_reverse_complement@1.0\n inputs:\n source: read\n params:\n alphabet: dna\noutputs:\n result: process\n"
1965 },
1966 "icon": {
1967 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
1968 "color": "#5265ad"
1969 }
1970 },
1971 "translate": {
1972 "name": "galaxy_translate",
1973 "version": "1.0",
1974 "entrypoint": "xstream.galaxy.Translate",
1975 "description": "Translate nucleotide FASTA to protein FASTA with the standard genetic code.",
1976 "parameters": {
1977 "type": "object",
1978 "properties": {
1979 "to_stop": {
1980 "type": "boolean",
1981 "default": false,
1982 "description": "Stop translation before the first stop codon."
1983 },
1984 "cds": {
1985 "type": "boolean",
1986 "default": false,
1987 "description": "Validate a complete standard-code CDS and omit its terminal stop."
1988 }
1989 },
1990 "additionalProperties": false,
1991 "required": []
1992 },
1993 "params": {
1994 "to_stop": false,
1995 "cds": false
1996 },
1997 "upstream": {
1998 "repository": "https://github.com/bgruening/galaxytools",
1999 "path": "biopython/converters/translate.py"
2000 },
2001 "scope": "Standard code table 1, FASTA only. Ambiguous complete codons emit X; terminal partial codons fail. CDS requires ATG start, terminal stop and no internal stop; final stop omitted. Alternate genetic codes are not advertised.",
2002 "fixture": {
2003 "data": ">gene\nATGGCTTAA\n",
2004 "expected": ">gene\nMA*\n",
2005 "params": {
2006 "to_stop": false,
2007 "cds": false
2008 }
2009 },
2010 "categories": [
2011 "Galaxy",
2012 "Bioinformatics"
2013 ],
2014 "documentation": {
2015 "inputs": {
2016 "source": "UTF-8 bytes stream. Standard code table 1, FASTA only. Ambiguous complete codons emit X; terminal partial codons fail. CDS requires ATG start, terminal stop and no internal stop; final stop omitted. Alternate genetic codes are not advertised."
2017 },
2018 "outputs": {
2019 "result": "Translate nucleotide FASTA to protein FASTA with the standard genetic code. Standard code table 1, FASTA only. Ambiguous complete codons emit X; terminal partial codons fail. CDS requires ATG start, terminal stop and no internal stop; final stop omitted. Alternate genetic codes are not advertised."
2020 },
2021 "parameters": {
2022 "to_stop": {
2023 "description": "Stop translation before the first stop codon.",
2024 "help": "Stop translation before the first stop codon. Standard code table 1, FASTA only. Ambiguous complete codons emit X; terminal partial codons fail. CDS requires ATG start, terminal stop and no internal stop; final stop omitted. Alternate genetic codes are not advertised.",
2025 "example": false
2026 },
2027 "cds": {
2028 "description": "Validate a complete standard-code CDS and omit its terminal stop.",
2029 "help": "Validate a complete standard-code CDS and omit its terminal stop. Standard code table 1, FASTA only. Ambiguous complete codons emit X; terminal partial codons fail. CDS requires ATG start, terminal stop and no internal stop; final stop omitted. Alternate genetic codes are not advertised.",
2030 "example": false
2031 }
2032 },
2033 "example_job": "name: Translate nucleotide FASTA to protein FASTA with the standard genetic code.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/translate.txt\n view: bytes\n- id: process\n operator: galaxy_translate@1.0\n inputs:\n source: read\n params:\n to_stop: false\n cds: false\noutputs:\n result: process\n"
2034 },
2035 "icon": {
2036 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
2037 "color": "#5265ad"
2038 }
2039 },
2040 "codon_count": {
2041 "name": "galaxy_codon_count",
2042 "version": "1.0",
2043 "entrypoint": "xstream.galaxy.CodonCount",
2044 "description": "Count all 64 unambiguous DNA codons over FASTA sequences in frame zero.",
2045 "parameters": {
2046 "type": "object",
2047 "properties": {},
2048 "additionalProperties": false,
2049 "required": []
2050 },
2051 "params": {},
2052 "upstream": {
2053 "repository": "https://github.com/bgruening/galaxytools",
2054 "path": "biopython/codon_count.py"
2055 },
2056 "scope": "Input lengths must be multiples of three. Only A/C/G/T codons are accepted; output is deterministic lexicographic codon/count TSV, including zero counts.",
2057 "fixture": {
2058 "data": ">g\nATGATG\n",
2059 "expected": "AAA\t0\nAAC\t0\nAAG\t0\nAAT\t0\nACA\t0\nACC\t0\nACG\t0\nACT\t0\nAGA\t0\nAGC\t0\nAGG\t0\nAGT\t0\nATA\t0\nATC\t0\nATG\t2\nATT\t0\nCAA\t0\nCAC\t0\nCAG\t0\nCAT\t0\nCCA\t0\nCCC\t0\nCCG\t0\nCCT\t0\nCGA\t0\nCGC\t0\nCGG\t0\nCGT\t0\nCTA\t0\nCTC\t0\nCTG\t0\nCTT\t0\nGAA\t0\nGAC\t0\nGAG\t0\nGAT\t0\nGCA\t0\nGCC\t0\nGCG\t0\nGCT\t0\nGGA\t0\nGGC\t0\nGGG\t0\nGGT\t0\nGTA\t0\nGTC\t0\nGTG\t0\nGTT\t0\nTAA\t0\nTAC\t0\nTAG\t0\nTAT\t0\nTCA\t0\nTCC\t0\nTCG\t0\nTCT\t0\nTGA\t0\nTGC\t0\nTGG\t0\nTGT\t0\nTTA\t0\nTTC\t0\nTTG\t0\nTTT\t0\n",
2060 "params": {}
2061 },
2062 "categories": [
2063 "Galaxy",
2064 "Bioinformatics"
2065 ],
2066 "documentation": {
2067 "inputs": {
2068 "source": "UTF-8 bytes stream. Input lengths must be multiples of three. Only A/C/G/T codons are accepted; output is deterministic lexicographic codon/count TSV, including zero counts."
2069 },
2070 "outputs": {
2071 "result": "Count all 64 unambiguous DNA codons over FASTA sequences in frame zero. Input lengths must be multiples of three. Only A/C/G/T codons are accepted; output is deterministic lexicographic codon/count TSV, including zero counts."
2072 },
2073 "parameters": {},
2074 "example_job": "name: Count all 64 unambiguous DNA codons over FASTA sequences in frame zero.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/codon_count.txt\n view: bytes\n- id: process\n operator: galaxy_codon_count@1.0\n inputs:\n source: read\n params: {}\noutputs:\n result: process\n"
2075 },
2076 "icon": {
2077 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
2078 "color": "#5265ad"
2079 }
2080 },
2081 "base_distribution": {
2082 "name": "galaxy_base_distribution",
2083 "version": "1.0",
2084 "entrypoint": "xstream.galaxy.BaseDistribution",
2085 "description": "Report per-sequence A/C/G/T counts, sequence length and GC fraction.",
2086 "parameters": {
2087 "type": "object",
2088 "properties": {},
2089 "additionalProperties": false,
2090 "required": []
2091 },
2092 "params": {},
2093 "upstream": {
2094 "repository": "https://github.com/bgruening/galaxytools",
2095 "path": "biopython/base_distribution.py"
2096 },
2097 "scope": "FASTA input. GC denominator includes ambiguous symbols; zero-length records use GC fraction zero. Output CG% is the upstream fraction, not a percentage.",
2098 "fixture": {
2099 "data": ">g title\nAaCGTN\n",
2100 "expected": "Gene\tA\tC\tG\tT\tLength\tCG%\ng\t2\t1\t1\t1\t6\t0.333333\n",
2101 "params": {}
2102 },
2103 "categories": [
2104 "Galaxy",
2105 "Bioinformatics"
2106 ],
2107 "documentation": {
2108 "inputs": {
2109 "source": "UTF-8 bytes stream. FASTA input. GC denominator includes ambiguous symbols; zero-length records use GC fraction zero. Output CG% is the upstream fraction, not a percentage."
2110 },
2111 "outputs": {
2112 "result": "Report per-sequence A/C/G/T counts, sequence length and GC fraction. FASTA input. GC denominator includes ambiguous symbols; zero-length records use GC fraction zero. Output CG% is the upstream fraction, not a percentage."
2113 },
2114 "parameters": {},
2115 "example_job": "name: Report per-sequence A/C/G/T counts, sequence length and GC fraction.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/base_distribution.txt\n view: bytes\n- id: process\n operator: galaxy_base_distribution@1.0\n inputs:\n source: read\n params: {}\noutputs:\n result: process\n"
2116 },
2117 "icon": {
2118 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
2119 "color": "#5265ad"
2120 }
2121 },
2122 "find_subsequences": {
2123 "name": "galaxy_find_subsequences",
2124 "version": "1.0",
2125 "entrypoint": "xstream.galaxy.FindSubsequences",
2126 "description": "Find IUPAC nucleotide motifs in FASTA and emit zero-based half-open BED6 locations.",
2127 "parameters": {
2128 "type": "object",
2129 "properties": {
2130 "pattern": {
2131 "type": "string",
2132 "default": "AC",
2133 "maxLength": 128,
2134 "description": "Literal text or IUPAC DNA motif, as described by this operator."
2135 },
2136 "strand": {
2137 "type": "string",
2138 "default": "both",
2139 "maxLength": 4096,
2140 "enum": [
2141 "both",
2142 "forward",
2143 "reverse"
2144 ],
2145 "description": "Search forward, reverse-complement, or both strands."
2146 }
2147 },
2148 "additionalProperties": false,
2149 "required": []
2150 },
2151 "params": {
2152 "pattern": "AC",
2153 "strand": "both"
2154 },
2155 "upstream": {
2156 "repository": "https://github.com/bgruening/galaxytools",
2157 "path": "find_subsequences/find_subsequences.py"
2158 },
2159 "scope": "Uses reverse complement for reverse-strand search, correcting the upstream complement-only bug. Overlapping hits are consistently included. Maximum one million candidate comparisons per record times pattern length is bounded to 64 million.",
2160 "fixture": {
2161 "data": ">g title\nACGT\n",
2162 "expected": "g\t0\t2\tg title\t\t+\ng\t2\t4\tg title\t\t-\n",
2163 "params": {
2164 "pattern": "AC",
2165 "strand": "both"
2166 }
2167 },
2168 "categories": [
2169 "Galaxy",
2170 "Bioinformatics"
2171 ],
2172 "documentation": {
2173 "inputs": {
2174 "source": "UTF-8 bytes stream. Uses reverse complement for reverse-strand search, correcting the upstream complement-only bug. Overlapping hits are consistently included. Maximum one million candidate comparisons per record times pattern length is bounded to 64 million."
2175 },
2176 "outputs": {
2177 "result": "Find IUPAC nucleotide motifs in FASTA and emit zero-based half-open BED6 locations. Uses reverse complement for reverse-strand search, correcting the upstream complement-only bug. Overlapping hits are consistently included. Maximum one million candidate comparisons per record times pattern length is bounded to 64 million."
2178 },
2179 "parameters": {
2180 "pattern": {
2181 "description": "Literal text or IUPAC DNA motif, as described by this operator.",
2182 "help": "Literal text or IUPAC DNA motif, as described by this operator. Uses reverse complement for reverse-strand search, correcting the upstream complement-only bug. Overlapping hits are consistently included. Maximum one million candidate comparisons per record times pattern length is bounded to 64 million.",
2183 "example": "AC"
2184 },
2185 "strand": {
2186 "description": "Search forward, reverse-complement, or both strands.",
2187 "help": "Search forward, reverse-complement, or both strands. Uses reverse complement for reverse-strand search, correcting the upstream complement-only bug. Overlapping hits are consistently included. Maximum one million candidate comparisons per record times pattern length is bounded to 64 million.",
2188 "example": "both"
2189 }
2190 },
2191 "example_job": "name: Find IUPAC nucleotide motifs in FASTA and emit zero-based half-open BED6 locations.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/find_subsequences.txt\n view: bytes\n- id: process\n operator: galaxy_find_subsequences@1.0\n inputs:\n source: read\n params:\n pattern: AC\n strand: both\noutputs:\n result: process\n"
2192 },
2193 "icon": {
2194 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
2195 "color": "#5265ad"
2196 }
2197 },
2198 "fasta_stats": {
2199 "name": "galaxy_fasta_stats",
2200 "version": "1.0",
2201 "entrypoint": "xstream.galaxy.FastaStats",
2202 "description": "Compute scaffold, contig and base-composition summary statistics from FASTA.",
2203 "parameters": {
2204 "type": "object",
2205 "properties": {
2206 "genome_size": {
2207 "type": "integer",
2208 "default": 0,
2209 "minimum": 0,
2210 "maximum": 1000000000,
2211 "description": "Estimated genome size for NG50, or zero to omit NG50."
2212 }
2213 },
2214 "additionalProperties": false,
2215 "required": []
2216 },
2217 "params": {
2218 "genome_size": 0
2219 },
2220 "upstream": {
2221 "repository": "https://github.com/galaxyproject/tools-iuc",
2222 "path": "fasta_stats/fasta-stats.py"
2223 },
2224 "scope": "Statistics TSV output only, no separate gap BED. N-runs split contigs; internal N-runs count as gaps. Uses standard N50 threshold >= half, correcting upstream strict-greater edge. At most 100000 sequences/contigs and one 8 MiB-character record.",
2225 "fixture": {
2226 "data": ">a\nACGTNNAA\n>b\nGG\n",
2227 "expected": "Scaffold L50\t1\nScaffold N50\t8\nScaffold L90\t2\nScaffold N90\t2\nScaffold len_max\t8\nScaffold len_min\t2\nScaffold len_mean\t5\nScaffold len_median\t5\nScaffold len_std\t3\nScaffold num_A\t3\nScaffold num_T\t1\nScaffold num_C\t1\nScaffold num_G\t3\nScaffold num_N\t2\nScaffold num_bp\t10\nScaffold num_bp_not_N\t8\nScaffold num_seq\t2\nScaffold GC content overall\t40.00\nContig L50\t1\nContig N50\t4\nContig L90\t3\nContig N90\t2\nContig len_max\t4\nContig len_min\t2\nContig len_mean\t2\nContig len_median\t2\nContig len_std\t0\nContig num_bp\t8\nContig num_seq\t3\nNumber of gaps\t1\n",
2228 "params": {
2229 "genome_size": 0
2230 }
2231 },
2232 "categories": [
2233 "Galaxy",
2234 "Bioinformatics"
2235 ],
2236 "documentation": {
2237 "inputs": {
2238 "source": "UTF-8 bytes stream. Statistics TSV output only, no separate gap BED. N-runs split contigs; internal N-runs count as gaps. Uses standard N50 threshold >= half, correcting upstream strict-greater edge. At most 100000 sequences/contigs and one 8 MiB-character record."
2239 },
2240 "outputs": {
2241 "result": "Compute scaffold, contig and base-composition summary statistics from FASTA. Statistics TSV output only, no separate gap BED. N-runs split contigs; internal N-runs count as gaps. Uses standard N50 threshold >= half, correcting upstream strict-greater edge. At most 100000 sequences/contigs and one 8 MiB-character record."
2242 },
2243 "parameters": {
2244 "genome_size": {
2245 "description": "Estimated genome size for NG50, or zero to omit NG50.",
2246 "help": "Estimated genome size for NG50, or zero to omit NG50. Statistics TSV output only, no separate gap BED. N-runs split contigs; internal N-runs count as gaps. Uses standard N50 threshold >= half, correcting upstream strict-greater edge. At most 100000 sequences/contigs and one 8 MiB-character record.",
2247 "example": 0
2248 }
2249 },
2250 "example_job": "name: Compute scaffold, contig and base-composition summary statistics from FASTA.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/fasta_stats.txt\n view: bytes\n- id: process\n operator: galaxy_fasta_stats@1.0\n inputs:\n source: read\n params:\n genome_size: 0\noutputs:\n result: process\n"
2251 },
2252 "icon": {
2253 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
2254 "color": "#5265ad"
2255 }
2256 },
2257 "motif_flank_counts": {
2258 "name": "galaxy_motif_flank_counts",
2259 "version": "1.0",
2260 "entrypoint": "xstream.galaxy.MotifFlankCounts",
2261 "description": "Count motif-bearing windows upstream and downstream of each indel.",
2262 "parameters": {
2263 "type": "object",
2264 "properties": {
2265 "motifs": {
2266 "type": "array",
2267 "default": [
2268 "AC"
2269 ],
2270 "maxItems": 128,
2271 "items": {
2272 "type": "string",
2273 "default": "",
2274 "maxLength": 4096
2275 },
2276 "description": "Literal DNA motifs, each written as sequence or name=sequence."
2277 },
2278 "windows": {
2279 "type": "integer",
2280 "default": 1,
2281 "minimum": 1,
2282 "maximum": 128,
2283 "description": "Number of adjacent windows considered on each side of the indel."
2284 }
2285 },
2286 "additionalProperties": false,
2287 "required": []
2288 },
2289 "params": {
2290 "motifs": [
2291 "AC"
2292 ],
2293 "windows": 1
2294 },
2295 "upstream": {
2296 "repository": "https://github.com/galaxyproject/tools-devteam",
2297 "path": "compute_motif_frequencies_for_all_motifs/compute_motif_frequencies_for_all_motifs.pl"
2298 },
2299 "scope": "Input has an odd number of tab-separated windows with literal indel in the middle. Motifs are literal case-insensitive DNA strings configured by name=sequence or sequence. Output is row-major then motif order to stream without replaying input; upstream uses motif-major order. Regex motifs are not supported.",
2300 "fixture": {
2301 "data": "AC\tindel\tTT\nGG\tindel\tAC\n",
2302 "expected": "AC\t1\t0\nAC\t0\t1\n",
2303 "params": {
2304 "motifs": [
2305 "AC"
2306 ],
2307 "windows": 1
2308 }
2309 },
2310 "categories": [
2311 "Galaxy",
2312 "Bioinformatics"
2313 ],
2314 "documentation": {
2315 "inputs": {
2316 "source": "UTF-8 bytes stream. Input has an odd number of tab-separated windows with literal indel in the middle. Motifs are literal case-insensitive DNA strings configured by name=sequence or sequence. Output is row-major then motif order to stream without replaying input; upstream uses motif-major order. Regex motifs are not supported."
2317 },
2318 "outputs": {
2319 "result": "Count motif-bearing windows upstream and downstream of each indel. Input has an odd number of tab-separated windows with literal indel in the middle. Motifs are literal case-insensitive DNA strings configured by name=sequence or sequence. Output is row-major then motif order to stream without replaying input; upstream uses motif-major order. Regex motifs are not supported."
2320 },
2321 "parameters": {
2322 "motifs": {
2323 "description": "Literal DNA motifs, each written as sequence or name=sequence.",
2324 "help": "Literal DNA motifs, each written as sequence or name=sequence. Input has an odd number of tab-separated windows with literal indel in the middle. Motifs are literal case-insensitive DNA strings configured by name=sequence or sequence. Output is row-major then motif order to stream without replaying input; upstream uses motif-major order. Regex motifs are not supported.",
2325 "example": [
2326 "AC"
2327 ]
2328 },
2329 "windows": {
2330 "description": "Number of adjacent windows considered on each side of the indel.",
2331 "help": "Number of adjacent windows considered on each side of the indel. Input has an odd number of tab-separated windows with literal indel in the middle. Motifs are literal case-insensitive DNA strings configured by name=sequence or sequence. Output is row-major then motif order to stream without replaying input; upstream uses motif-major order. Regex motifs are not supported.",
2332 "example": 1
2333 }
2334 },
2335 "example_job": "name: Count motif-bearing windows upstream and downstream of each indel.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/motif_flank_counts.txt\n view: bytes\n- id: process\n operator: galaxy_motif_flank_counts@1.0\n inputs:\n source: read\n params:\n motifs:\n - AC\n windows: 1\noutputs:\n result: process\n"
2336 },
2337 "icon": {
2338 "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5",
2339 "color": "#5265ad"
2340 }
2341 }
2342}