@@ -18,7 +18,7 @@ workflow BAM_STATS_METRICS {
18
18
SAMTOOLS_INDEX ( sort_bam )
19
19
ch_versions = ch_versions. mix(SAMTOOLS_INDEX . out. versions. first())
20
20
21
- input_metics = sort_bam_ref
21
+ input_metrics = sort_bam_ref
22
22
.join(SAMTOOLS_INDEX . out. bai, by : [0 ], remainder : true )
23
23
.multiMap{
24
24
meta, bam, ref, bai ->
@@ -27,15 +27,15 @@ workflow BAM_STATS_METRICS {
27
27
bam_bai_bed : [meta, bam, bai, []]
28
28
}
29
29
30
- PICARD_COLLECTMULTIPLEMETRICS ( input_metics . bam_bai, input_metics . ref, [[:], []] )
30
+ PICARD_COLLECTMULTIPLEMETRICS ( input_metrics . bam_bai, input_metrics . ref, [[:], []] )
31
31
ch_versions = ch_versions. mix(PICARD_COLLECTMULTIPLEMETRICS . out. versions)
32
32
33
- MOSDEPTH (input_metics . bam_bai_bed, input_metics . ref)
33
+ MOSDEPTH (input_metrics . bam_bai_bed, input_metrics . ref)
34
34
ch_versions = ch_versions. mix(MOSDEPTH . out. versions)
35
35
ch_multiqc = ch_multiqc. mix(MOSDEPTH . out. global_txt)
36
36
ch_multiqc = ch_multiqc. mix(MOSDEPTH . out. summary_txt)
37
37
38
- BAM_STATS_SAMTOOLS ( input_metics . bam_bai, input_metics . ref )
38
+ BAM_STATS_SAMTOOLS ( input_metrics . bam_bai, input_metrics . ref )
39
39
ch_versions = ch_versions. mix(BAM_STATS_SAMTOOLS . out. versions)
40
40
ch_multiqc = ch_multiqc. mix(BAM_STATS_SAMTOOLS . out. stats)
41
41
ch_multiqc = ch_multiqc. mix(BAM_STATS_SAMTOOLS . out. flagstat)
0 commit comments