Skip to content
Snippets Groups Projects
Verified Commit a7d66307 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

fix collatekmer

parent f9892e16
No related branches found
No related tags found
No related merge requests found
......@@ -27,5 +27,5 @@ workflow {
FASTKMERS(SPLIT.out.fastq.transpose())
MERGEKMER(FASTKMERS.out.csv.groupTuple(size: 10))
MERGEKMER2(MERGEKMER.out.csv.groupTuple())
COLLATEKMER(MERGEKMER2.out.csv)
COLLATEKMER(MERGEKMER2.out.csv.map{it -> it[1]}.collect())
}
......@@ -28,12 +28,12 @@ process MERGEKMER {
process COLLATEKMER {
tag "$meta.id"
label 'big_mem_mono_cpus'
publishDir "results/${meta.specie}/${meta.sex}/${meta.read}/", mode: 'copy'
publishDir "results/", mode: 'copy'
container "lbmc/mergekmer:0.1.1"
input:
tuple val(meta), path(csv)
path(csv)
output:
tuple val(meta), path("*.csv"), emit: csv
......@@ -42,7 +42,7 @@ process COLLATEKMER {
script:
def args = task.ext.args ?: ''
"""
mergekmer --csv ${csv} --output ${meta.id}.csv --collate
mergekmer --csv ${csv} --output final.csv --collate
cat <<-END_VERSIONS > versions.yml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment