Open rhondene opened 1 week ago
I have just tried to handle division by 0 better, can you please clone the Bismark dev
branch and test it? Alternatively, would you mind sending the files you used in the example above so I can test it over here? Many thanks!
Hi @FelixKrueger,
There are cases where the
nucleotide_stats
does not generate the full list of nucleotide headers as expected by the bismark2report script. Below I post the source ode causing a unitialized error and potentially a division by error if nuc_exp=0.For now I can implement my own error handling in the pipeline I am running bismark in.
relevant bismark2report source code
ERROR
Traceback of the Error (abbreviated)
Data nucleotide_stats table that triggered the error: