|
0
|
1 # NextFlow DSL2 Module
|
|
|
2
|
|
|
3 ```bash
|
|
|
4 MASH_SCREEN
|
|
|
5 ```
|
|
|
6
|
|
|
7 ## Description
|
|
|
8
|
|
|
9 Run `mash screen` on the input FASTQ file.
|
|
|
10
|
|
|
11 \
|
|
|
12
|
|
|
13
|
|
|
14 ### `input:`
|
|
|
15
|
|
|
16 ___
|
|
|
17
|
|
|
18 Type: `tuple`
|
|
|
19
|
|
|
20 Takes in the following tuple of metadata (`meta`) and a list of reads of type `path` (`query`) per sample (`id:`).
|
|
|
21
|
|
|
22 Ex:
|
|
|
23
|
|
|
24 ```groovy
|
|
|
25 [
|
|
|
26 [
|
|
|
27 id: 'FAL00870'
|
|
|
28 ],
|
|
|
29 [
|
|
|
30 '/hpc/scratch/test/f1.fq.gz'
|
|
|
31 ]
|
|
|
32 ]
|
|
|
33 ```
|
|
|
34
|
|
|
35 \
|
|
|
36
|
|
|
37
|
|
|
38 #### `meta`
|
|
|
39
|
|
|
40 Type: Groovy Map
|
|
|
41
|
|
|
42 A Groovy Map containing the metadata about the FASTQ file.
|
|
|
43
|
|
|
44 Ex:
|
|
|
45
|
|
|
46 ```groovy
|
|
|
47 [
|
|
|
48 id: 'FAL00870'
|
|
|
49 ]
|
|
|
50 ```
|
|
|
51
|
|
|
52 \
|
|
|
53
|
|
|
54
|
|
|
55 #### `query`
|
|
|
56
|
|
|
57 Type: `path`
|
|
|
58
|
|
|
59 NextFlow input type of `path` pointing to FASTQ file to be screened.
|
|
|
60
|
|
|
61 \
|
|
|
62
|
|
|
63
|
|
|
64 ### `output:`
|
|
|
65
|
|
|
66 ___
|
|
|
67
|
|
|
68 Type: `tuple`
|
|
|
69
|
|
|
70 Outputs a tuple of metadata (`meta` from `input:`) and `mash screen` result file ending with suffix `.screened`.
|
|
|
71
|
|
|
72 \
|
|
|
73
|
|
|
74
|
|
|
75 #### `screened`
|
|
|
76
|
|
|
77 Type: `path`
|
|
|
78
|
|
|
79 NextFlow output type of `path` pointing to the result (`*.screened`) of the `mash screen` command per sample (`id:`).
|
|
|
80
|
|
|
81 \
|
|
|
82
|
|
|
83
|
|
|
84 #### `versions`
|
|
|
85
|
|
|
86 Type: `path`
|
|
|
87
|
|
|
88 NextFlow output type of `path` pointing to the `.yml` file storing software versions for this process.
|