skbio.sequence.genetic_code

skbio.sequence.genetic_code(*id)[source]

skbio.sequence.GeneticCode factory given an optional id.

Parameters:

id : int or str optional

Indicates the skbio.sequence.GeneticCode to return. Must be in the range of [1, 23] inclusive. If id is not provided, the Standard Nuclear genetic code will be returned.

Returns:

skbio.sequence.GeneticCode