ribosomeprofiling/RFCommands

Error in reading cutadapt logs

Opened this issue · 0 comments

This bug is seen extremely rarely. So it is very unlikely that an average user will experience it.

In compile_step_stats.py, (for example line 26), we have statements such as

if reads_written <= 0:

these statements cause failure when there are literally 0 reads which can happen in extreme cases.

Action:
Go over the repo and revise such statements and change them to strict inequality

if reads_written < 0:

and test the system.