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

main.nf: merge sample by sample and r1 r2

parent 3ce8e9b0
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ workflow {
SUBSAMPLE_READ(fastq.r1.mix(fastq.r2))
SPLIT(SUBSAMPLE_READ.out.fastq)
FASTKMERS(SPLIT.out.fastq.transpose())
MERGEKMER(FASTKMERS.out.csv.groupTuple())
MERGEKMER(FASTKMERS.out.csv.map{it -> [[it[0][0], it[0][1], it[0][2]], it[1]]}.groupTuple())
COLLATEKMER(MERGEKMER.out.csv.map{it -> [it[0].specie, it[1]] }.groupTuple())
KMERCLUST_LOAD(COLLATEKMER.out.csv, params_csv.collect())
KMERCLUST_BOOT(Channel.of(1..params.bootstrap).combine(KMERCLUST_LOAD.out.rdata))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment