diff --git a/modules/local/hicpro/build_contact_maps.nf b/modules/local/hicpro/build_contact_maps.nf
index 0a9a35b0647a224ccaad469c1a00c5b7775ca9b2..1ba3550d274e6f9327a895cde99dc11a4ab0ab70 100644
--- a/modules/local/hicpro/build_contact_maps.nf
+++ b/modules/local/hicpro/build_contact_maps.nf
@@ -1,7 +1,12 @@
 process BUILD_CONTACT_MAPS{
   tag "$meta.id - $res"
   label 'process_highmem'
-  
+
+  conda (params.enable_conda ? "conda-forge::sed=4.7" : null)
+  container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
+      'https://depot.galaxyproject.org/singularity/ubuntu:20.04' :
+      'ubuntu:20.04' }"
+
   input:
   tuple val(meta), path(vpairs), val(res) 
   path chrsize 
diff --git a/modules/local/hicpro/combine_mates.nf b/modules/local/hicpro/combine_mates.nf
index 00a88c8aec7666beddc1ef12cf7a7d3a9004de97..322db8165e0e7a7966332059b903f32d862eba2b 100644
--- a/modules/local/hicpro/combine_mates.nf
+++ b/modules/local/hicpro/combine_mates.nf
@@ -2,8 +2,11 @@ process COMBINE_MATES {
   tag "$prefix"
   label 'process_low'
 
-  conda (params.enable_conda ? "conda-forge::python=3.7.6  bioconda::pysam=0.15.4" : null)
-
+  conda (params.enable_conda ? "conda-forge::python=3.9  bioconda::pysam=0.19.0" : null)
+  container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
+    'https://depot.galaxyproject.org/singularity/mulled-v2-c6ff206325681cbb9c9ef890bb8de554172c0483:713df51cd897ceb893b9a6e6420f527d83c2ed95-0' : 
+    'quay.io/biocontainers/mulled-v2-c6ff206325681cbb9c9ef890bb8de554172c0483:713df51cd897ceb893b9a6e6420f527d83c2ed95-0'}"
+ 
   input:
   tuple val(meta), path(bam)
 
diff --git a/modules/local/hicpro/dnase_mapping_stats.nf b/modules/local/hicpro/dnase_mapping_stats.nf
index aa78141665832af8214b574e133e3b396d235c5d..20521034f5aa22c0654d89ca0f7a497258e89900 100644
--- a/modules/local/hicpro/dnase_mapping_stats.nf
+++ b/modules/local/hicpro/dnase_mapping_stats.nf
@@ -2,6 +2,12 @@ process MAPPING_STATS_DNASE {
   tag "$sample = $bam"
   label 'process_medium'
 
+  conda (params.enable_conda ? "bioconda::samtools=1.15.1" : null)
+  container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
+      'https://depot.galaxyproject.org/singularity/samtools:1.15.1--h1170115_0' :
+      'quay.io/biocontainers/samtools:1.15.1--h1170115_0' }"
+
+
   input:
   tuple val(meta), path(bam) 
 
diff --git a/modules/local/hicpro/get_restriction_fragments.nf b/modules/local/hicpro/get_restriction_fragments.nf
index 63b08f2cfc276e5d1326317791fad8df60abda6c..c35e49cb3ccd9bb1790c43e8dfd5558adba46dce 100644
--- a/modules/local/hicpro/get_restriction_fragments.nf
+++ b/modules/local/hicpro/get_restriction_fragments.nf
@@ -2,7 +2,10 @@ process GET_RESTRICTION_FRAGMENTS {
   tag "$res_site"
   label 'process_low'
 
-  conda (params.enable_conda ? "conda-forge::python=3.7.6  conda-forge::numpy=1.18.1" : null)
+  conda (params.enable_conda ? "conda-forge::python=3.9 conda-forge::numpy=1.22.3" : null)
+  container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
+    'https://depot.galaxyproject.org/singularity/mulled-v2-c6ff206325681cbb9c9ef890bb8de554172c0483:713df51cd897ceb893b9a6e6420f527d83c2ed95-0' :
+    'quay.io/biocontainers/mulled-v2-c6ff206325681cbb9c9ef890bb8de554172c0483:713df51cd897ceb893b9a6e6420f527d83c2ed95-0'}"
 
   input:
   path fasta 
diff --git a/modules/local/hicpro/get_valid_interaction.nf b/modules/local/hicpro/get_valid_interaction.nf
index 1d271a4087ff86a9bab2266447c2f6c27bbfd520..4942eacaff836830d34ae6d1f2b6589fb9bee789 100644
--- a/modules/local/hicpro/get_valid_interaction.nf
+++ b/modules/local/hicpro/get_valid_interaction.nf
@@ -2,7 +2,10 @@ process GET_VALID_INTERACTION {
   tag "$meta.id"
   label 'process_low'
 
-  conda (params.enable_conda ? "conda-forge::python=3.7.6  bioconda::pysam=0.15.4" : null)
+  conda (params.enable_conda ? "conda-forge::python=3.9  bioconda::pysam=0.19.0 bioconda::bx-python=0.8.13" : null)
+    container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
+    'https://depot.galaxyproject.org/singularity/mulled-v2-c6ff206325681cbb9c9ef890bb8de554172c0483:713df51cd897ceb893b9a6e6420f527d83c2ed95-0' :
+    'quay.io/biocontainers/mulled-v2-c6ff206325681cbb9c9ef890bb8de554172c0483:713df51cd897ceb893b9a6e6420f527d83c2ed95-0'}"
 
   input:
   tuple val(meta), path(bam) 
