         end AS var_end,
         INTEGER(FLOOR(start / 5000)) AS bin,
         reference_bases,
+        alternate_bases,
+        is_variant_call,
       FROM ( FLATTEN((
         SELECT
           call.call_set_name,

 SELECT
  vars.call_set_name AS sample_name,
  ref.chromosome AS chromosome,
  ref.start AS start,
  vars.var_end AS end,
  ref.reference_bases AS reference_bases,
FROM (
  SELECT  
    CONCAT('chr', Chr) AS chromosome,

        var_start,
        var_end,
        bin,
        reference_bases,
        alternate_bases,
        is_variant_call ) AS vars
ON 
  ref.chromosome = vars.chromosome
  AND ref.start = vars.var_start
ORDER BY 
  start,
  end  
