Available genetic codes¶
In cases where a cogent3 object method has a gc argument, you can just use the number under “Code ID” column.
For example:
We specify the genetic code, and that codons that are incomplete as they contain a gap, are converted to ?.
Getting a genetic code with get_code()¶
This function can be used directly to get a genetic code. We will get the code with ID 4.