docs: def parse_fasta(data):  # pragma: no cover
      """
      Load sequences in Fasta format.
  
      This generator function yields a Sequence object for each sequence record
      in a GFF3 file. Implementation stolen shamelessly from
      http://stackoverflow.com/a/7655072/459780.
      """
      name, seq = None, []
      for line in data:
          line = line.rstrip()
          if line.startswith('>'):
              if name:
                  yield Sequence(name, ''.join(seq))
              name, seq = line, []
          else:
              seq.append(line)
      if name:
          yield Sequence(name, ''.join(seq))