code: public static void writeColumnHeader(final List<VcfSample> samples, final PrintWriter writer) {
          checkNotNull(samples);
          checkNotNull(writer);
  
          StringBuilder sb = new StringBuilder("#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILTER\tINFO");
          if (!samples.isEmpty()) {
              sb.append("\tFORMAT");
          }
          for (VcfSample sample : samples) {
              sb.append("\t");
              sb.append(sample.getId());
          }
          writer.println(sb.toString());
      }
docs: Write VCF column header with the specified print writer.
  
  @param samples zero or more VCF samples, must not be null
  @param writer print writer to write VCF with, must not be null