hoffmangroup / segway

Application for semi-automated genomic annotation.
http://segway.hoffmanlab.org/
GNU General Public License v2.0
13 stars 7 forks source link

Segway/GMTK errors out when a track contains all equal values #104

Open EricR86 opened 7 years ago

EricR86 commented 7 years ago

Original report (BitBucket issue) by Eric Roberts (Bitbucket: ericr86, GitHub: ericr86).


GMTK reports an error of zero-variance as mentioned in Issue #103. For instance this can happen if one of the observation tracks is accidentally completely set to zero for all values.

It might be worth considering checking for this error earlier on, printing out a warning, or simply having a variance floor based on some other transformation such as a z-score (see PR #69).