Skip to content
Snippets Groups Projects
Commit a2843225 authored by nservant's avatar nservant
Browse files

[MODULE] update cooltools

parent 7806177e
No related branches found
No related tags found
No related merge requests found
......@@ -250,7 +250,7 @@ process {
//********************************
// COMPARTMENTS
withName: 'CALL_COMPARTMENTS' {
withName: 'COOLTOOLS_EIGSCIS' {
publishDir = [
path: { "${params.outdir}/compartments/" },
saveAs: { filename -> filename.equals('versions.yml') ? null : filename },
......@@ -262,7 +262,7 @@ process {
//********************************
// TADS
withName: 'INSULATION' {
withName: 'COOLTOOS_INSULATION' {
publishDir = [
path: { "${params.outdir}/tads/insulation/" },
saveAs: { filename -> filename.equals('versions.yml') ? null : filename },
......
......@@ -2,7 +2,7 @@
* cooltools - call_compartments
*/
process CALL_COMPARTMENTS {
process COOLTOOLS_EIGSCIS {
label 'process_medium'
conda (params.enable_conda ? "bioconda::cooltools=0.5.1 bioconda::ucsc-bedgraphtobigwig=377" : null)
......
......@@ -2,7 +2,7 @@
* Cooltools - diamond-insulation
*/
process INSULATION {
process COOLER_INSULATION {
label 'process_medium'
conda (params.enable_conda ? "bioconda::cooltools=0.5.1" : null)
......@@ -14,7 +14,7 @@ process INSULATION {
tuple val(meta), path(cool)
output:
path("*tsv"), emit:results
path("*tsv"), emit:tsv
path("versions.yml"), emit:versions
script:
......
include { INSULATION } from '../../modules/local/cooltools/insulation'
include { COOLTOOLS_INSULATION } from '../../modules/local/cooltools/insulation'
include { HIC_FIND_TADS } from '../../modules/local/hicexplorer/hicFindTADs'
workflow TADS {
......@@ -11,9 +11,9 @@ workflow TADS {
ch_tads = Channel.empty()
if (params.tads_caller =~ 'insulation'){
INSULATION(cool)
ch_versions = ch_versions.mix(INSULATION.out.versions)
ch_tads = ch_tads.mix(INSULATION.out.results)
COOLTOOLS_INSULATION(cool)
ch_versions = ch_versions.mix(COOLTOOLS_INSULATION.out.versions)
ch_tads = ch_tads.mix(COOLTOOLS_INSULATION.out.tsv)
}
if (params.tads_caller =~ 'hicexplorer'){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment