Skip to content

Commit

Permalink
adjusted print statements and added ignore to freyja
Browse files Browse the repository at this point in the history
  • Loading branch information
erinyoung committed Apr 7, 2022
1 parent 97aadcd commit 9cb05e4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Cecret.nf
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ if ( params.maxcpus < 5 ) {

// This is where the results will be
println("The files and directory for results is " + params.outdir)
println("A table summarizing results will be created: ${params.outdir}/summary.txt and ${workflow.launchDir}/cecret_run_results.txt\n")
println("A table summarizing results will be created: ${params.outdir}/cecret_results.csv\n")

Channel
.fromPath(params.reference_genome, type:'file')
Expand Down Expand Up @@ -1377,6 +1377,7 @@ if (params.freyja) {
tag "${sample}"
cpus params.medcpus
container 'staphb/freyja:latest'
errorStrategy 'ignore'

input:
tuple val(sample), file(bam), file(reference_genome) from trimmed_bams_freyja
Expand Down Expand Up @@ -1929,7 +1930,7 @@ if (params.nextclade || params.nextclade || params.nextclade) {
} else {
workflow.onComplete {
println("Pipeline completed at: $workflow.complete")
println("A summary of results can be found in a comma-delimited file: ${params.outdir}/summary.csv")
println("A summary of results can be found in a comma-delimited file: ${params.outdir}/summary/combined_summary.csv")
println("Execution status: ${ workflow.success ? 'OK' : 'failed' }")
}
}

0 comments on commit 9cb05e4

Please sign in to comment.