Created
July 13, 2022 07:51
-
-
Save kentwait/8121a33fa5c2862f54a9b9b2beebe96d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
three_to_one_aa = { | |
'Ala': 'A', | |
'Arg': 'R', | |
'Asn': 'N', | |
'Asp': 'D', | |
'Asx': 'B', | |
'Cys': 'C', | |
'Glu': 'E', | |
'Gln': 'Q', | |
'Glx': 'Z', | |
'Gly': 'G', | |
'His': 'H', | |
'Ile': 'I', | |
'Leu': 'L', | |
'Lys': 'K', | |
'Met': 'M', | |
'Phe': 'F', | |
'Pro': 'P', | |
'Ser': 'S', | |
'Thr': 'T', | |
'Trp': 'W', | |
'Tyr': 'Y', | |
'Val': 'V', | |
} | |
one_to_three_aa = {v: k for k,v in three_to_one_aa.items()} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment