diff --git a/modules/local/dist_decay.nf b/modules/local/dist_decay.nf deleted file mode 100644 index e5bc660e9f8257b4152ee3782ef23b58a6665c06..0000000000000000000000000000000000000000 --- a/modules/local/dist_decay.nf +++ /dev/null @@ -1,29 +0,0 @@ -// Import generic module functions -include { initOptions; saveFiles; getSoftwareName } from './functions' - -params.options = [:] -options = initOptions(params.options) - -process dist_decay { - tag "$sample" - label 'process_medium' - publishDir "${params.outdir}/dist_decay", mode: 'copy' - - when: - !params.skip_dist_decay - - input: - tuple val(sample), val(res), path(maps), val(r) - - output: - path("*_distcount.txt") - path("*.png") - - - script: - """ - hicPlotDistVsCounts --matrices ${maps} \ - --plotFile ${maps.baseName}_distcount.png \ - --outFileData ${maps.baseName}_distcount.txt - """ -} diff --git a/modules/local/hicexplorer/hicFindTADs.nf b/modules/local/hicexplorer/hicFindTADs.nf index 676e8e75bd63624a8cc88f5427900984a444a4e3..2bfca6510f3b74c90de54e4a3d59f83ec8126ebe 100644 --- a/modules/local/hicexplorer/hicFindTADs.nf +++ b/modules/local/hicexplorer/hicFindTADs.nf @@ -5,6 +5,11 @@ process HIC_FIND_TADS { label 'process_medium' + conda (params.enable_conda ? "bioconda::hicexplorer=3.7.2" : null) + container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? + 'https://depot.galaxyproject.org/singularity/hicexplorer:3.7.2--pyhdfd78af_1' : + 'quay.io/biocontainers/hicexplorer:3.7.2--pyhdfd78af_1' }" + input: tuple val(meta), path(cool) diff --git a/modules/local/hicexplorer/hicPlotDistVsCounts.nf b/modules/local/hicexplorer/hicPlotDistVsCounts.nf index 41041eb8d9debba80096164db9a0f938dd5086c1..ab7754f243f2a5b04d445e68134bd4d49cebe936 100644 --- a/modules/local/hicexplorer/hicPlotDistVsCounts.nf +++ b/modules/local/hicexplorer/hicPlotDistVsCounts.nf @@ -5,6 +5,11 @@ process HIC_PLOT_DIST_VS_COUNTS { label 'process_medium' + conda (params.enable_conda ? "bioconda::hicexplorer=3.7.2" : null) + container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? + 'https://depot.galaxyproject.org/singularity/hicexplorer:3.7.2--pyhdfd78af_1' : + 'quay.io/biocontainers/hicexplorer:3.7.2--pyhdfd78af_1' }" + input: tuple val(meta), path(cool) diff --git a/modules/local/tads_hicexplorer.nf b/modules/local/tads_hicexplorer.nf deleted file mode 100644 index 0bb4088798064ef3937fb8b06473fd74e7b6225b..0000000000000000000000000000000000000000 --- a/modules/local/tads_hicexplorer.nf +++ /dev/null @@ -1,28 +0,0 @@ -// Import generic module functions -include { initOptions; saveFiles; getSoftwareName } from './functions' - -params.options = [:] -options = initOptions(params.options) - -process tads_hicexplorer { - tag "$sample - $res" - label 'process_medium' - publishDir "${params.outdir}/tads/hicexplorer", mode: 'copy' - - when: - !params.skip_tads && params.tads_caller =~ 'hicexplorer' - - input: - tuple val(sample), val(res), path(cool), val(r) - - output: - path("*.{bed,bedgraph,gff}"), emit:hicexplorer_tads - - script: - """ - hicFindTADs --matrix ${cool} \ - --outPrefix tad \ - --correctForMultipleTesting fdr \ - --numberOfProcessors ${task.cpus} - """ -}