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

block clustering

parent 66644725
Branches
No related tags found
No related merge requests found
...@@ -32,7 +32,10 @@ workflow { ...@@ -32,7 +32,10 @@ workflow {
MERGEKMER(FASTKMERS.out.csv.groupTuple()) MERGEKMER(FASTKMERS.out.csv.groupTuple())
COLLATEKMER(MERGEKMER.out.csv.map{it -> [it[0].specie, it[1]] }.groupTuple()) COLLATEKMER(MERGEKMER.out.csv.map{it -> [it[0].specie, it[1]] }.groupTuple())
KMERCLUST_LOAD(COLLATEKMER.out.csv, params_csv.collect()) KMERCLUST_LOAD(COLLATEKMER.out.csv, params_csv.collect())
KMERCLUST(Channel.of(1..params.bootstrap).combine(KMERCLUST_LOAD.out.rdata)) /*
KMERCLUST(KMERCLUST_LOAD.out.rdata)
KMERCLUST_BOOT(Channel.of(1..params.bootstrap).combine(KMERCLUST_LOAD.out.rdata))
KMERCLUST_MERGE(KMERCLUST.out.rdata.groupTuple()) KMERCLUST_MERGE(KMERCLUST.out.rdata.groupTuple())
KMERCLUST_PLOT(KMERCLUST_MERGE.out.rdata.mix(KMERCLUST_LOAD.out.rdata).groupTuple()) KMERCLUST_PLOT(KMERCLUST_MERGE.out.rdata.mix(KMERCLUST_LOAD.out.rdata).groupTuple())
*/
} }
...@@ -2,7 +2,7 @@ process KMERCLUST_LOAD { ...@@ -2,7 +2,7 @@ process KMERCLUST_LOAD {
tag "$specie" tag "$specie"
label 'big_mem_mono_cpus' label 'big_mem_mono_cpus'
container "lbmc/kmerclust:0.0.3" container "lbmc/kmerclust:0.0.4"
input: input:
tuple val(specie), path(csv) tuple val(specie), path(csv)
...@@ -19,7 +19,7 @@ process KMERCLUST_LOAD { ...@@ -19,7 +19,7 @@ process KMERCLUST_LOAD {
cat <<-END_VERSIONS > versions.yml cat <<-END_VERSIONS > versions.yml
"${task.process}": "${task.process}":
Rkmerclust: 0.0.3 Rkmerclust: 0.0.4
END_VERSIONS END_VERSIONS
""" """
} }
...@@ -28,7 +28,7 @@ process KMERCLUST_BOOT { ...@@ -28,7 +28,7 @@ process KMERCLUST_BOOT {
tag "$specie" tag "$specie"
label 'big_mem_multi_cpus' label 'big_mem_multi_cpus'
container "lbmc/kmerclust:0.0.3" container "lbmc/kmerclust:0.0.4"
publishDir "results/${params.kmer_size}/${specie}/", mode: 'copy' publishDir "results/${params.kmer_size}/${specie}/", mode: 'copy'
input: input:
...@@ -45,7 +45,7 @@ process KMERCLUST_BOOT { ...@@ -45,7 +45,7 @@ process KMERCLUST_BOOT {
cat <<-END_VERSIONS > versions.yml cat <<-END_VERSIONS > versions.yml
"${task.process}": "${task.process}":
Rkmerclust: 0.0.3 Rkmerclust: 0.0.4
END_VERSIONS END_VERSIONS
""" """
} }
...@@ -54,7 +54,7 @@ process KMERCLUST { ...@@ -54,7 +54,7 @@ process KMERCLUST {
tag "$specie" tag "$specie"
label 'big_mem_multi_cpus' label 'big_mem_multi_cpus'
container "lbmc/kmerclust:0.0.3" container "lbmc/kmerclust:0.0.4"
publishDir "results/${params.kmer_size}/${specie}/", mode: 'copy' publishDir "results/${params.kmer_size}/${specie}/", mode: 'copy'
input: input:
...@@ -71,7 +71,7 @@ process KMERCLUST { ...@@ -71,7 +71,7 @@ process KMERCLUST {
cat <<-END_VERSIONS > versions.yml cat <<-END_VERSIONS > versions.yml
"${task.process}": "${task.process}":
Rkmerclust: 0.0.3 Rkmerclust: 0.0.4
END_VERSIONS END_VERSIONS
""" """
} }
...@@ -80,7 +80,7 @@ process KMERCLUST_MERGE { ...@@ -80,7 +80,7 @@ process KMERCLUST_MERGE {
tag "$specie" tag "$specie"
label 'big_mem_mono_cpus' label 'big_mem_mono_cpus'
container "lbmc/kmerclust:0.0.3" container "lbmc/kmerclust:0.0.4"
publishDir "results/${params.kmer_size}/${specie}/", mode: 'copy' publishDir "results/${params.kmer_size}/${specie}/", mode: 'copy'
input: input:
...@@ -97,7 +97,7 @@ process KMERCLUST_MERGE { ...@@ -97,7 +97,7 @@ process KMERCLUST_MERGE {
cat <<-END_VERSIONS > versions.yml cat <<-END_VERSIONS > versions.yml
"${task.process}": "${task.process}":
Rkmerclust: 0.0.3 Rkmerclust: 0.0.4
END_VERSIONS END_VERSIONS
""" """
} }
...@@ -106,7 +106,7 @@ process KMERCLUST_PLOT { ...@@ -106,7 +106,7 @@ process KMERCLUST_PLOT {
tag "$specie" tag "$specie"
label 'big_mem_mono_cpus' label 'big_mem_mono_cpus'
container "lbmc/kmerclust:0.0.3" container "lbmc/kmerclust:0.0.4"
publishDir "results/${params.kmer_size}/${specie}/", mode: 'copy' publishDir "results/${params.kmer_size}/${specie}/", mode: 'copy'
input: input:
...@@ -123,7 +123,7 @@ process KMERCLUST_PLOT { ...@@ -123,7 +123,7 @@ process KMERCLUST_PLOT {
cat <<-END_VERSIONS > versions.yml cat <<-END_VERSIONS > versions.yml
"${task.process}": "${task.process}":
Rkmerclust: 0.0.3 Rkmerclust: 0.0.4
END_VERSIONS END_VERSIONS
""" """
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment