benchling_sdk.services.v2.stable.aa_sequence_service module¶

class AaSequenceService¶

Bases: benchling_sdk.services.v2.base_service.BaseService

AA Sequences.

AA Sequences are the working units of cells that make everything run (they help make structures, catalyze reactions and allow for signaling - a kind of internal cell communication). On Benchling, these are comprised of a string of amino acids and collections of other attributes, such as annotations. See https://benchling.com/api/reference#/AA%20Sequences

archive(aa_sequence_ids: Iterable[str], reason: EntityArchiveReason) → AaSequencesArchivalChange¶

Archive an AA Sequence.

See https://benchling.com/api/reference#/AA%20Sequences/archiveAASequences

auto_annotate(auto_annotate: AutoAnnotateAaSequences) → AsyncTaskLink¶

Auto-annotate AA sequences with matching features from specified Feature Libraries.

See https://benchling.com/api/reference#/AA%20Sequences/autoAnnotateAaSequences

bulk_create(aa_sequences: Iterable[AaSequenceBulkCreate]) → AsyncTaskLink¶

Bulk create AA sequences.

See https://benchling.com/api/reference#/AA%20Sequences/bulkCreateAASequences

bulk_get(aa_sequence_ids: Iterable[str], returning: Optional[Iterable[str]] = None) → Optional[List[AaSequence]]¶

Bulk get AA sequences by ID.

See https://benchling.com/api/reference#/AA%20Sequences/bulkGetAASequences

bulk_update(aa_sequences: Iterable[AaSequenceBulkUpdate]) → AsyncTaskLink¶

Bulk update AA sequences.

See https://benchling.com/api/reference#/AA%20Sequences/bulkUpdateAASequences

bulk_upsert(body: AaSequencesBulkUpsertRequest, returning: Optional[Iterable[str]] = None) → AsyncTaskLink¶

Bulk create or update AA sequences.

See https://benchling.com/api/reference#/AA%20Sequences/bulkUpsertAASequences

create(aa_sequence: AaSequenceCreate) → AaSequence¶

Create an AA Sequence.

See https://benchling.com/api/reference#/AA%20Sequences/createAASequence

get_by_id(aa_sequence_id: str, returning: Optional[Iterable[str]] = None) → AaSequence¶

Get an AA Sequence.

See https://benchling.com/api/reference#/AA%20Sequences/getAASequence

list(modified_at: Optional[str] = None, name: Optional[str] = None, amino_acids: Optional[str] = None, folder_id: Optional[str] = None, mentioned_in: Optional[List[str]] = None, project_id: Optional[str] = None, registry_id: Optional[str] = None, schema_id: Optional[str] = None, archive_reason: Optional[str] = None, mentions: Optional[List[str]] = None, ids: Optional[Iterable[str]] = None, entity_registry_ids_any_of: Optional[Iterable[str]] = None, name_includes: Optional[str] = None, names_any_of: Optional[Iterable[str]] = None, names_any_of_case_sensitive: Optional[Iterable[str]] = None, schema_fields: Optional[Dict[str, Any]] = None, creator_ids: Optional[Iterable[str]] = None, sort: Optional[Union[str, ListAASequencesSort]] = None, page_size: Optional[int] = None, author_idsany_of: Optional[Iterable[str]] = None, returning: Optional[Iterable[str]] = None) → PageIterator[AaSequence]¶

List AA Sequences.

See https://benchling.com/api/reference#/AA%20Sequences/listAASequences

unarchive(aa_sequence_ids: Iterable[str]) → AaSequencesArchivalChange¶

Unarchive an AA Sequence.

See https://benchling.com/api/reference#/AA%20Sequences/unarchiveAASequences

update(aa_sequence_id: str, aa_sequence: AaSequenceUpdate) → AaSequence¶

Update an AA Sequence.

See https://benchling.com/api/reference#/AA%20Sequences/updateAASequence

upsert(entity_registry_id: str, aa_sequence: AaSequenceUpsert) → AaSequence¶

Create or modify an Amino Acid Sequence.

See https://benchling.com/api/reference#/AA%20Sequences/upsertAaSequence