get_code#
- get_code(code_id: int = 1, new_type: bool = False)#
returns the genetic code
- Parameters:
- code_id
genetic code identifier, name, number or string(number), defaults to standard genetic code
- new_type
if True, the returned genetic code object will be the new type. The default will be changed to True in 2024.12. Support for the old style will be removed as of 2025.6.