-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathseqSpecCheck_pipeline_HASHING.nf
47 lines (38 loc) · 1.41 KB
/
seqSpecCheck_pipeline_HASHING.nf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
nextflow.enable.dsl=2
include { seqSpecCheck } from './processes/seqSpecCheck.nf'
workflow guideWorkflow {
guide_fastq_r1_ch = Channel.fromPath(params.test_guide_fastq_r1).collect()
guide_fastq_r2_ch = Channel.fromPath(params.test_guide_fastq_r2).collect()
guide_seqSpecCheck = seqSpecCheck(
guide_fastq_r1_ch,
guide_fastq_r2_ch,
file(params.guide_metadata),
'guide'
)
emit:
guide_seqSpecCheck_plots = guide_seqSpecCheck.seqSpecCheck_plots
guide_position_table = guide_seqSpecCheck.position_table
}
workflow hashingWorkflow {
hashing_fastq_r1_ch = Channel.fromPath(params.test_hashing_fastq_r1).collect()
hashing_fastq_r2_ch = Channel.fromPath(params.test_hashing_fastq_r2).collect()
hashing_seqSpecCheck = seqSpecCheck(
hashing_fastq_r1_ch,
hashing_fastq_r2_ch,
file(params.hashing_metadata),
'hashing'
)
emit:
hashing_seqSpecCheck_plots = hashing_seqSpecCheck.seqSpecCheck_plots
hashing_position_table = hashing_seqSpecCheck.position_table
}
workflow seqSpecCheck_pipeline_HASHING {
main:
guide = guideWorkflow()
hashing = hashingWorkflow()
emit:
guide_seqSpecCheck_plots = guide.guide_seqSpecCheck_plots
guide_position_table = guide.guide_position_table
hashing_seqSpecCheck_plots = hashing.hashing_seqSpecCheck_plots
hashing_position_table = hashing.hashing_position_table
}