gexijin / idepGolem

16 stars 11 forks source link

fix issue by checking when if sample has all 0s #561

Closed EricTulowetzke closed 12 months ago

EricTulowetzke commented 12 months ago

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.

EricTulowetzke commented 12 months ago

This should fix the #549 issue.

gexijin commented 12 months ago

Thanks Eric