maxplanck-ie / snakepipes

Customizable workflows based on snakemake and python for the analysis of NGS data
http://snakepipes.readthedocs.io
378 stars 85 forks source link

MACS2_peak_qc #1025

Open LeilyR opened 1 month ago

LeilyR commented 1 month ago

MACS2_peak_qc requires certain locale setting otherwise fails. Just to let you know if you want to add it in the shell script or somewhere.

katsikora commented 1 month ago

Hey Leily,

thanks for sharing this . Could you tell me more about it? This rule is 'just' doing simple bash operations on a couple of files. I would think it should work in any bash setting. What kind of issues did you encounter?

Best wishes,

Katarzyna

PS Nice to see you back here ;)

LeilyR commented 3 weeks ago

to be precise:

genomecov=`bc -l <<< "$peak_len/$genome_size"`
(standard_in) 1: syntax error

and that is because the number looks like this: "445/5,75996e+11"

both "e" and "," are the problem.