Skip to content

Commit

Permalink
Updated to include the new quast param. Changed to the transposed qua…
Browse files Browse the repository at this point in the history
…st report to calculate assembly stats
  • Loading branch information
evagunawan committed Jan 30, 2025
1 parent ea6611f commit 10dbc29
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions workflows/spriggan.nf
Original file line number Diff line number Diff line change
Expand Up @@ -215,15 +215,24 @@ workflow SPRIGGAN {
// MODULE: QUAST
//
QUAST (
SHOVILL.out.contigs
SHOVILL.out.contigs,
params.min_quast_contig
)
ch_versions = ch_versions.mix(QUAST.out.versions.first())

//
// MODULE: QUAST_SUMMARY
//

QUAST.out.transposed_report
.map{ meta, path ->
[path]
}
.collect()
.set{ ch_transposed }

QUAST_SUMMARY (
QUAST.out.transposed_report.collect()
ch_transposed
)

//
Expand Down Expand Up @@ -271,7 +280,11 @@ workflow SPRIGGAN {
//
//
ch_kraken_tsv = KRAKEN_SUMMARY.out.kraken_tsv
ch_quast = QUAST.out.result.map{meta, result -> [[id:meta.id], result]}
QUAST.out.transposed_report
.map{meta, result ->
[[id:meta.id], result]
}
.set { ch_quast }

CALCULATE_ASSEMBLY_STATS (
ch_quast,
Expand Down

0 comments on commit 10dbc29

Please sign in to comment.