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

Detecting annotation discrepancies #52

Closed fruce-ki closed 6 years ago

fruce-ki commented 6 years ago

In response to #49 .

Although users are explicitly instructed not to mix up annotations, it seems prudent to have RATs at least produce some warnings.

This can be done

fruce-ki commented 6 years ago

I've decided it is best to encourage good practices instead of trying to clean up after bad ones. Therefore, any mismatch of transcript IDs between the annotation and the quantifications will now result in aborting the run.

I remain unsure still whether to allow an explicit override. It would certainly simplify updating the unittests, as the testing dataset explicitly contains cases with inconsistent annotation that make the new abort condition cause all the tests to fail.