Skip to content

Commit

Permalink
Disable metaQuast ref download module (storage and compute intensive).
Browse files Browse the repository at this point in the history
Rename decontaminated.txt.
  • Loading branch information
mberacochea committed May 30, 2024
1 parent 988ca49 commit 902fb5b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
types: [published]

env:
NXF_ANSI_LOG: false
NFTEST_VER: "0.8.4"
NXF_ANSI_LOG: false
NFTEST_VER: "0.8.4"

jobs:
test:
Expand Down
3 changes: 3 additions & 0 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,9 @@ process {
}
]
]
// Disable Quast reference download
// NOTICE: Maximum number of references (--max-ref-number) is set to 0, search in SILVA 16S rRNA database is disabled //
ext.args = "--max-ref-num 0"
}

withName: 'PUBLISH_DECONTAMINATED' {
Expand Down
4 changes: 2 additions & 2 deletions modules/local/publish_decontaminated.nf
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ process PUBLISH_DECONTAMINATED {
tuple val(meta), path(decontaminated_contigs)

output:
path("decontaminated.txt")
path("${meta.id}.txt")

script:
"""
mv ${decontaminated_contigs} decontaminated.txt
mv ${decontaminated_contigs} ${meta.id}.txt
"""
}

0 comments on commit 902fb5b

Please sign in to comment.