add query interface to gene families