code: def generate_nucmer_jobs(
      filenames,
      outdir=".",
      nucmer_exe=pyani_config.NUCMER_DEFAULT,
      filter_exe=pyani_config.FILTER_DEFAULT,
      maxmatch=False,
      jobprefix="ANINUCmer",
  ):
      
      ncmds, fcmds = generate_nucmer_commands(
          filenames, outdir, nucmer_exe, filter_exe, maxmatch
      )
      joblist = []
      for idx, ncmd in enumerate(ncmds):
          njob = pyani_jobs.Job("%s_%06d-n" % (jobprefix, idx), ncmd)
          fjob = pyani_jobs.Job("%s_%06d-f" % (jobprefix, idx), fcmds[idx])
          fjob.add_dependency(njob)
          # joblist.append(njob)  # not required: dependency in fjob
          joblist.append(fjob)
      return joblist
docs: Return a list of Jobs describing NUCmer command-lines for ANIm
  
      - filenames - a list of paths to input FASTA files
      - outdir - path to output directory
      - nucmer_exe - location of the nucmer binary
      - maxmatch - Boolean flag indicating to use NUCmer's -maxmatch option
  
      Loop over all FASTA files, generating Jobs describing NUCmer command lines
      for each pairwise comparison.