diff --git a/modules/local/hicpro/get_valid_interaction_dnase.nf b/modules/local/hicpro/get_valid_interaction_dnase.nf
index c43bf3f1f3c51b084170f3680aa3313efcb3e70c..f34433b3576cd4b44e9f203fde26dc50fb274044 100644
--- a/modules/local/hicpro/get_valid_interaction_dnase.nf
+++ b/modules/local/hicpro/get_valid_interaction_dnase.nf
@@ -2,8 +2,11 @@ process GET_VALID_INTERACTION_DNASE {
   tag "$meta.id"
   label 'process_low'
 
-  conda (params.enable_conda ? "conda-forge::python=3.7.6  bioconda::pysam=0.15.4" : null)
-
+  conda (params.enable_conda ? "conda-forge::python=3.9  bioconda::pysam=0.19.0 bioconda::bx-python=0.8.13" : null)
+  container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
+    'https://depot.galaxyproject.org/singularity/mulled-v2-c6ff206325681cbb9c9ef890bb8de554172c0483:713df51cd897ceb893b9a6e6420f527d83c2ed95-0' :
+    'quay.io/biocontainers/mulled-v2-c6ff206325681cbb9c9ef890bb8de554172c0483:713df51cd897ceb893b9a6e6420f527d83c2ed95-0'}"
+ 
   input:
   tuple val(meta), path(bam) 
 
diff --git a/modules/local/hicpro/merge_stats.nf b/modules/local/hicpro/merge_stats.nf
index c79afbcc3ecbb8eb1e89248fb03c9a8ce0c0b7d2..61f3fe2d99594da4c9e0062a34780746bd43ce02 100644
--- a/modules/local/hicpro/merge_stats.nf
+++ b/modules/local/hicpro/merge_stats.nf
@@ -1,7 +1,10 @@
 process MERGE_STATS {
   label 'process_low'
 
-  conda (params.enable_conda ? "conda-forge::python=3.7.6" : null)
+  conda (params.enable_conda ? "conda-forge::python=3.9" : null)
+   container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
+    'https://depot.galaxyproject.org/singularity/mulled-v2-c6ff206325681cbb9c9ef890bb8de554172c0483:713df51cd897ceb893b9a6e6420f527d83c2ed95-0' :
+    'quay.io/biocontainers/mulled-v2-c6ff206325681cbb9c9ef890bb8de554172c0483:713df51cd897ceb893b9a6e6420f527d83c2ed95-0'}" 
 
   input:
   tuple val(meta), path(fstat) 
diff --git a/modules/local/hicpro/run_ice.nf b/modules/local/hicpro/run_ice.nf
index ef7da6546cd1e903c6334a109e46bfe292146166..8fc35ec67debd6312a0f03777e25008a55a7d88c 100644
--- a/modules/local/hicpro/run_ice.nf
+++ b/modules/local/hicpro/run_ice.nf
@@ -2,8 +2,11 @@ process ICE_NORMALIZATION{
   tag "$rmaps"
   label 'process_highmem'
 
-  conda (params.enable_conda ? "conda-forge::python=3.7.6  bioconda::iced=0.5.6" : null)
-
+  conda (params.enable_conda ? "conda-forge::python=3.9  bioconda::iced=0.5.10 conda-forge::numpy=1.22.3" : null)
+    container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
+    'https://depot.galaxyproject.org/singularity/mulled-v2-c6ff206325681cbb9c9ef890bb8de554172c0483:713df51cd897ceb893b9a6e6420f527d83c2ed95-0' :
+    'quay.io/biocontainers/mulled-v2-c6ff206325681cbb9c9ef890bb8de554172c0483:713df51cd897ceb893b9a6e6420f527d83c2ed95-0'}"
+ 
   input:
   tuple val(meta), val(res), path(rmaps), path(bed) 
 
diff --git a/modules/local/hicpro/trim_reads.nf b/modules/local/hicpro/trim_reads.nf
index 19edff14c18ccc17fe5804ced19158ab7429bf17..b54811f1368c5ba69f8b7aa38985da478eb28d3b 100644
--- a/modules/local/hicpro/trim_reads.nf
+++ b/modules/local/hicpro/trim_reads.nf
@@ -2,6 +2,11 @@ process TRIM_READS {
   tag "$meta.id"
   label 'process_low'
 
+  conda (params.enable_conda ? "conda-forge::sed=4.7" : null)
+  container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
+      'https://depot.galaxyproject.org/singularity/ubuntu:20.04' :
+      'ubuntu:20.04' }"
+  
   input:
   tuple val(meta), path(reads) 
   val(motif)