File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
flowcraft/generator/templates Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ process unicycler_{{pid}} {
7
7
8
8
input :
9
9
set sample_id, file(fastq_pair) from {{input_channel}}
10
+ file long_fastq from params. long_fastq{{param_id}} ?
11
+ Channel . fromPath(params. long_fastq{{param_id}}) :
12
+ Channel . value(" NA" )
10
13
11
14
output :
12
15
set sample_id, file(' assembly.fasta' ) into {{output_channel}}
@@ -16,7 +19,10 @@ process unicycler_{{pid}} {
16
19
{% endwith % }
17
20
18
21
script :
19
- " unicycler -t $task . cpus -o . --no_correct --no_pilon -1 ${ fastq_pair[0]} -2 ${ fastq_pair[1]} "
22
+ command = " unicycler -t $task . cpus -o . --no_correct --no_pilon -1 ${ fastq_pair[0]} -2 ${ fastq_pair[1]} "
23
+ if (params. long_fastq{{param_id}})
24
+ command + = " -l ${ long_fastq} "
25
+ command
20
26
}
21
27
22
28
{{forks}}
You can’t perform that action at this time.
0 commit comments