/**
   * The integer passed here should be a sum of the VariantFilterOption ordinal values (each to the
   * power of 2). If the integer is null, then the defaultFilter value will be used.
   *
   * @param filter
   */
  public VariantFilterOptions(Integer filter) {

    if (filter == null) {
      filter = defaultFilter;
    }

    filterStore.set(filter);
    // this.filter = filter;
  }
 public boolean isEnabled(VariantFilterOption option) {
   return filterStore.isEnabled(option.index());
   // return (option.index() & filter) > 0;
 }
 public void disable(final int flag) {
   filterStore.disable(flag);
 }
 public void enable(final int flag) {
   filterStore.enable(flag);
   // filter |= flag;
 }