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}} {
77
88 input :
99 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" )
1013
1114 output :
1215 set sample_id, file(' assembly.fasta' ) into {{output_channel}}
@@ -16,7 +19,10 @@ process unicycler_{{pid}} {
1619 {% endwith % }
1720
1821 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
2026}
2127
2228{{forks}}
You can’t perform that action at this time.
0 commit comments