Skip to content

Commit

Permalink
not publishing all files
Browse files Browse the repository at this point in the history
  • Loading branch information
toniher committed Dec 4, 2024
1 parent a8f083c commit 244967d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 5 additions & 1 deletion modules/local/exorthist/merge_aligns.nf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ process MERGE_PROT_EX_INT_ALN_INFO {

stageInMode 'copy'

// TODO: This needs to be changed once new publish approach
publishDir "${params.output}", mode: params.publish_dir_mode, pattern: "${comp_id}"

input:
tuple val(comp_id), path("FOLDERS_*"), path("*")

Expand All @@ -20,6 +23,7 @@ process MERGE_PROT_EX_INT_ALN_INFO {
mv realigned_* ${comp_id}/
B4_merge_PROT_EX_INT_aln_info.pl ${comp_id}
rmdir FOLDERS_
# We don't publish part files
mv ${comp_id}/*part_* FOLDERS_/
"""
}
6 changes: 0 additions & 6 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,6 @@ process {
mode: params.publish_dir_mode
]
}
withName: 'MERGE_PROT_EX_INT_ALN_INFO' {
publishDir = [
path: { "${params.output}" },
mode: params.publish_dir_mode
]
}
withName: 'SPLIT_CLUSTERS_BY_SPECIES_PAIRS' {
publishDir = [
path: { "${params.output}" },
Expand Down

0 comments on commit 244967d

Please sign in to comment.