diff --git a/modules/local/motifs/transfac_to_psem/main.nf b/modules/local/motifs/transfac_to_psem/main.nf index 9254f4a..6e16fb1 100644 --- a/modules/local/motifs/transfac_to_psem/main.nf +++ b/modules/local/motifs/transfac_to_psem/main.nf @@ -1,7 +1,7 @@ process TRANSFAC_TO_PSEM { tag "$meta.id" label "process_single" - + conda "conda-forge::pandas==1.5.2" container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? 'https://depot.galaxyproject.org/singularity/pandas:1.5.2': diff --git a/modules/local/motifs/transfac_to_psem/templates/convert.py b/modules/local/motifs/transfac_to_psem/templates/convert.py index 369ab43..95beb2a 100644 --- a/modules/local/motifs/transfac_to_psem/templates/convert.py +++ b/modules/local/motifs/transfac_to_psem/templates/convert.py @@ -55,7 +55,7 @@ def write_pwm(f, matrix, name, ma_id): np.log((other / other_content) * (active_content / matrix[:, i])) / lamda, np.log(active / matrix[:, i]) / lamda ) - + lnR0 = len(matrix) * slope + intercept decimals = 6 diff --git a/nextflow.config b/nextflow.config index 263709b..aa1d180 100644 --- a/nextflow.config +++ b/nextflow.config @@ -40,6 +40,7 @@ params { // References genome = null + motifs = null igenomes_base = 's3://ngi-igenomes/igenomes/' igenomes_ignore = false multiqc_config = null