Convert 3-letters amino acid code to 1-letter code with awk

Field separator for input file can be “,” or “ “.

Usage:

./three_to_one_letter_code_aa.awk sequence_file.txt
If you want to ask me a question or leave me a message add @bougui505 in your comment.