code: def process_fasta(fasta, **kwargs):
      
      logging.info("Nanoget: Starting to collect statistics from a fasta file.")
      inputfasta = handle_compressed_input(fasta, file_type="fasta")
      return ut.reduce_memory_usage(pd.DataFrame(
          data=[len(rec) for rec in SeqIO.parse(inputfasta, "fasta")],
          columns=["lengths"]
      ).dropna())
docs: Combine metrics extracted from a fasta file.