def process_fasta(fasta, **kwargs):
logging.info("<STR_LIT>")<EOL>inputfasta = handle_compressed_input(fasta, file_type="<STR_LIT>")<EOL>return ut.reduce_memory_usage(pd.DataFrame(<EOL>data=[len(rec) for rec in SeqIO.parse(inputfasta, "<STR_LIT>")],<EOL>columns=["<STR_LIT>"]<EOL>).dropna())<EOL>
Combine metrics extracted from a fasta file.