change asserts to exceptions, made Locus base class for Gene and Transcript