Skip to content

Commit 24012df

Browse files
authored
Merge pull request #65 from biodiversitycellatlas/dev
Improved kraken output specification and increase of resources
2 parents 889d35b + 7a9c7f3 commit 24012df

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

  • modules/local/tools/kraken/kraken_classify

modules/local/tools/kraken/kraken_classify/main.nf

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
process KRAKEN {
2-
publishDir "${params.outdir}/kraken/${meta.id}", mode: 'copy'
2+
publishDir "${params.outdir}/kraken/", mode: 'copy'
33
tag "${meta.id}"
4-
label 'process_high'
4+
label 'process_high_memory'
55
debug true
66

7+
conda "${moduleDir}/environment.yml"
8+
container "oras://community.wave.seqera.io/library/kraken2_samtools_coreutils_pigz:8961943c277652a6"
9+
710
input:
811
path db_path_file
912
tuple val(meta), path(filtered_fasta)
1013

11-
conda "${moduleDir}/environment.yml"
12-
container "oras://community.wave.seqera.io/library/kraken2_samtools_coreutils_pigz:8961943c277652a6"
13-
1414
output:
15-
path("*")
15+
path("${meta.id}_kraken_taxonomy.txt")
1616

1717
script:
1818
"""
@@ -27,9 +27,6 @@ process KRAKEN {
2727
--threads ${task.cpus} \\
2828
--db \${kraken_db_path} \\
2929
--report ${meta.id}_kraken_taxonomy.txt \\
30-
--report-minimizer-data \\
31-
--use-names \\
32-
--memory-mapping \\
3330
--log ${meta.id}_kraken.log \\
3431
--output ${meta.id}_kraken_output.txt \\
3532
${filtered_fasta}

0 commit comments

Comments
 (0)