getzlab / rnaseqc

Fast, efficient RNA-Seq metrics for quality control and process optimization
Other
150 stars 19 forks source link

More 5'/3' bias edge cases #79

Open kachulis opened 1 year ago

kachulis commented 1 year ago

Similar to #74 (which has been fixed for the case of only 1 gene being used). The same issue also happens when the number of genes used in the bias calculation is less than 5, the calculation will read past the end of the ratios vector, giving undefined behavior.

agraubert commented 1 year ago

Thanks for pointing this out! I've opened a PR to pull in your fix, and I'll try to review and test when I get a chance #82