code: def _ready_gzip_fastq(in_files, data, require_bgzip=False):
      
      all_gzipped = all([not x or x.endswith(".gz") for x in in_files])
      if require_bgzip and all_gzipped:
          all_gzipped = all([not x or not _check_gzipped_input(x, data)[0] for x in in_files])
      needs_convert = dd.get_quality_format(data).lower() == "illumina"
      needs_trim = dd.get_trim_ends(data)
      do_splitting = dd.get_align_split_size(data) is not False
      return (all_gzipped and not needs_convert and not do_splitting and
              not objectstore.is_remote(in_files[0]) and not needs_trim and not get_downsample_params(data))
docs: Check if we have gzipped fastq and don't need format conversion or splitting.
  
      Avoid forcing bgzip if we don't need indexed files.