Skip to content

Commit

Permalink
Fixed mosdepth
Browse files Browse the repository at this point in the history
  • Loading branch information
svarona committed Dec 27, 2023
1 parent ad5b38a commit 5ccac08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions workflows/nanopore.nf
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,9 @@ workflow NANOPORE {
if (!params.skip_mosdepth) {

MOSDEPTH_GENOME (
ARTIC_MINION.out.bam_primertrimmed.join(ARTIC_MINION.out.bai_primertrimmed, by: [0]),
[ [:], [] ],
ARTIC_MINION.out.bam_primertrimmed
.join(ARTIC_MINION.out.bai_primertrimmed, by: [0])
.map { meta, bam, bai -> [ meta, bam, bai, [] ] },
[ [:], [] ]
)
ch_mosdepth_multiqc = MOSDEPTH_GENOME.out.global_txt
Expand All @@ -385,8 +386,7 @@ workflow NANOPORE {
ch_versions = ch_versions.mix(PLOT_MOSDEPTH_REGIONS_GENOME.out.versions)

MOSDEPTH_AMPLICON (
ARTIC_MINION.out.bam_primertrimmed.join(ARTIC_MINION.out.bai_primertrimmed, by: [0]),
PREPARE_GENOME.out.primer_collapsed_bed.map { [ [:], it ] }.collect(),
ARTIC_MINION.out.bam_primertrimmed.join(ARTIC_MINION.out.bai_primertrimmed, by: [0]).join(PREPARE_GENOME.out.primer_collapsed_bed),
[ [:], [] ]
)
ch_versions = ch_versions.mix(MOSDEPTH_AMPLICON.out.versions.first().ifEmpty(null))
Expand Down

0 comments on commit 5ccac08

Please sign in to comment.