Skip to content

Commit

Permalink
try launchdir not basedir for output
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmeaton committed Jun 19, 2020
1 parent 4f6ef19 commit 1f25f5b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ log.info pipelineHeader()
// -------------------------------------------------------------------------- //

// Prefix the baseDir in front of the outdir
outdir = "$baseDir/${params.outdir}"
outdir = "$workflow.launchDir/${params.outdir}"
outdir = outdir
//println ("The outdir is: $outdir")

Expand Down Expand Up @@ -1165,13 +1165,13 @@ process iqtree{
val outgroup_file from ch_outgroup_file_iqtree.collect().ifEmpty([])

output:
file "iqtree*.treefile" into ch_iqtree_treefile_augur_refine
file "iqtree*.bionj"
file "iqtree*.ckp.gz"
file "iqtree*.log"
file "iqtree*.mldist"
file "iqtree*.model.gz"
file "iqtree*.output"
file "*.treefile" into ch_iqtree_treefile_augur_refine
file "*.bionj"
file "*.ckp.gz"
file "*.log"
file "*.mldist"
file "*.model.gz"
file "*.output"

when:
!params.skip_iqtree
Expand Down

0 comments on commit 1f25f5b

Please sign in to comment.