bartongroup / RATS

Relative Abundance of Transcripts: An R package for the detection of Differential Transcript isoform Usage.
MIT License
32 stars 1 forks source link

RATs crashes if no genes are eligible for testing #35

Closed fruce-ki closed 6 years ago

fruce-ki commented 6 years ago

Presumably the same will happen if no transcripts are found eligible for testing. The issue occurred while using a trimmed annotation containing a single gene.

The error is due to an empty table being used (no rows matching eligibility criteria) where it is not allowed.

Albeit unlikely to occur in standard usage, it is a valid outcome, therefore should get fixed.