Skip to navigation

Create and register proteins and components

Beta

Create and register proteins and their component parts (domains, chains, and variable pairs)

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

EARLY-ACCESSstringOptional

Set to true to access beta operations via /api/v3.

Request

Create and register proteins along with their component domains, chains, and variable pairs.

Does not create plasmids.

Optional/Required Inputs

Any components that are not provided in the input will be derived from other input components when possible. For example, AA domains are not necessary if DNA domains are provided. See the documentation on the proteinCreateInputs parameter for more detail. Here are some example ways to provide the inputs:

  • provide all domains as DNA
  • provide all domains as AA
  • provide constant domains as AA and variable domains using variable pairs

Scale

A single call to this API may include up to:

  • 1,000 antibodies
  • 4,000 AA chains
  • 4,000 DNA chains
  • 14,000 AA domains
  • 14,000 DNA domains
  • 2,000 DNA pairs
  • 2,000 AA pairs
  • 100 aliases per protein

Large requests may take several hours to complete. When results are ready, they’ll be aggregated into a Benchling.Dataset object, and added to the folder and entry referenced in the input.

Error Handling and Partial Success

All inputs are validated before any registrations begin. If any input fails validation, no proteins are registered. In rare cases (e.g. concurrent manual data changes during a running task), a partial success is possible.

folderIdstringRequired
The ID of the folder in which the new entities should be created.
newComponentConfigobjectRequired
Schema IDs for new component entities created during this request. Applies to all rows in the request.
proteinCreateInputslist of anyRequired
proteinSchemaIdstringRequired
The schema ID for the protein entity type.
entryIdstringOptional
The ID of the notebook entry into which the creation results will be embedded upon completion. If omitted, no results are written to a notebook entry.
germlineConfigslist of objects or nullOptional
A list of germline configs indicating the germline with which to annotate each domain key. This applies to all rows in the request.
namingStrategyenumOptional

Strategy to use for labeling the proteins in the registry. Applies to all proteins in the request, and must be enabled on the protein schema. NEW_IDS, IDS_FROM_NAMES, SET_FROM_NAME_PARTS, and KEEP_NAMES require a name on every protein. DELETE_NAMES, REPLACE_NAMES_FROM_PARTS, and REPLACE_ID_AND_NAME_FROM_PARTS do not accept names. If omitted, REPLACE_NAMES_FROM_PARTS is used when the protein schema has a name template, and DELETE_NAMES is used otherwise. Components are not affected.

translationParametersobjectOptional
The translation parameters to use when creating AA sequences. Required if the request contains DNA sequences. May be omitted if the request contains only AA sequences.

Response

Job status details
pollingUristringformat: "uri"
A URL to poll for the status of the task.
taskIdstring

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error