code: public static List<Variant> deNovoVariants(Member member, Iterator<Variant> variantIterator) {
          List<Variant> variantList = new ArrayList<>();
  
          while (variantIterator.hasNext()) {
              Variant variant = variantIterator.next();
  
              if (isDeNovoVariant(member, variant)) {
                  variantList.add(variant);
              }
          }
  
          return variantList;
      }
docs: Get all the de novo variants identified for the proband.
  
  @param member      Child proband.
  @param variantIterator Variant iterator.
  @return A list of variants.