Skip to content

Commit

Permalink
Editorconfig + Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
nictru committed Apr 29, 2024
1 parent dc8691d commit 761c1a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/local/motifs/transfac_to_psem/main.nf
Original file line number Diff line number Diff line change
@@ -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':
Expand Down
2 changes: 1 addition & 1 deletion modules/local/motifs/transfac_to_psem/templates/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ params {

// References
genome = null
motifs = null
igenomes_base = 's3://ngi-igenomes/igenomes/'
igenomes_ignore = false
multiqc_config = null
Expand Down

0 comments on commit 761c1a5

Please sign in to comment.