This code will check if samples have all 0s and tell the user that they should remove it.
Refactor pre_process to start out with the worst return and add values if they get to that point in the workflow. If a sample has all 0s it will return early so the error is not thrown.
in edgeR if an sample has all 02 then an error is thrown.
https://github.com/nf-core/smrnaseq/issues/134
This code will check if samples have all 0s and tell the user that they should remove it.
Refactor pre_process to start out with the worst return and add values if they get to that point in the workflow. If a sample has all 0s it will return early so the error is not thrown.