For AI agents: a documentation index is available at the root level at /llms.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
dnaSequenceIdslist of stringsRequired
IDs of DNA sequences to codon-optimize.
folderIdstringRequired
ID of the folder in which the optimized sequences will be saved.
avoidedCutsiteEnzymeIdslist of stringsOptional
List of enzyme IDs whose recognition sites will be avoided when creating the optimized sequence.
codonUsageTableIdstringOptional
ID of the codon usage table representing the target organism.
gcContentenumOptionalDefaults to ANY
The amount of GC content in the optimized sequence. LOW is defined as below 0.33, MEDIUM as 0.33-0.66, and HIGH as above 0.66. If neither gcContent nor gcContentRange is specified, the optimization will default to ANY (0-1). Cannot be specified together with gcContentRange.
Allowed values:
gcContentRangeobjectOptional
Custom GC content range for the optimized sequence, specified as decimal values between 0 and 1. The maximum must be greater than the minimum. Cannot be specified together with gcContent.
hairpinParametersobjectOptional
These parameters are applied in the AvoidHairpins specification in DNAChisel. If hairpinParameters is not specified, hairpins will not be avoided.
methodenumOptionalDefaults to MATCH_CODON_USAGE
The codon optimization algorithm to use. Requires codonUsageTableId to be specified. MATCH_CODON_USAGE selects codons probabilistically based on the organism’s codon usage frequencies. USE_BEST_CODON always selects the most frequently used codon for each amino acid.
Allowed values:
reducedPatternslist of objectsOptional
List of patterns to avoid when creating the optimized sequence, on the coding strand only.
schemaIdstringOptional
ID of the optimized DNA sequences' schemas
shouldDepleteUridinebooleanOptionalDefaults to false
If not specified, the optimization will default to false, and mRNA uridine depletion will not be performed.
Response
This endpoint launches a long-running task and returns the Task ID of the launched task.
When successful, the task has an empty response.