docs: def write_sequences_to_fasta(path, seqs):
      """
      Create a FASTA file listing the given sequences.
  
      Arguments
      =========
      path: str or pathlib.Path
          The name of the file to create.
  
      seqs: dict
          A mapping of names to sequences, which can be either protein or DNA.
      """
      from Bio import SeqIO
      from Bio.Seq import Seq
      from Bio.SeqRecord import SeqRecord
  
      path = Path(path)
      records = []
  
      for id, seq in seqs.items():
          record = SeqRecord(Seq(seq), id=id, description='')
          records.append(record)
  
      SeqIO.write(records, str(path), 'fasta')