|
0
|
1 # NextFlow DSL2 Module
|
|
|
2
|
|
|
3 ```bash
|
|
|
4 FLYE_ASSEMBLE
|
|
|
5 ```
|
|
|
6
|
|
|
7 ## Description
|
|
|
8
|
|
|
9 Run `flye` assembler tool on a list of read files in FASTQ format.
|
|
|
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 FASTQ files of input type `path` (`reads`).
|
|
|
21
|
|
|
22 Ex:
|
|
|
23
|
|
|
24 ```groovy
|
|
|
25 [ [id: 'sample1', single_end: true], '/data/sample1/f_merged.fq.gz' ]
|
|
|
26 ```
|
|
|
27
|
|
|
28 \
|
|
|
29
|
|
|
30
|
|
|
31 #### `meta`
|
|
|
32
|
|
|
33 Type: Groovy Map
|
|
|
34
|
|
|
35 A Groovy Map containing the metadata about the FASTQ file.
|
|
|
36
|
|
|
37 Ex:
|
|
|
38
|
|
|
39 ```groovy
|
|
|
40 [ id: 'FAL00870', strandedness: 'unstranded', single_end: true ]
|
|
|
41 ```
|
|
|
42
|
|
|
43 \
|
|
|
44
|
|
|
45
|
|
|
46 #### `reads`
|
|
|
47
|
|
|
48 Type: `path`
|
|
|
49
|
|
|
50 NextFlow input type of `path` pointing to read files in FASTQ format that need to be *de novo* assembled.
|
|
|
51
|
|
|
52 \
|
|
|
53
|
|
|
54
|
|
|
55 #### `args`
|
|
|
56
|
|
|
57 Type: Groovy String
|
|
|
58
|
|
|
59 String of optional command-line arguments to be passed to the tool. This can be mentioned in `process` scope within `withName:process_name` block using `ext.args` option within your `nextflow.config` file.
|
|
|
60
|
|
|
61 Ex:
|
|
|
62
|
|
|
63 ```groovy
|
|
|
64 withName: 'FLYE_ASSEMBLE' {
|
|
|
65 ext.args = '--casava'
|
|
|
66 }
|
|
|
67 ```
|
|
|
68
|
|
|
69 \
|
|
|
70
|
|
|
71
|
|
|
72 ### `output:`
|
|
|
73
|
|
|
74 ___
|
|
|
75
|
|
|
76 Type: `tuple`
|
|
|
77
|
|
|
78 Outputs a tuple of metadata (`meta` from `input:`) and `flye` assembled contig file in FASTA format.
|
|
|
79
|
|
|
80 \
|
|
|
81
|
|
|
82
|
|
|
83 #### `assembly`
|
|
|
84
|
|
|
85 Type: `path`
|
|
|
86
|
|
|
87 NextFlow output type of `path` pointing to the `flye` assembler results file per sample (`id:`) i.e., the final assembled contig file in FASTA format.
|
|
|
88
|
|
|
89 \
|
|
|
90
|
|
|
91
|
|
|
92 #### `versions`
|
|
|
93
|
|
|
94 Type: `path`
|
|
|
95
|
|
|
96 NextFlow output type of `path` pointing to the `.yml` file storing software versions for this process.
|