code: def encode_bio_sequence(
      fname: str, file_type: str = "fasta", letters: str = "ATCGN"
  ) -> np.ndarray:
      """
      Loads a sequence file and returns an array of one-hot sequences.
  
      Parameters
      ----------
      fname: str
          Filename of fasta file.
      file_type: str, optional (default "fasta")
          The type of file encoding to process, e.g. fasta or fastq, this
          is passed to Biopython.SeqIO.parse.
      letters: str, optional (default "ATCGN")
          The set of letters that the sequences consist of, e.g. ATCG.
  
      Returns
      -------
      np.ndarray
          A numpy array of shape `(N_sequences, N_letters, sequence_length, 1)`.
  
      Notes
      -----
      This function requires BioPython to be installed.
      """
      try:
          from Bio import SeqIO
      except ModuleNotFoundError:
          raise ImportError(
              "This function requires BioPython to be installed."
          )
  
      sequences = SeqIO.parse(fname, file_type)
      return seq_one_hot_encode(sequences, letters)
  
imports: from typing import Dict, Iterable, Union
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: encode_bio_sequence(fname, file_type, letters) and returns: seq_one_hot_encode